diff options
author | Hediadyoin1 <leon2002.la@gmail.com> | 2021-07-17 00:49:12 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-17 01:12:15 +0200 |
commit | 432a34a4961cb1d9d687c679189ab9799fe6881e (patch) | |
tree | a74269854e25d0caff1e466a49b584825b4ddedd /Kernel | |
parent | c66f484bcea128f92e5b30f30a94c3b0c1fc5758 (diff) | |
download | serenity-432a34a4961cb1d9d687c679189ab9799fe6881e.zip |
Kernel: Make PAGE_MASK architecture independent
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Arch/x86/CPU.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Arch/x86/CPU.h b/Kernel/Arch/x86/CPU.h index 77312bfbb9..9cc0c1c209 100644 --- a/Kernel/Arch/x86/CPU.h +++ b/Kernel/Arch/x86/CPU.h @@ -15,7 +15,7 @@ /* Map IRQ0-15 @ ISR 0x50-0x5F */ #define IRQ_VECTOR_BASE 0x50 #define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE) -#define PAGE_MASK ((FlatPtr)0xfffff000u) +#define PAGE_MASK (~(FlatPtr)0xfffu) namespace Kernel { |