cpu.cc (5314:e902f12a3af1) | cpu.cc (5336:c7e21f4e5a2e) |
---|---|
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; --- 66 unchanged lines hidden (view full) --- 75void 76FullO3CPU<Impl>::TickEvent::process() 77{ 78 cpu->tick(); 79} 80 81template <class Impl> 82const char * | 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; --- 66 unchanged lines hidden (view full) --- 75void 76FullO3CPU<Impl>::TickEvent::process() 77{ 78 cpu->tick(); 79} 80 81template <class Impl> 82const char * |
83FullO3CPU | 83FullO3CPU<Impl>::TickEvent::description() const |
84{ 85 return "FullO3CPU tick"; 86} 87 88template <class Impl> 89FullO3CPU<Impl>::ActivateThreadEvent::ActivateThreadEvent() 90 : Event(&mainEventQueue, CPU_Switch_Pri) 91{ --- 12 unchanged lines hidden (view full) --- 104void 105FullO3CPU<Impl>::ActivateThreadEvent::process() 106{ 107 cpu->activateThread(tid); 108} 109 110template <class Impl> 111const char * | 84{ 85 return "FullO3CPU tick"; 86} 87 88template <class Impl> 89FullO3CPU<Impl>::ActivateThreadEvent::ActivateThreadEvent() 90 : Event(&mainEventQueue, CPU_Switch_Pri) 91{ --- 12 unchanged lines hidden (view full) --- 104void 105FullO3CPU<Impl>::ActivateThreadEvent::process() 106{ 107 cpu->activateThread(tid); 108} 109 110template <class Impl> 111const char * |
112FullO3CPU | 112FullO3CPU<Impl>::ActivateThreadEvent::description() const |
113{ 114 return "FullO3CPU \"Activate Thread\""; 115} 116 117template <class Impl> 118FullO3CPU<Impl>::DeallocateContextEvent::DeallocateContextEvent() 119 : Event(&mainEventQueue, CPU_Tick_Pri), tid(0), remove(false), cpu(NULL) 120{ --- 15 unchanged lines hidden (view full) --- 136{ 137 cpu->deactivateThread(tid); 138 if (remove) 139 cpu->removeThread(tid); 140} 141 142template <class Impl> 143const char * | 113{ 114 return "FullO3CPU \"Activate Thread\""; 115} 116 117template <class Impl> 118FullO3CPU<Impl>::DeallocateContextEvent::DeallocateContextEvent() 119 : Event(&mainEventQueue, CPU_Tick_Pri), tid(0), remove(false), cpu(NULL) 120{ --- 15 unchanged lines hidden (view full) --- 136{ 137 cpu->deactivateThread(tid); 138 if (remove) 139 cpu->removeThread(tid); 140} 141 142template <class Impl> 143const char * |
144FullO3CPU | 144FullO3CPU<Impl>::DeallocateContextEvent::description() const |
145{ 146 return "FullO3CPU \"Deallocate Context\""; 147} 148 149template <class Impl> 150FullO3CPU<Impl>::FullO3CPU(O3CPU *o3_cpu, Params *params) 151 : BaseO3CPU(params), 152 itb(params->itb), --- 1316 unchanged lines hidden --- | 145{ 146 return "FullO3CPU \"Deallocate Context\""; 147} 148 149template <class Impl> 150FullO3CPU<Impl>::FullO3CPU(O3CPU *o3_cpu, Params *params) 151 : BaseO3CPU(params), 152 itb(params->itb), --- 1316 unchanged lines hidden --- |