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; --- 22 unchanged lines hidden (view full) --- 31 32#include "arch/regfile.hh" 33#include "cpu/o3/thread_context.hh" 34#include "cpu/quiesce_event.hh" 35 36#if FULL_SYSTEM 37template <class Impl> 38VirtualPort * |
39O3ThreadContext |
40{ |
41 return thread->getVirtPort(); |
42} 43 44template <class Impl> 45void 46O3ThreadContext<Impl>::dumpFuncProfile() 47{ 48 thread->dumpFuncProfile(); 49} --- 35 unchanged lines hidden (view full) --- 85#endif 86 87 old_context->setStatus(ThreadContext::Unallocated); 88 89 thread->inSyscall = false; 90 thread->trapPending = false; 91} 92 |
93template <class Impl> 94void |
95O3ThreadContext<Impl>::activate(int delay) 96{ 97 DPRINTF(O3CPU, "Calling activate on Thread Context %d\n", 98 getThreadNum()); 99 100 if (thread->status() == ThreadContext::Active) 101 return; 102 --- 407 unchanged lines hidden --- |