summaryrefslogtreecommitdiff
path: root/dev/pcidev.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-11-22 22:32:37 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-11-22 22:32:37 -0500
commit244ce7fb29cbd7107a5dc0fb640a6154a091ec6e (patch)
tree4a4f70d6a987c3cd0cc3f6f45ff1a9188d9f598e /dev/pcidev.hh
parent9590ca68442afdb1f4d8f1414bc6a9da18a76484 (diff)
downloadgem5-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/pcidev.hh')
-rw-r--r--dev/pcidev.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/pcidev.hh b/dev/pcidev.hh
index 73d2e3c44..4b947b560 100644
--- a/dev/pcidev.hh
+++ b/dev/pcidev.hh
@@ -141,6 +141,10 @@ class PciDev : public DmaDevice
intrClear()
{ plat->clearPciInt(configData->config.hdr.pci0.interruptLine); }
+ uint8_t
+ interruptLine()
+ { return configData->config.hdr.pci0.interruptLine; }
+
public:
/**
* Constructor for PCI Dev. This function copies data from the