cpu.cc (5606:6da7a58b0bc8) | cpu.cc (5639:67cc7f0427e7) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 892 unchanged lines hidden (view full) --- 901 902 if (this->thread[0]->status() == ThreadContext::Suspended) { 903 DPRINTF(IPI,"Suspended Processor awoke\n"); 904 this->threadContexts[0]->activate(); 905 } 906} 907 908template <class Impl> | 1/* 2 * Copyright (c) 2004-2006 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; --- 892 unchanged lines hidden (view full) --- 901 902 if (this->thread[0]->status() == ThreadContext::Suspended) { 903 DPRINTF(IPI,"Suspended Processor awoke\n"); 904 this->threadContexts[0]->activate(); 905 } 906} 907 908template <class Impl> |
909Fault 910FullO3CPU<Impl>::hwrei(unsigned tid) 911{ 912#if THE_ISA == ALPHA_ISA 913 // Need to clear the lock flag upon returning from an interrupt. 914 this->setMiscRegNoEffect(AlphaISA::MISCREG_LOCKFLAG, false, tid); 915 916 this->thread[tid]->kernelStats->hwrei(); 917 918 // FIXME: XXX check for interrupts? XXX 919#endif 920 return NoFault; 921} 922 923template <class Impl> | |
924bool 925FullO3CPU<Impl>::simPalCheck(int palFunc, unsigned tid) 926{ 927#if THE_ISA == ALPHA_ISA 928 if (this->thread[tid]->kernelStats) 929 this->thread[tid]->kernelStats->callpal(palFunc, 930 this->threadContexts[tid]); 931 --- 812 unchanged lines hidden --- | 909bool 910FullO3CPU<Impl>::simPalCheck(int palFunc, unsigned tid) 911{ 912#if THE_ISA == ALPHA_ISA 913 if (this->thread[tid]->kernelStats) 914 this->thread[tid]->kernelStats->callpal(palFunc, 915 this->threadContexts[tid]); 916 --- 812 unchanged lines hidden --- |