aboutsummaryrefslogtreecommitdiff
path: root/contrib/elf2dmp/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/elf2dmp/addrspace.h')
-rw-r--r--contrib/elf2dmp/addrspace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/elf2dmp/addrspace.h b/contrib/elf2dmp/addrspace.h
index 00b44c1..039c70c 100644
--- a/contrib/elf2dmp/addrspace.h
+++ b/contrib/elf2dmp/addrspace.h
@@ -12,6 +12,7 @@
#define ELF2DMP_PAGE_BITS 12
#define ELF2DMP_PAGE_SIZE (1ULL << ELF2DMP_PAGE_BITS)
+#define ELF2DMP_PAGE_MASK (ELF2DMP_PAGE_SIZE - 1)
#define ELF2DMP_PFN_MASK (~(ELF2DMP_PAGE_SIZE - 1))
#define INVALID_PA UINT64_MAX