From: Gabe Black Date: Mon, 30 Jul 2007 22:42:04 +0000 (-0700) Subject: X86: Use an mmap base address that matches what an actual machine uses. X-Git-Tag: m5_2.0_beta4~228 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43f0be52537a27f5e88e4740bde32b8d0654a868;p=gem5.git X86: Use an mmap base address that matches what an actual machine uses. --HG-- extra : convert_revision : 98521797bbc6360301b3c6a6b1b8e28236ef570e --- 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)