diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2007-01-19 21:33:36 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2007-01-19 21:33:36 -0500 |
commit | f1aeaf7ceb44ea6ef7032048a68c74ecedc7685b (patch) | |
tree | 022b6bcfe7f925156afd756f91e8dfca1599dfcb /src/arch/sparc/miscregfile.cc | |
parent | 5c9cbdbb4597a3ba6908a41c1dc459c25626e514 (diff) | |
download | gem5-f1aeaf7ceb44ea6ef7032048a68c74ecedc7685b.tar.xz |
some hstick and hintp changes.
src/arch/sparc/interrupts.hh:
condition hstick matches on HINTP
src/arch/sparc/miscregfile.cc:
implement HINTP
src/arch/sparc/ua2005.cc:
don't post interrupt unless it is enabled.
--HG--
extra : convert_revision : f71d1c1d9fd1a898ddafd5a885c3a8d5c75e8ff0
Diffstat (limited to 'src/arch/sparc/miscregfile.cc')
-rw-r--r-- | src/arch/sparc/miscregfile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/miscregfile.cc b/src/arch/sparc/miscregfile.cc index 50f510289..d9fcb0280 100644 --- a/src/arch/sparc/miscregfile.cc +++ b/src/arch/sparc/miscregfile.cc @@ -214,7 +214,7 @@ MiscReg MiscRegFile::readReg(int miscReg) case MISCREG_HTSTATE: return htstate[tl-1]; case MISCREG_HINTP: - panic("HINTP not implemented\n"); + return hintp; case MISCREG_HTBA: return htba; case MISCREG_HVER: @@ -468,7 +468,7 @@ void MiscRegFile::setReg(int miscReg, const MiscReg &val) htstate[tl-1] = val; break; case MISCREG_HINTP: - panic("HINTP not implemented\n"); + hintp = val; case MISCREG_HTBA: htba = val; break; |