diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-11-22 22:32:37 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-11-22 22:32:37 -0500 |
commit | 244ce7fb29cbd7107a5dc0fb640a6154a091ec6e (patch) | |
tree | 4a4f70d6a987c3cd0cc3f6f45ff1a9188d9f598e /dev/pciconfigall.hh | |
parent | 9590ca68442afdb1f4d8f1414bc6a9da18a76484 (diff) | |
download | gem5-244ce7fb29cbd7107a5dc0fb640a6154a091ec6e.tar.xz |
Print a warning if two devices are sharing the same interrupt
Update profile-top to print 2 or 4 graphs depending on a command line
option
dev/pciconfigall.cc:
dev/pciconfigall.hh:
dev/pcidev.hh:
Print a warning if two devices are sharing the same interrupt
--HG--
extra : convert_revision : 0ef99cac92fbf2916ab8e5b1125d520eb4b5ac7d
Diffstat (limited to 'dev/pciconfigall.hh')
-rw-r--r-- | dev/pciconfigall.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev/pciconfigall.hh b/dev/pciconfigall.hh index d6b37b9b1..9cf2cf972 100644 --- a/dev/pciconfigall.hh +++ b/dev/pciconfigall.hh @@ -116,6 +116,12 @@ class PciConfigAll : public PioDevice virtual Fault write(MemReqPtr &req, const uint8_t *data); /** + * Start up function to check if more than one person is using an interrupt line + * and print a warning if such a case exists + */ + virtual void startup(); + + /** * Serialize this object to the given output stream. * @param os The stream to serialize to. */ @@ -134,6 +140,7 @@ class PciConfigAll : public PioDevice * @return Tick when the request is done */ Tick cacheAccess(MemReqPtr &req); + }; #endif // __PCICONFIGALL_HH__ |