diff options
-rw-r--r-- | src/arch/x86/faults.cc | 6 | ||||
-rw-r--r-- | src/arch/x86/isa/microops/limmop.isa | 2 | ||||
-rw-r--r-- | src/arch/x86/process.cc | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/arch/x86/faults.cc b/src/arch/x86/faults.cc index b9cac0297..13341f1de 100644 --- a/src/arch/x86/faults.cc +++ b/src/arch/x86/faults.cc @@ -124,7 +124,8 @@ namespace X86ISA panic("Tried to execute unmapped address %#x.\n", vaddr); } else { Addr alignedVaddr = p->pTable->pageAlign(vaddr); - DPRINTF(TLB, "Mapping %#x to %#x\n", alignedVaddr, entry.pageStart); + DPRINTF(TLB, "Mapping %#x to %#x\n", alignedVaddr, + entry.pageStart()); tc->getITBPtr()->insert(alignedVaddr, entry); } } @@ -144,7 +145,8 @@ namespace X86ISA panic("Tried to access unmapped address %#x.\n", vaddr); } else { Addr alignedVaddr = p->pTable->pageAlign(vaddr); - DPRINTF(TLB, "Mapping %#x to %#x\n", alignedVaddr, entry.pageStart); + DPRINTF(TLB, "Mapping %#x to %#x\n", alignedVaddr, + entry.pageStart()); tc->getDTBPtr()->insert(alignedVaddr, entry); } } diff --git a/src/arch/x86/isa/microops/limmop.isa b/src/arch/x86/isa/microops/limmop.isa index c357c1d6c..6686444fd 100644 --- a/src/arch/x86/isa/microops/limmop.isa +++ b/src/arch/x86/isa/microops/limmop.isa @@ -148,6 +148,8 @@ let {{ self.className = "Limm" self.mnemonic = "limm" self.dest = dest + if isinstance(imm, (int, long)): + imm = "ULL(%d)" % imm self.imm = imm self.dataSize = dataSize diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index c91bcc12f..c6246c76b 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -126,7 +126,7 @@ X86LiveProcess::X86LiveProcess(LiveProcessParams * params, // Set up region for mmaps. This was determined empirically and may not // always be correct. - mmap_start = mmap_end = 0x2aaaaaaab000; + mmap_start = mmap_end = (Addr)0x2aaaaaaab000ULL; } void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc) |