Move PAGE_SIZE from hulk.hippo to hulk.pagetable
This commit is contained in:
1 parent
e49c27cbbc
commit
0b326e2e36
2 files changed
+4
-3
No files matched your search
+1
-3
@@ -7,9 +7,7 @@ import hulk.header;
|
|||||||
import hulk.bootinfo;
|
import hulk.bootinfo;
|
||||||
import hulk.klog;
|
import hulk.klog;
|
||||||
import hulk.linker_addresses;
|
import hulk.linker_addresses;
|
||||||
|
import hulk.pagetable;
|
||||||
/** Page size. */
|
|
||||||
enum size_t PAGE_SIZE = 4096u;
|
|
||||||
|
|
||||||
struct hippo
|
struct hippo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ enum ulong PT_GLOBAL = 0x100u;
|
|||||||
enum ulong PT_NO_EXECUTE = 0x8000_0000_0000_0000u;
|
enum ulong PT_NO_EXECUTE = 0x8000_0000_0000_0000u;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/** Page size in bytes. */
|
||||||
|
enum ulong PAGE_SIZE = 4096u;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure that represents a page table entry.
|
* Structure that represents a page table entry.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user