interrupts.hh (6050:852ba59fa8d9) interrupts.hh (6064:46d327d42036)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

208 }
209
210 /*
211 * Functions to interact with the interrupt port from IntDev.
212 */
213 Tick read(PacketPtr pkt);
214 Tick write(PacketPtr pkt);
215 Tick recvMessage(PacketPtr pkt);
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

208 }
209
210 /*
211 * Functions to interact with the interrupt port from IntDev.
212 */
213 Tick read(PacketPtr pkt);
214 Tick write(PacketPtr pkt);
215 Tick recvMessage(PacketPtr pkt);
216 Tick recvResponse(PacketPtr pkt);
216
217 bool
218 triggerTimerInterrupt()
219 {
220 LVTEntry entry = regs[APIC_LVT_TIMER];
221 if (!entry.masked)
222 requestInterrupt(entry.vector, entry.deliveryMode, entry.trigger);
223 return entry.periodic;

--- 80 unchanged lines hidden ---
217
218 bool
219 triggerTimerInterrupt()
220 {
221 LVTEntry entry = regs[APIC_LVT_TIMER];
222 if (!entry.masked)
223 requestInterrupt(entry.vector, entry.deliveryMode, entry.trigger);
224 return entry.periodic;

--- 80 unchanged lines hidden ---