summaryrefslogtreecommitdiff
path: root/src/dev/x86/intdev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/intdev.cc')
-rw-r--r--src/dev/x86/intdev.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/x86/intdev.cc b/src/dev/x86/intdev.cc
index a991005bc..23ec20b9a 100644
--- a/src/dev/x86/intdev.cc
+++ b/src/dev/x86/intdev.cc
@@ -51,10 +51,10 @@ X86ISA::IntDev::IntPort::sendMessage(ApicList apics,
void
X86ISA::IntDev::init()
{
- if (!intPort) {
+ if (!intPort.isConnected()) {
panic("Int port not connected to anything!");
}
- intPort->sendRangeChange();
+ intPort.sendRangeChange();
}
X86ISA::IntSourcePin *