aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/arm/target_cpu.h')
-rw-r--r--linux-user/arm/target_cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/arm/target_cpu.h b/linux-user/arm/target_cpu.h
index d888219150..c3eb4b243d 100644
--- a/linux-user/arm/target_cpu.h
+++ b/linux-user/arm/target_cpu.h
@@ -19,6 +19,10 @@
#ifndef ARM_TARGET_CPU_H
#define ARM_TARGET_CPU_H
+/* We need to be able to map the commpage.
+ See validate_guest_space in linux-user/elfload.c. */
+#define MAX_RESERVED_VA 0xffff0000ul
+
static inline void cpu_clone_regs(CPUARMState *env, target_ulong newsp)
{
if (newsp) {