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
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 ---
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
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 ---