i82094aa.cc (5651:7f0c8006c3d7) i82094aa.cc (5653:b87e45d7c585)
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;

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

37X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
38 latency(p->pio_latency), pioAddr(p->pio_addr)
39{
40 // This assumes there's only one I/O APIC in the system
41 id = sys->getNumCPUs();
42 assert(id <= 0xf);
43 arbId = id;
44 regSel = 0;
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;

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

37X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
38 latency(p->pio_latency), pioAddr(p->pio_addr)
39{
40 // This assumes there's only one I/O APIC in the system
41 id = sys->getNumCPUs();
42 assert(id <= 0xf);
43 arbId = id;
44 regSel = 0;
45 memset(redirTable, 0, sizeof(RedirTableEntry) * TableSize);
45 RedirTableEntry entry = 0;
46 entry.mask = 1;
47 for (int i = 0; i < TableSize; i++) {
48 redirTable[i] = entry;
49 }
46}
47
48Tick
49X86ISA::I82094AA::read(PacketPtr pkt)
50{
51 assert(pkt->getSize() == 4);
52 Addr offset = pkt->getAddr() - pioAddr;
53 switch(offset) {

--- 174 unchanged lines hidden ---
50}
51
52Tick
53X86ISA::I82094AA::read(PacketPtr pkt)
54{
55 assert(pkt->getSize() == 4);
56 Addr offset = pkt->getAddr() - pioAddr;
57 switch(offset) {

--- 174 unchanged lines hidden ---