mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[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:
@@ -84,6 +84,6 @@ __attribute__((aligned(alignof(max_align_t))));
|
|||||||
|
|
||||||
} // namespace args
|
} // namespace args
|
||||||
|
|
||||||
using entrypoint = void (*)(args::header *);
|
using entrypoint = __attribute__((sysv_abi)) void (*)(args::header *);
|
||||||
|
|
||||||
} // namespace kernel
|
} // namespace kernel
|
||||||
|
|||||||
Reference in New Issue
Block a user