base.cc (11148:1bc3d93c7eaa) | base.cc (11150:a8a64cca231b) |
---|---|
1/* 2 * Copyright (c) 2010-2012,2015 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 421 unchanged lines hidden (view full) --- 430void 431BaseSimpleCPU::checkForInterrupts() 432{ 433 SimpleExecContext&t_info = *threadInfo[curThread]; 434 SimpleThread* thread = t_info.thread; 435 ThreadContext* tc = thread->getTC(); 436 437 if (checkInterrupts(tc)) { | 1/* 2 * Copyright (c) 2010-2012,2015 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 421 unchanged lines hidden (view full) --- 430void 431BaseSimpleCPU::checkForInterrupts() 432{ 433 SimpleExecContext&t_info = *threadInfo[curThread]; 434 SimpleThread* thread = t_info.thread; 435 ThreadContext* tc = thread->getTC(); 436 437 if (checkInterrupts(tc)) { |
438 Fault interrupt = interrupts->getInterrupt(tc); | 438 Fault interrupt = interrupts[curThread]->getInterrupt(tc); |
439 440 if (interrupt != NoFault) { 441 t_info.fetchOffset = 0; | 439 440 if (interrupt != NoFault) { 441 t_info.fetchOffset = 0; |
442 interrupts->updateIntrInfo(tc); | 442 interrupts[curThread]->updateIntrInfo(tc); |
443 interrupt->invoke(tc); 444 thread->decoder.reset(); 445 } 446 } 447} 448 449 450void --- 237 unchanged lines hidden --- | 443 interrupt->invoke(tc); 444 thread->decoder.reset(); 445 } 446 } 447} 448 449 450void --- 237 unchanged lines hidden --- |