i82094aa.cc (11144:90eeefe7e341) i82094aa.cc (11150:a8a64cca231b)
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

219 apics.push_back(i);
220 }
221 } else {
222 apics.push_back(message.destination);
223 }
224 } else {
225 for (int i = 0; i < numContexts; i++) {
226 Interrupts *localApic = sys->getThreadContext(i)->
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

219 apics.push_back(i);
220 }
221 } else {
222 apics.push_back(message.destination);
223 }
224 } else {
225 for (int i = 0; i < numContexts; i++) {
226 Interrupts *localApic = sys->getThreadContext(i)->
227 getCpuPtr()->getInterruptController();
227 getCpuPtr()->getInterruptController(0);
228 if ((localApic->readReg(APIC_LOGICAL_DESTINATION) >> 24) &
229 message.destination) {
230 apics.push_back(localApic->getInitialApicId());
231 }
232 }
233 if (message.deliveryMode == DeliveryMode::LowestPriority &&
234 apics.size()) {
235 // The manual seems to suggest that the chipset just does

--- 69 unchanged lines hidden ---
228 if ((localApic->readReg(APIC_LOGICAL_DESTINATION) >> 24) &
229 message.destination) {
230 apics.push_back(localApic->getInitialApicId());
231 }
232 }
233 if (message.deliveryMode == DeliveryMode::LowestPriority &&
234 apics.size()) {
235 // The manual seems to suggest that the chipset just does

--- 69 unchanged lines hidden ---