ev5.cc (2665:a124942bacb8) | ev5.cc (2667:fe64b8353b1c) |
---|---|
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; --- 550 unchanged lines hidden (view full) --- 559CPUExecContext::simPalCheck(int palFunc) 560{ 561 cpu->kernelStats->callpal(palFunc, proxy); 562 563 switch (palFunc) { 564 case PAL::halt: 565 halt(); 566 if (--System::numSystemsRunning == 0) | 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; --- 550 unchanged lines hidden (view full) --- 559CPUExecContext::simPalCheck(int palFunc) 560{ 561 cpu->kernelStats->callpal(palFunc, proxy); 562 563 switch (palFunc) { 564 case PAL::halt: 565 halt(); 566 if (--System::numSystemsRunning == 0) |
567 new SimExitEvent("all cpus halted"); | 567 exitSimLoop("all cpus halted"); |
568 break; 569 570 case PAL::bpt: 571 case PAL::bugchk: 572 if (system->breakpoint()) 573 return false; 574 break; 575 } 576 577 return true; 578} 579 580#endif // FULL_SYSTEM | 568 break; 569 570 case PAL::bpt: 571 case PAL::bugchk: 572 if (system->breakpoint()) 573 return false; 574 break; 575 } 576 577 return true; 578} 579 580#endif // FULL_SYSTEM |