SE/FS: Make getProcessPtr available in both modes, and get rid of FULL_SYSTEMs.
This commit is contained in:
@@ -85,11 +85,7 @@ InOrderThreadContext::takeOverFrom(ThreadContext *old_context)
|
||||
{
|
||||
// some things should already be set up
|
||||
assert(getSystemPtr() == old_context->getSystemPtr());
|
||||
#if !FULL_SYSTEM
|
||||
assert(getProcessPtr() == old_context->getProcessPtr());
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// copy over functional state
|
||||
setStatus(old_context->status());
|
||||
|
||||
@@ -142,10 +142,9 @@ class InOrderThreadContext : public ThreadContext
|
||||
{
|
||||
return this->thread->quiesceEvent;
|
||||
}
|
||||
#else
|
||||
#endif
|
||||
/** Returns a pointer to this thread's process. */
|
||||
Process *getProcessPtr() { return thread->getProcessPtr(); }
|
||||
#endif
|
||||
|
||||
TranslatingPort *getMemPort() { return thread->getMemPort(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user