base.cc (5665:433182bf55c1) base.cc (5704:98224505352a)
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;

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

298BaseSimpleCPU::dbg_vtophys(Addr addr)
299{
300 return vtophys(tc, addr);
301}
302#endif // FULL_SYSTEM
303
304#if FULL_SYSTEM
305void
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;

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

298BaseSimpleCPU::dbg_vtophys(Addr addr)
299{
300 return vtophys(tc, addr);
301}
302#endif // FULL_SYSTEM
303
304#if FULL_SYSTEM
305void
306BaseSimpleCPU::post_interrupt(int int_num, int index)
306BaseSimpleCPU::postInterrupt(int int_num, int index)
307{
307{
308 BaseCPU::post_interrupt(int_num, index);
308 BaseCPU::postInterrupt(int_num, index);
309
310 if (thread->status() == ThreadContext::Suspended) {
311 DPRINTF(Quiesce,"Suspended Processor awoke\n");
312 thread->activate();
313 }
314}
315#endif // FULL_SYSTEM
316
317void
318BaseSimpleCPU::checkForInterrupts()
319{
320#if FULL_SYSTEM
309
310 if (thread->status() == ThreadContext::Suspended) {
311 DPRINTF(Quiesce,"Suspended Processor awoke\n");
312 thread->activate();
313 }
314}
315#endif // FULL_SYSTEM
316
317void
318BaseSimpleCPU::checkForInterrupts()
319{
320#if FULL_SYSTEM
321 if (check_interrupts(tc)) {
321 if (checkInterrupts(tc)) {
322 Fault interrupt = interrupts->getInterrupt(tc);
323
324 if (interrupt != NoFault) {
325 interrupts->updateIntrInfo(tc);
326 interrupt->invoke(tc);
327 }
328 }
329#endif

--- 210 unchanged lines hidden ---
322 Fault interrupt = interrupts->getInterrupt(tc);
323
324 if (interrupt != NoFault) {
325 interrupts->updateIntrInfo(tc);
326 interrupt->invoke(tc);
327 }
328 }
329#endif

--- 210 unchanged lines hidden ---