Kernel: PAGE_FLAG_MASK is now only 0xF

We don't care currenly about anything but the last few bits
This commit is contained in:
Bananymous 2023-06-03 18:55:25 +03:00
parent 9f75d9cfe5
commit dc1aff58ed
1 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@
#error
#endif
#define PAGE_SIZE 4096
#define PAGE_FLAG_MASK ((uintptr_t)0xFFF)
#define PAGE_ADDR_MASK (~PAGE_FLAG_MASK)
#define PAGE_SIZE ((uintptr_t)4096)
#define PAGE_FLAG_MASK ((uintptr_t)0xF)
#define PAGE_ADDR_MASK (~(uintptr_t)0xFFF)
namespace Kernel
{