forked from Bananymous/banan-os
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:
parent
9f75d9cfe5
commit
dc1aff58ed
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue