summaryrefslogtreecommitdiff
path: root/src/dev/x86/intdev.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/intdev.hh')
-rw-r--r--src/dev/x86/intdev.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh
index d36ed462a..ba9a073a4 100644
--- a/src/dev/x86/intdev.hh
+++ b/src/dev/x86/intdev.hh
@@ -122,6 +122,12 @@ class IntPin : public SimObject
public:
typedef X86IntPinParams Params;
+ IntDev *
+ getDevice() const
+ {
+ return device;
+ }
+
const Params *
params() const
{