From c4f8ef91f18d854a4ede7a94e95b2eab898d6963 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:40:19 -0400 Subject: working usermode objdir iteration --- include/arch/x86_64/object.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/arch/x86_64/object.h') diff --git a/include/arch/x86_64/object.h b/include/arch/x86_64/object.h index 8d5af33..6512049 100644 --- a/include/arch/x86_64/object.h +++ b/include/arch/x86_64/object.h @@ -3,15 +3,18 @@ #include +#ifndef KERNEL_STACKBYTES +#define KERNEL_STACKBYTES 4096 +#endif + typedef struct jove_InitData { uint8_t log_object; - uint8_t untyped_data_dir; - uint8_t processor_dir; + uint16_t untyped_data_dir; + uint16_t processor_dir; uint8_t pm_object; //Page mapping object. - uint8_t initrd_dir; //Init ramdisk files directory. + uint16_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; @@ -21,6 +24,7 @@ typedef struct jove_ThreadControlBlock void *stack; uintptr_t sp, ksp; void *pml4; + uint8_t kstack[KERNEL_STACKBYTES]; } tcb_t; #endif -- cgit v1.2.1