From 43f0be52537a27f5e88e4740bde32b8d0654a868 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 30 Jul 2007 15:42:04 -0700 Subject: [PATCH] X86: Use an mmap base address that matches what an actual machine uses. --HG-- extra : convert_revision : 98521797bbc6360301b3c6a6b1b8e28236ef570e --- src/arch/x86/process.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index 6d30e53e3..036805612 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -127,9 +127,9 @@ X86LiveProcess::X86LiveProcess(const std::string &nm, ObjectFile *objFile, // for undertermined purposes. stack_base = (Addr)0x7FFFFFFFF000ULL; - // Set up region for mmaps. Tru64 seems to start just above 0 and - // grow up from there. - mmap_start = mmap_end = 0xfffff80000000000ULL; + // Set up region for mmaps. This was determined empirically and may not + // always be correct. + mmap_start = mmap_end = 0x2aaaaaaab000; } void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc) -- 2.30.2