diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2007-01-11 09:48:15 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2007-01-11 09:48:15 -0500 |
commit | 5c9cbdbb4597a3ba6908a41c1dc459c25626e514 (patch) | |
tree | 1bc33a9661ecc1dd4538ee10183ef809488830f2 /src/arch/sparc/ua2005.cc | |
parent | 9f75c1c58f8352a8625f035c151ebcf6ce95b908 (diff) | |
parent | 42535f5f53ad2515cd4b8e617e4a2322aecac547 (diff) | |
download | gem5-5c9cbdbb4597a3ba6908a41c1dc459c25626e514.tar.xz |
Merge zed.eecs.umich.edu:/z/hsul/work/sparc/ali.m5
into zed.eecs.umich.edu:/z/hsul/work/sparc/m5
src/arch/sparc/ua2005.cc:
hand merge between ali and me.
--HG--
extra : convert_revision : 810d63fb484ab26fc30f8130ef32390ba149b267
Diffstat (limited to 'src/arch/sparc/ua2005.cc')
-rw-r--r-- | src/arch/sparc/ua2005.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/sparc/ua2005.cc b/src/arch/sparc/ua2005.cc index 128402fdd..b8a891c6d 100644 --- a/src/arch/sparc/ua2005.cc +++ b/src/arch/sparc/ua2005.cc @@ -44,8 +44,10 @@ MiscRegFile::setFSRegWithEffect(int miscReg, const MiscReg &val, case MISCREG_SOFTINT: // Check if we are going to interrupt because of something setReg(miscReg, val); - tc->getCpuPtr()->post_interrupt(soft_interrupt); - warn("Writing to softint not really supported, writing: %#x\n", val); + tc->getCpuPtr()->checkInterrupts = true; + tc->getCpuPtr()->post_interrupt(hstick_match); + if (val != 0x10000 && val != 0) + warn("Writing to softint not really supported, writing: %#x\n", val); break; case MISCREG_SOFTINT_CLR: |