diff options
Diffstat (limited to 'src/kernel/memory/paging.h')
-rw-r--r-- | src/kernel/memory/paging.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/memory/paging.h b/src/kernel/memory/paging.h index ff542e3..5836430 100644 --- a/src/kernel/memory/paging.h +++ b/src/kernel/memory/paging.h @@ -3,23 +3,23 @@ #include <stdint.h> -#define PD_PRESENT 1 << 0 -#define PD_RW 1 << 1 +#define PD_PRESENT 1 << 0 +#define PD_RW 1 << 1 #define PD_ALL_PRIV 1 << 2 #define PD_WRITETHR 1 << 3 -#define PD_CACHE_D 1 << 4 +#define PD_CACHE_D 1 << 4 #define PD_ACCESSED 1 << 5 -#define PD_4M_PAGE 1 << 7 +#define PD_4M_PAGE 1 << 7 -#define PT_PRESENT 1 << 0 -#define PT_RW 1 << 1 +#define PT_PRESENT 1 << 0 +#define PT_RW 1 << 1 #define PT_ALL_PRIV 1 << 2 #define PT_WRITETHR 1 << 3 -#define PT_CACHE_D 1 << 4 +#define PT_CACHE_D 1 << 4 #define PT_ACCESSED 1 << 5 -#define PT_DIRTY 1 << 6 -#define PT_GLOBAL 1 << 8 -#define PT_USED 1 << 9 +#define PT_DIRTY 1 << 6 +#define PT_GLOBAL 1 << 8 +#define PT_USED 1 << 9 int paging_enabled; |