summaryrefslogtreecommitdiff
path: root/cpu/exec_context.hh
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 /cpu/exec_context.hh
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 'cpu/exec_context.hh')
-rw-r--r--cpu/exec_context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/exec_context.hh b/cpu/exec_context.hh
index 5c1db6297..6964b35b8 100644
--- a/cpu/exec_context.hh
+++ b/cpu/exec_context.hh
@@ -245,8 +245,8 @@ class ExecContext
// stores (WH64?)
// Unsuccesful Store Conditionals would have returned above,
// and wouldn't fall through
- for(int i = 0; i < system->num_cpus; i++){
- cregs = &system->xc_array[i]->regs.miscRegs;
+ for(int i = 0; i < system->xcvec.size(); i++){
+ cregs = &system->xcvec[i]->regs.miscRegs;
if((cregs->lock_addr & ~0xf) == (req->paddr & ~0xf)) {
cregs->lock_flag = false;
}