summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
commitf94ff9ace556d9aa1ac9d00b8b1dbc73e161d213 (patch)
tree353724806826d4faa7ad8c6b6b9f0ab658936dbb /dev
parent2471c214bf85b1c0342f222a1a85ace110d76d16 (diff)
downloadgem5-f94ff9ace556d9aa1ac9d00b8b1dbc73e161d213.tar.xz
Split up kernel.cc into separate files for dump_mbuf and printf
cpu/exec_context.hh: dev/alpha_console.cc: sim/system.cc: sim/system.hh: Convert from fixed array to a vector arch/alpha/arguments.hh: now that CopyData and CopyString are in vtophys.hh, this include is not necessary arch/alpha/vtophys.hh: Include isa_traits.hh for Addr cpu/pc_event.cc: Temporarily get this working while we're changing things --HG-- extra : convert_revision : 9a7597b7bd5d050819766f8edf7a02f28447b9ca
Diffstat (limited to 'dev')
-rw-r--r--dev/alpha_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc
index e2de5f7ac..526ef0b3c 100644
--- a/dev/alpha_console.cc
+++ b/dev/alpha_console.cc
@@ -153,7 +153,7 @@ AlphaConsole::write(MemReqPtr req, const uint8_t *data)
int cpu = val;
assert(cpu > 0 && "Must not access primary cpu");
- ExecContext *other_xc = req->xc->system->xc_array[cpu];
+ ExecContext *other_xc = req->xc->system->xcvec[cpu];
other_xc->regs.intRegFile[16] = cpu;
other_xc->regs.ipr[TheISA::IPR_PALtemp16] = cpu;
other_xc->regs.intRegFile[0] = cpu;