X86: Compile fixes for 32 bit/debug/opt.

--HG--
extra : convert_revision : 591fffb316830fca5792666c8df12abd4e7c551b
This commit is contained in:
Gabe Black
2007-10-30 16:34:00 -04:00
parent bec1bfb493
commit 503fb8ebed
3 changed files with 7 additions and 3 deletions

View File

@@ -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);
}
}

View File

@@ -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

View File

@@ -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)