ev5.cc (5569:baeee670d4ce) | ev5.cc (5639:67cc7f0427e7) |
---|---|
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; --- 538 unchanged lines hidden (view full) --- 547} 548 549} // namespace AlphaISA 550 551#if FULL_SYSTEM 552 553using namespace AlphaISA; 554 | 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; --- 538 unchanged lines hidden (view full) --- 547} 548 549} // namespace AlphaISA 550 551#if FULL_SYSTEM 552 553using namespace AlphaISA; 554 |
555Fault 556SimpleThread::hwrei() 557{ 558 if (!(readPC() & 0x3)) 559 return new UnimplementedOpcodeFault; 560 561 setNextPC(readMiscRegNoEffect(IPR_EXC_ADDR)); 562 563 if (!misspeculating()) { 564 if (kernelStats) 565 kernelStats->hwrei(); 566 } 567 568 // FIXME: XXX check for interrupts? XXX 569 return NoFault; 570} 571 | |
572/** 573 * Check for special simulator handling of specific PAL calls. 574 * If return value is false, actual PAL call will be suppressed. 575 */ 576bool 577SimpleThread::simPalCheck(int palFunc) 578{ 579 if (kernelStats) --- 20 unchanged lines hidden --- | 555/** 556 * Check for special simulator handling of specific PAL calls. 557 * If return value is false, actual PAL call will be suppressed. 558 */ 559bool 560SimpleThread::simPalCheck(int palFunc) 561{ 562 if (kernelStats) --- 20 unchanged lines hidden --- |