diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-11 14:37:04 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-09-11 14:37:04 -0400 |
commit | 42a2bdaecaee627247689b3f4ff2828fe3c8dc97 (patch) | |
tree | 17e59594b1979912401eecb05891234e028e8869 /include/arch/x86_64/init.h | |
parent | 7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5 (diff) | |
download | jove-kernel-42a2bdaecaee627247689b3f4ff2828fe3c8dc97.tar.gz jove-kernel-42a2bdaecaee627247689b3f4ff2828fe3c8dc97.tar.bz2 jove-kernel-42a2bdaecaee627247689b3f4ff2828fe3c8dc97.zip |
load init from ELF executable
Diffstat (limited to 'include/arch/x86_64/init.h')
-rw-r--r-- | include/arch/x86_64/init.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/arch/x86_64/init.h b/include/arch/x86_64/init.h new file mode 100644 index 0000000..d8fdf2c --- /dev/null +++ b/include/arch/x86_64/init.h @@ -0,0 +1,12 @@ +#ifndef _JOVE_x86_64_INIT_H +#define _JOVE_x86_64_INIT_H 1 + +#include <stdint.h> + +uintptr_t init_alloc_pageframe(); +void init_map_pageframe(uintptr_t pptr, uintptr_t vptr, uint8_t pflags); + +__attribute__((noreturn)) +void usermode(void *ip, void *sp); + +#endif |