1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:37:35 +00:00

Kernel: Make PAGE_MASK architecture independent

This commit is contained in:
Hediadyoin1 2021-07-17 00:49:12 +02:00 committed by Gunnar Beutner
parent c66f484bce
commit 432a34a496

View file

@ -15,7 +15,7 @@
/* Map IRQ0-15 @ ISR 0x50-0x5F */ /* Map IRQ0-15 @ ISR 0x50-0x5F */
#define IRQ_VECTOR_BASE 0x50 #define IRQ_VECTOR_BASE 0x50
#define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE) #define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE)
#define PAGE_MASK ((FlatPtr)0xfffff000u) #define PAGE_MASK (~(FlatPtr)0xfffu)
namespace Kernel { namespace Kernel {