base.cc (5529:9ae69b9cd7fd) base.cc (5647:b06b49498c79)
1/*
2 * Copyright (c) 2002-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;

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

314}
315#endif // FULL_SYSTEM
316
317void
318BaseSimpleCPU::checkForInterrupts()
319{
320#if FULL_SYSTEM
321 if (check_interrupts(tc)) {
1/*
2 * Copyright (c) 2002-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;

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

314}
315#endif // FULL_SYSTEM
316
317void
318BaseSimpleCPU::checkForInterrupts()
319{
320#if FULL_SYSTEM
321 if (check_interrupts(tc)) {
322 Fault interrupt = interrupts.getInterrupt(tc);
322 Fault interrupt = interrupts->getInterrupt(tc);
323
324 if (interrupt != NoFault) {
323
324 if (interrupt != NoFault) {
325 interrupts.updateIntrInfo(tc);
325 interrupts->updateIntrInfo(tc);
326 interrupt->invoke(tc);
327 }
328 }
329#endif
330}
331
332
333Fault

--- 203 unchanged lines hidden ---
326 interrupt->invoke(tc);
327 }
328 }
329#endif
330}
331
332
333Fault

--- 203 unchanged lines hidden ---