interrupts.cc (5704:98224505352a) interrupts.cc (5811:219a39f70082)
1/*
2 * Copyright (c) 2008 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 *

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

276 } else if (deliveryMode == DeliveryMode::ExtInt && !pendingExtInt) {
277 pendingExtInt = true;
278 extIntVector = vector;
279 } else if (deliveryMode == DeliveryMode::INIT && !pendingInit) {
280 pendingUnmaskableInt = pendingInit = true;
281 initVector = vector;
282 }
283 }
1/*
2 * Copyright (c) 2008 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 *

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

276 } else if (deliveryMode == DeliveryMode::ExtInt && !pendingExtInt) {
277 pendingExtInt = true;
278 extIntVector = vector;
279 } else if (deliveryMode == DeliveryMode::INIT && !pendingInit) {
280 pendingUnmaskableInt = pendingInit = true;
281 initVector = vector;
282 }
283 }
284 cpu->wakeup();
284}
285
286Tick
287X86ISA::Interrupts::recvMessage(PacketPtr pkt)
288{
289 uint8_t id = 0;
290 Addr offset = pkt->getAddr() - x86InterruptAddress(id, 0);
291 assert(pkt->cmd == MemCmd::MessageReq);

--- 268 unchanged lines hidden ---
285}
286
287Tick
288X86ISA::Interrupts::recvMessage(PacketPtr pkt)
289{
290 uint8_t id = 0;
291 Addr offset = pkt->getAddr() - x86InterruptAddress(id, 0);
292 assert(pkt->cmd == MemCmd::MessageReq);

--- 268 unchanged lines hidden ---