tsunami_cchip.cc (4870:fcc39d001154) tsunami_cchip.cc (4885:385a051ad874)
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;

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

447 int size = sys->threadContexts.size();
448 assert(size <= Tsunami::Max_CPUs);
449
450 for (int i = 0; i < size; i++) {
451 uint64_t cpumask = ULL(1) << i;
452 if (!(cpumask & itint)) {
453 itint |= cpumask;
454 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;

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

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

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

--- 93 unchanged lines hidden ---