diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-05-22 13:00:41 -0400 |
commit | ace65b453151845bc361f21f3e5b651c35f9f126 (patch) | |
tree | 262ebd29b0ca1d8584f0b6f1efa7a00d9f4f3e43 /arch/x86_64/paging.h | |
parent | f004c1ade8d617a82cea2fe249434cccb47a2358 (diff) | |
download | jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.gz jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.bz2 jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.zip |
Diffstat (limited to 'arch/x86_64/paging.h')
-rw-r--r-- | arch/x86_64/paging.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/x86_64/paging.h b/arch/x86_64/paging.h deleted file mode 100644 index 28dfad2..0000000 --- a/arch/x86_64/paging.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef JOVE_ARCH_x86_64_PAGING_H -#define JOVE_ARCH_x86_64_PAGING_H 1 - -#include <stdint.h> - -typedef union PageMappingLevelEntry -{ - struct { - uint8_t p : 1; /* Present */ - uint8_t rw : 1; /* Read/write. 0 for RO.*/ - uint8_t us : 1; /* User/supervisor. 0 for DPL3 forbid */ - uint8_t pwt : 1; - uint8_t pcd : 1; - uint8_t a : 1; /* Accessed */ - uint8_t d : 1; /* Dirty */ - uint8_t ps_pat : 1; - uint8_t g : 1; /* Global */ - uint8_t _r0 : 2; - uint8_t r : 1; - uint64_t paddr : 35; - uint8_t _r1; - uint8_t pk : 4; - uint8_t xd : 1; - }__attribute__((packed)); - uint64_t value; -} __attribute__((packed)) pmle_t; - -#endif |