1/*
2 * Copyright (c) 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;

--- 115 unchanged lines hidden (view full) ---

124 virtual Decoder *getDecoderPtr() = 0;
125
126 virtual System *getSystemPtr() = 0;
127
128#if FULL_SYSTEM
129 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
130
131 virtual void connectMemPorts(ThreadContext *tc) = 0;
132#else
133 virtual Process *getProcessPtr() = 0;
132#endif
133 virtual Process *getProcessPtr() = 0;
134
135 virtual TranslatingPort *getMemPort() = 0;
136
137 virtual VirtualPort *getVirtPort() = 0;
138
139 virtual FunctionalPort *getPhysPort() = 0;
140
141 virtual Status status() const = 0;

--- 151 unchanged lines hidden (view full) ---

293
294 System *getSystemPtr() { return actualTC->getSystemPtr(); }
295
296#if FULL_SYSTEM
297 TheISA::Kernel::Statistics *getKernelStats()
298 { return actualTC->getKernelStats(); }
299
300 void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }
302#else
303 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
301#endif
302 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
303
304 TranslatingPort *getMemPort() { return actualTC->getMemPort(); }
305
306 VirtualPort *getVirtPort() { return actualTC->getVirtPort(); }
307
308 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
309
310 Status status() const { return actualTC->status(); }

--- 111 unchanged lines hidden ---