summaryrefslogtreecommitdiff
path: root/arch/alpha/vtophys.cc
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-02-13 18:15:04 -0500
committerAndrew Schultz <alschult@umich.edu>2004-02-13 18:15:04 -0500
commit092ec1978d3e1f01e9d1d6ce6f892c101f525682 (patch)
tree49e9027e35fc82dba7afb6731b4b5667d3ae826d /arch/alpha/vtophys.cc
parent6391bfac543921e49469d74ea58de644d7a8f7cc (diff)
downloadgem5-092ec1978d3e1f01e9d1d6ce6f892c101f525682.tar.xz
Fix to remote debugger while in PAL
arch/alpha/vtophys.cc: base/remote_gdb.cc: Fix to remote debugger while in PAL code dev/pcidev.cc: Remove extra debug printf --HG-- extra : convert_revision : e64988846ad05cd3ddf47034d72d99dae3501591
Diffstat (limited to 'arch/alpha/vtophys.cc')
-rw-r--r--arch/alpha/vtophys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/vtophys.cc b/arch/alpha/vtophys.cc
index 5e14b06d3..784c4af7e 100644
--- a/arch/alpha/vtophys.cc
+++ b/arch/alpha/vtophys.cc
@@ -96,7 +96,7 @@ vtophys(ExecContext *xc, Addr vaddr)
{
Addr ptbr = xc->regs.ipr[AlphaISA::IPR_PALtemp20];
Addr paddr = 0;
- if (PC_PAL(vaddr)) {
+ if (PC_PAL(vaddr) || vaddr < 0x10000) {
paddr = vaddr & ~ULL(1);
} else if (!ptbr) {
paddr = vaddr;