i82094aa.hh (6136:4f8af2f3185f) | i82094aa.hh (6137:d3ee4e0d690c) |
---|---|
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; --- 23 unchanged lines hidden (view full) --- 32#define __DEV_X86_I82094AA_HH__ 33 34#include "base/bitunion.hh" 35#include "base/range_map.hh" 36#include "dev/io_device.hh" 37#include "dev/x86/intdev.hh" 38#include "params/I82094AA.hh" 39 | 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; --- 23 unchanged lines hidden (view full) --- 32#define __DEV_X86_I82094AA_HH__ 33 34#include "base/bitunion.hh" 35#include "base/range_map.hh" 36#include "dev/io_device.hh" 37#include "dev/x86/intdev.hh" 38#include "params/I82094AA.hh" 39 |
40#include <map> 41 |
|
40namespace X86ISA 41{ 42 43class I8259; | 42namespace X86ISA 43{ 44 45class I8259; |
46class Interrupts; |
|
44 45class I82094AA : public PioDevice, public IntDev 46{ 47 public: 48 BitUnion64(RedirTableEntry) 49 Bitfield<63, 32> topDW; 50 Bitfield<55, 32> topReserved; 51 Bitfield<31, 0> bottomDW; --- 10 unchanged lines hidden (view full) --- 62 EndBitUnion(RedirTableEntry) 63 64 protected: 65 Tick latency; 66 Addr pioAddr; 67 68 I8259 * extIntPic; 69 | 47 48class I82094AA : public PioDevice, public IntDev 49{ 50 public: 51 BitUnion64(RedirTableEntry) 52 Bitfield<63, 32> topDW; 53 Bitfield<55, 32> topReserved; 54 Bitfield<31, 0> bottomDW; --- 10 unchanged lines hidden (view full) --- 65 EndBitUnion(RedirTableEntry) 66 67 protected: 68 Tick latency; 69 Addr pioAddr; 70 71 I8259 * extIntPic; 72 |
73 std::map<int, Interrupts *> localApics; 74 |
|
70 uint8_t regSel; 71 uint8_t initialApicId; 72 uint8_t id; 73 uint8_t arbId; 74 75 static const uint8_t TableSize = 24; 76 // This implementation is based on version 0x11, but 0x14 avoids having 77 // to deal with the arbitration and APIC bus guck. --- 39 unchanged lines hidden (view full) --- 117 if (if_name == "int_port") 118 return intPort; 119 return PioDevice::getPort(if_name, idx); 120 } 121 122 void signalInterrupt(int line); 123 void raiseInterruptPin(int number); 124 void lowerInterruptPin(int number); | 75 uint8_t regSel; 76 uint8_t initialApicId; 77 uint8_t id; 78 uint8_t arbId; 79 80 static const uint8_t TableSize = 24; 81 // This implementation is based on version 0x11, but 0x14 avoids having 82 // to deal with the arbitration and APIC bus guck. --- 39 unchanged lines hidden (view full) --- 122 if (if_name == "int_port") 123 return intPort; 124 return PioDevice::getPort(if_name, idx); 125 } 126 127 void signalInterrupt(int line); 128 void raiseInterruptPin(int number); 129 void lowerInterruptPin(int number); |
130 void registerLocalApic(int id, Interrupts *localApic); |
|
125}; 126 127}; // namespace X86ISA 128 129#endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__ | 131}; 132 133}; // namespace X86ISA 134 135#endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__ |