i82094aa.cc (5657:7539092b28ac) i82094aa.cc (5720:df9253dd6b4d)
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 25 unchanged lines hidden (view full) ---

34#include "mem/packet.hh"
35#include "mem/packet_access.hh"
36#include "sim/system.hh"
37
38X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
39 latency(p->pio_latency), pioAddr(p->pio_addr), extIntPic(NULL)
40{
41 // This assumes there's only one I/O APIC in the system
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 25 unchanged lines hidden (view full) ---

34#include "mem/packet.hh"
35#include "mem/packet_access.hh"
36#include "sim/system.hh"
37
38X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
39 latency(p->pio_latency), pioAddr(p->pio_addr), extIntPic(NULL)
40{
41 // This assumes there's only one I/O APIC in the system
42 id = sys->getNumCPUs();
42 id = sys->numContexts();
43 assert(id <= 0xf);
44 arbId = id;
45 regSel = 0;
46 RedirTableEntry entry = 0;
47 entry.mask = 1;
48 for (int i = 0; i < TableSize; i++) {
49 redirTable[i] = entry;
50 }

--- 166 unchanged lines hidden ---
43 assert(id <= 0xf);
44 arbId = id;
45 regSel = 0;
46 RedirTableEntry entry = 0;
47 entry.mask = 1;
48 for (int i = 0; i < TableSize; i++) {
49 redirTable[i] = entry;
50 }

--- 166 unchanged lines hidden ---