vm: move arch-specific definitions to arch/

This commit is contained in:
2023-02-05 10:28:07 +00:00
parent 72b2d8d525
commit 58171df912
2 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
#ifndef SOCKS_X86_64_VM_H_
#define SOCKS_X86_64_VM_H_
#define VM_KERNEL_VOFFSET 0xFFFFFFFF80000000
#define VM_PAGE_SIZE 0x1000
#define VM_PAGE_MASK (VM_PAGE_SIZE-1)
#define VM_PAGE_SHIFT 12
#define VM_PAGE_MIN_ORDER VM_PAGE_4K
#define VM_PAGE_MAX_ORDER VM_PAGE_8M
#endif