diff options
Diffstat (limited to 'include/arch/x86_64/object.h')
-rw-r--r-- | include/arch/x86_64/object.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/arch/x86_64/object.h b/include/arch/x86_64/object.h new file mode 100644 index 0000000..8d5af33 --- /dev/null +++ b/include/arch/x86_64/object.h @@ -0,0 +1,26 @@ +#ifndef _JOVE_x86_64_OBJECT_H +#define _JOVE_x86_64_OBJECT_H 1 + +#include <stdint.h> + +typedef struct jove_InitData +{ + uint8_t log_object; + uint8_t untyped_data_dir; + uint8_t processor_dir; + uint8_t pm_object; //Page mapping object. + uint8_t initrd_dir; //Init ramdisk files directory. + uint8_t tcb_object; + uint8_t kernel_stack_object; + uint8_t message_object; + uintptr_t message_object_address; +} init_data_t; + +typedef struct jove_ThreadControlBlock +{ + void *stack; + uintptr_t sp, ksp; + void *pml4; +} tcb_t; + +#endif |