diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-03-14 18:28:51 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-03-14 18:28:51 -0500 |
commit | 6547e8882ba8fa538a8a80040b7eb82baedc540a (patch) | |
tree | b5aa6ba54489a4cd48f97e152e28f810da97c57d /sim/process.cc | |
parent | af975813e546b5a951d5e7108454946afd31e434 (diff) | |
download | gem5-6547e8882ba8fa538a8a80040b7eb82baedc540a.tar.xz |
Minor Sconscript edit ... mips decoder changes ... initialize NNPC and output fault name in simple cpu
SConscript:
Separate Alpha EIO from syscall building for other architectures
arch/isa_specific.hh:
change MIPS constant to 34k
arch/mips/isa/decoder.isa:
Allow sll,ssnop,nop, and ehb to be determined through decoder using
the different types of default cases
arch/mips/isa/formats/branch.isa:
Delete debug code
arch/mips/isa/formats/noop.isa:
add a Nop format
arch/mips/isa_traits.hh:
use constants instead of enums
arch/mips/process.cc:
point to the correct header file
cpu/simple/cpu.cc:
Output the actual fault name
sim/process.cc:
Inititalize NNPC
--HG--
extra : convert_revision : adb0026dfad25b14c98fb03c98bfe9c681bba6f8
Diffstat (limited to 'sim/process.cc')
-rw-r--r-- | sim/process.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/process.cc b/sim/process.cc index 80f787062..260abcfe2 100644 --- a/sim/process.cc +++ b/sim/process.cc @@ -363,6 +363,7 @@ LiveProcess::startup() Addr prog_entry = objFile->entryPoint(); execContexts[0]->setPC(prog_entry); execContexts[0]->setNextPC(prog_entry + sizeof(MachInst)); + execContexts[0]->setNextNPC(prog_entry + (2 * sizeof(MachInst))); num_processes++; } |