[boot] Make sure the kernel entrypoint abi is sysv

Adding this now because I'm sure I'll forget later. Make sure to
annotate the entrypoint function pointer as `__attribute__((sysv_abi))`
so that it's not called via ms abi like the rest of the loader.
This commit is contained in:
Justin C. Miller
2020-05-16 18:44:35 -07:00
parent a6e4995963
commit 2adef874ee

View File

@@ -84,6 +84,6 @@ __attribute__((aligned(alignof(max_align_t))));
} // namespace args
using entrypoint = void (*)(args::header *);
using entrypoint = __attribute__((sysv_abi)) void (*)(args::header *);
} // namespace kernel