add basic exception model and context switching for aarch64
[lunaix-os.git] / lunaix-os / arch / aarch64 / LBuild
1
2 sources([
3     "boot/init.c",
4     "boot/kremap.c",
5     "boot/start.S"
6 ])
7
8 sources([
9     "exception/entries.S",
10     "exception/context.S",
11     "exception/handler.c"
12 ])
13
14 compile_opts([
15     "-mlittle-endian",
16     "-mgeneral-regs-only",
17     "-mabi=lp64",
18     "-mno-omit-leaf-frame-pointer"
19 ])