interrupts.hh (14294:d86488e6b60b) interrupts.hh (14295:16025a55b380)
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

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

200 void init() override;
201
202 /*
203 * Functions to interact with the interrupt port.
204 */
205 Tick read(PacketPtr pkt) override;
206 Tick write(PacketPtr pkt) override;
207 Tick recvMessage(PacketPtr pkt);
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

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

200 void init() override;
201
202 /*
203 * Functions to interact with the interrupt port.
204 */
205 Tick read(PacketPtr pkt) override;
206 Tick write(PacketPtr pkt) override;
207 Tick recvMessage(PacketPtr pkt);
208 Tick recvResponse(PacketPtr pkt) override;
208 bool recvResponse(PacketPtr pkt) override;
209
210 bool
211 triggerTimerInterrupt()
212 {
213 LVTEntry entry = regs[APIC_LVT_TIMER];
214 if (!entry.masked)
215 requestInterrupt(entry.vector, entry.deliveryMode, entry.trigger);
216 return entry.periodic;

--- 87 unchanged lines hidden ---
209
210 bool
211 triggerTimerInterrupt()
212 {
213 LVTEntry entry = regs[APIC_LVT_TIMER];
214 if (!entry.masked)
215 requestInterrupt(entry.vector, entry.deliveryMode, entry.trigger);
216 return entry.periodic;

--- 87 unchanged lines hidden ---