vm: move arch-specific definitions to arch/
This commit is contained in:
13
arch/x86_64/include/socks/machine/vm.h
Normal file
13
arch/x86_64/include/socks/machine/vm.h
Normal 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
|
||||
Reference in New Issue
Block a user