aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm_amd64.h2
-rw-r--r--executor/kvm.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h
index 06efc7f20..12bc8958d 100644
--- a/executor/common_kvm_amd64.h
+++ b/executor/common_kvm_amd64.h
@@ -237,6 +237,8 @@ static const struct mem_region syzos_mem_regions[] = {
{X86_SYZOS_ADDR_BOOT_ARGS, 1, 0},
// Dynamic Page Table Pool.
{X86_SYZOS_ADDR_PT_POOL, X86_SYZOS_PT_POOL_SIZE, 0},
+ // Global State Page.
+ {X86_SYZOS_ADDR_GLOBALS, 1, 0},
// SMRAM memory.
{X86_SYZOS_ADDR_SMRAM, 10, 0},
// Unmapped region to trigger a page faults for uexits etc.
diff --git a/executor/kvm.h b/executor/kvm.h
index f377887a6..b0630c161 100644
--- a/executor/kvm.h
+++ b/executor/kvm.h
@@ -76,6 +76,9 @@
// Base offset for the area containing the 4 L2 VM slots.
#define X86_SYZOS_L1_VCPU_OFFSET_L2_VMS_AREA 0x1000
+// Global state page (Allocator offsets, etc).
+#define X86_SYZOS_ADDR_GLOBALS 0x17F000
+
// Separated Page Table Pool in high memory.
// Located above L2 VCPU regions.
#define X86_SYZOS_ADDR_PT_POOL 0x180000