X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse.git/blobdiff_plain/4e0ea74420900c7a66d265117b09fddbc3aaa754..f053c948f5b6fe7b9ec5cf6533e177fd42113ba3:/hypervisor/arch/x86/include/asm/paging.h diff --git a/hypervisor/arch/x86/include/asm/paging.h b/hypervisor/arch/x86/include/asm/paging.h index e90077b..064790c 100644 --- a/hypervisor/arch/x86/include/asm/paging.h +++ b/hypervisor/arch/x86/include/asm/paging.h @@ -16,7 +16,8 @@ #include #include -#define PAGE_SIZE 4096 +#define PAGE_SHIFT 12 +#define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK ~(PAGE_SIZE - 1) #define PAGE_OFFS_MASK (PAGE_SIZE - 1)