summaryrefslogtreecommitdiff
path: root/arch/alpha/arguments.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-03-30 10:42:55 -0500
committerKevin Lim <ktlim@umich.edu>2006-03-30 10:42:55 -0500
commit0b2deb2a8897fa857d2b3e1936401c6666fdc728 (patch)
treeb4da42277ec3213472f5e2466e26a6966da74e50 /arch/alpha/arguments.cc
parent2ad1db3fde4f95eaf0b1be77910de0feb2185712 (diff)
downloadgem5-0b2deb2a8897fa857d2b3e1936401c6666fdc728.tar.xz
Fixes for full system compiling.
arch/alpha/arguments.cc: There will not be a phys mem ptr in the XC in the newmem. This read will have to go through something else. arch/alpha/ev5.cc: Remove instantiations of these functions for the FastCPU, as the FastCPU is not really used. Also this messed up the ability to specify which CPU models are being built. cpu/exec_context.hh: Remove getPhysMemPtr() function. cpu/exetrace.cc: Include sim/system.hh, and sort the includes. cpu/simple/cpu.cc: Fixes for full system compilation. kern/system_events.cc: Remove include of encumbered FullCPU. The branch prediction will need to be fixed up in a more generic way in the future. --HG-- extra : convert_revision : a8bbf562a277aa80e8f40112570c0a825298a05c
Diffstat (limited to 'arch/alpha/arguments.cc')
-rw-r--r--arch/alpha/arguments.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/alpha/arguments.cc b/arch/alpha/arguments.cc
index a782ea330..338581e32 100644
--- a/arch/alpha/arguments.cc
+++ b/arch/alpha/arguments.cc
@@ -60,7 +60,9 @@ AlphaArguments::getArg(bool fp)
} else {
Addr sp = xc->readIntReg(30);
Addr paddr = vtophys(xc, sp + (number-6) * sizeof(uint64_t));
- return xc->getPhysMemPtr()->phys_read_qword(paddr);
+ // @todo: This read must go through the system or something else.
+// return xc->getPhysMemPtr()->phys_read_qword(paddr);
+ return 0;
}
}