diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
| commit | 548506392b789f58b1556a6ffca917441e1d89fd (patch) | |
| tree | 58e4b747446ea64e7951e523353f58510b3a8b2f /arch/x86_64/hal/paging.h | |
| parent | c5e3bb7917689bc9ed54fee23a143144fade802d (diff) | |
| download | jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.gz jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.bz2 jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.zip | |
ipc functions. work on process spawning
Diffstat (limited to 'arch/x86_64/hal/paging.h')
| -rw-r--r-- | arch/x86_64/hal/paging.h | 7 |
1 files changed, 3 insertions, 4 deletions
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; |
