summaryrefslogtreecommitdiff
path: root/src/dev/x86
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-11-05 07:20:03 -0800
committerNathan Binkert <nate@binkert.org>2008-11-05 07:20:03 -0800
commit44839d6b716f2eb25eabc57fe588a129e290e51c (patch)
tree1c9f185ef39cc749f23d2a1b462f05171f862c63 /src/dev/x86
parent46b56bb7b6ac2a5f069aa1f79279f46d0395eb15 (diff)
downloadgem5-44839d6b716f2eb25eabc57fe588a129e290e51c.tar.xz
Fix a few more places where the context stuff wasn't changed
Diffstat (limited to 'src/dev/x86')
-rw-r--r--src/dev/x86/i82094aa.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/x86/i82094aa.cc b/src/dev/x86/i82094aa.cc
index 0ae7c56f3..a229fffc3 100644
--- a/src/dev/x86/i82094aa.cc
+++ b/src/dev/x86/i82094aa.cc
@@ -39,7 +39,7 @@ X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
latency(p->pio_latency), pioAddr(p->pio_addr), extIntPic(NULL)
{
// This assumes there's only one I/O APIC in the system
- id = sys->getNumCPUs();
+ id = sys->numContexts();
assert(id <= 0xf);
arbId = id;
regSel = 0;