i82094aa.cc (6045:214461cb8abe) i82094aa.cc (6135:9327451a8e7a)
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;

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

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),
40 extIntPic(p->external_int_pic)
41{
42 // 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;

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

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),
40 extIntPic(p->external_int_pic)
41{
42 // This assumes there's only one I/O APIC in the system
43 id = sys->numContexts();
43 id = p->apic_id;
44 assert(id <= 0xf);
45 arbId = id;
46 regSel = 0;
47 RedirTableEntry entry = 0;
48 entry.mask = 1;
49 for (int i = 0; i < TableSize; i++) {
50 redirTable[i] = entry;
51 pinStates[i] = false;

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

--- 138 unchanged lines hidden ---