diff options
author | Nathan Binkert <binkertn@umich.edu> | 2003-10-14 16:53:52 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2003-10-14 16:53:52 -0400 |
commit | 638a07d15a149b48c854b58e2b3f4df097aa5e2e (patch) | |
tree | 82ac6aa2e2df719eeb2c8b6d319c4c7956bbc6b1 /cpu/exec_context.hh | |
parent | 2ac3dc5aa184da9fa08a304c67d646197ed9a7c5 (diff) | |
parent | 4759c203c774ef42a2a35832e220a95cffb5fa7b (diff) | |
download | gem5-638a07d15a149b48c854b58e2b3f4df097aa5e2e.tar.xz |
Merge
cpu/pc_event.cc:
SCCS merged
--HG--
extra : convert_revision : f7046f2bf6053be9b00150390fabe3d4f82b0981
Diffstat (limited to 'cpu/exec_context.hh')
-rw-r--r-- | cpu/exec_context.hh | 4 |
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; } |