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; --- 301 unchanged lines hidden (view full) --- 310void 311BaseSimpleCPU::checkForInterrupts() 312{ 313#if FULL_SYSTEM 314 if (checkInterrupts && check_interrupts(tc)) { 315 Fault interrupt = interrupts.getInterrupt(tc); 316 317 if (interrupt != NoFault) { |
318 interrupts.updateIntrInfo(tc); |
319 checkInterrupts = false; 320 interrupt->invoke(tc); 321 } 322 } 323#endif 324} 325 326 --- 154 unchanged lines hidden --- |