tsunami_cchip.cc (4103:785279436bdd) tsunami_cchip.cc (4739:9f8edf47aeca)
1/*
2 * Copyright (c) 2004-2005 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;

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

448 int size = sys->threadContexts.size();
449 assert(size <= Tsunami::Max_CPUs);
450
451 for (int i = 0; i < size; i++) {
452 uint64_t cpumask = ULL(1) << i;
453 if (!(cpumask & itint)) {
454 itint |= cpumask;
455 tsunami->intrctrl->post(i, TheISA::INTLEVEL_IRQ2, 0);
1/*
2 * Copyright (c) 2004-2005 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;

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

448 int size = sys->threadContexts.size();
449 assert(size <= Tsunami::Max_CPUs);
450
451 for (int i = 0; i < size; i++) {
452 uint64_t cpumask = ULL(1) << i;
453 if (!(cpumask & itint)) {
454 itint |= cpumask;
455 tsunami->intrctrl->post(i, TheISA::INTLEVEL_IRQ2, 0);
456 DPRINTF(Tsunami, "Posting RTC interrupt to cpu=%d", i);
456 DPRINTF(Tsunami, "Posting RTC interrupt to cpu=%d\n", i);
457 }
458 }
459
460}
461
462void
463TsunamiCChip::postDRIR(uint32_t interrupt)
464{

--- 93 unchanged lines hidden ---
457 }
458 }
459
460}
461
462void
463TsunamiCChip::postDRIR(uint32_t interrupt)
464{

--- 93 unchanged lines hidden ---