vm: add huge page order size definitions

This commit is contained in:
2023-02-08 17:11:08 +00:00
parent d56fc961fa
commit b8eb88627a
2 changed files with 16 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ typedef enum vm_page_order {
VM_PAGE_32M,
VM_PAGE_64M,
VM_PAGE_128M,
#if 0
/* vm_page_t only has 4 bits to store the page order with.
the maximum order that can be stored in 4 bits is 15 (VM_PAGE_128M)
to use any of the page orders listed here, this field
@@ -82,7 +82,12 @@ typedef enum vm_page_order {
VM_PAGE_256M,
VM_PAGE_512M,
VM_PAGE_1G,
#endif
VM_PAGE_2G,
VM_PAGE_4G,
VM_PAGE_8G,
VM_PAGE_16G,
VM_PAGE_32G,
VM_PAGE_64G,
} vm_page_order_t;
typedef enum vm_page_flags {