diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-02-15 23:56:44 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-02-15 23:56:44 -0500 |
commit | de5fa667148b6de4f3055f08fe3cd0bb8cc5bd10 (patch) | |
tree | 238e8b1b958c899537233540fdc6ad4c9b962c1a /dev/tsunami_cchip.hh | |
parent | 9984412671f2658988217d9745925da019e401a3 (diff) | |
download | gem5-de5fa667148b6de4f3055f08fe3cd0bb8cc5bd10.tar.xz |
Rewrote interrupt code to handle masking correctly and changed every
interrupt to use a different subnumber since both devices could
interrupt at the same time and we don't want to loose one.
dev/tsunami_cchip.cc:
rewrote interrupt code to handle interrupt mask clearing correctly
dev/tsunami_cchip.hh:
changed (post/clear)DRIR to use a interrupt number rather than a vecotr
dev/tsunami_io.cc:
updated for new post/clearDRIR calls
--HG--
extra : convert_revision : 5b39f5e15a66d5eb6e689e6ece62f99b5fa735ab
Diffstat (limited to 'dev/tsunami_cchip.hh')
-rw-r--r-- | dev/tsunami_cchip.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/tsunami_cchip.hh b/dev/tsunami_cchip.hh index 8c8ed4d20..75214c527 100644 --- a/dev/tsunami_cchip.hh +++ b/dev/tsunami_cchip.hh @@ -79,8 +79,8 @@ class TsunamiCChip : public FunctionalMemory virtual Fault read(MemReqPtr &req, uint8_t *data); virtual Fault write(MemReqPtr &req, const uint8_t *data); - void postDRIR(uint64_t bitvector); - void clearDRIR(uint64_t bitvector); + void postDRIR(uint32_t interrupt); + void clearDRIR(uint32_t interrupt); virtual void serialize(std::ostream &os); virtual void unserialize(Checkpoint *cp, const std::string §ion); |