interrupts.hh (9805:a4339e26b429) | interrupts.hh (9807:63d7362bbdf2) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 58 unchanged lines hidden (view full) --- 67class BaseCPU; 68 69int divideFromConf(uint32_t conf); 70 71namespace X86ISA { 72 73ApicRegIndex decodeAddr(Addr paddr); 74 | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 58 unchanged lines hidden (view full) --- 67class BaseCPU; 68 69int divideFromConf(uint32_t conf); 70 71namespace X86ISA { 72 73ApicRegIndex decodeAddr(Addr paddr); 74 |
75class Interrupts : public BasicPioDevice, IntDev | 75class Interrupts : public BasicPioDevice, IntDevice |
76{ 77 protected: 78 // Storage for the APIC registers 79 uint32_t regs[NUM_APIC_REGS]; 80 81 BitUnion32(LVTEntry) 82 Bitfield<7, 0> vector; 83 Bitfield<10, 8> deliveryMode; --- 126 unchanged lines hidden (view full) --- 210 } 211 212 /* 213 * Initialize this object by registering it with the IO APIC. 214 */ 215 void init(); 216 217 /* | 76{ 77 protected: 78 // Storage for the APIC registers 79 uint32_t regs[NUM_APIC_REGS]; 80 81 BitUnion32(LVTEntry) 82 Bitfield<7, 0> vector; 83 Bitfield<10, 8> deliveryMode; --- 126 unchanged lines hidden (view full) --- 210 } 211 212 /* 213 * Initialize this object by registering it with the IO APIC. 214 */ 215 void init(); 216 217 /* |
218 * Functions to interact with the interrupt port from IntDev. | 218 * Functions to interact with the interrupt port from IntDevice. |
219 */ 220 Tick read(PacketPtr pkt); 221 Tick write(PacketPtr pkt); 222 Tick recvMessage(PacketPtr pkt); 223 Tick recvResponse(PacketPtr pkt); 224 225 bool 226 triggerTimerInterrupt() --- 86 unchanged lines hidden --- | 219 */ 220 Tick read(PacketPtr pkt); 221 Tick write(PacketPtr pkt); 222 Tick recvMessage(PacketPtr pkt); 223 Tick recvResponse(PacketPtr pkt); 224 225 bool 226 triggerTimerInterrupt() --- 86 unchanged lines hidden --- |