From 548506392b789f58b1556a6ffca917441e1d89fd Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 13 Oct 2026 22:31:43 -0400 Subject: ipc functions. work on process spawning --- arch/x86_64/hal/paging.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'arch/x86_64/hal/paging.h') diff --git a/arch/x86_64/hal/paging.h b/arch/x86_64/hal/paging.h index becf353..6edac0c 100644 --- a/arch/x86_64/hal/paging.h +++ b/arch/x86_64/hal/paging.h @@ -17,10 +17,9 @@ typedef union page_table_entry uint8_t d : 1; uint8_t ps : 1; uint8_t g : 1; - uint8_t shm : 1; - uint8_t ign_0 : 1; + uint8_t mapping_type : 2; uint8_t r : 1; - uint64_t paddr : 35; + uint64_t pfn : 35; uint8_t ign_1 : 4; uint8_t pkey : 4; uint8_t xd : 1; @@ -37,7 +36,7 @@ typedef union page_table_entry #define PAGE_DIRTY 0b1000000 #define PAGE_PS 0b10000000 #define PAGE_GLOBAL 0b100000000 -#define PAGE_SHMEM 0b1000000000 +#define PAGE_SHL_TYPE 9 #define PAGE_XD (1ULL << 63) extern void *_kernel_physptr; -- cgit v1.2.3