thread_context.hh (5715:e8c1d4e669a7) thread_context.hh (5803:aae3d7089925)
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 int contextId() = 0;
125
126 virtual void setContextId(int id) = 0;
127
128 virtual TheISA::ITB *getITBPtr() = 0;
129
130 virtual TheISA::DTB *getDTBPtr() = 0;
131
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 int contextId() = 0;
125
126 virtual void setContextId(int id) = 0;
127
128 virtual TheISA::ITB *getITBPtr() = 0;
129
130 virtual TheISA::DTB *getDTBPtr() = 0;
131
132#if FULL_SYSTEM
133 virtual System *getSystemPtr() = 0;
134
132 virtual System *getSystemPtr() = 0;
133
134#if FULL_SYSTEM
135 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
136
137 virtual FunctionalPort *getPhysPort() = 0;
138
139 virtual VirtualPort *getVirtPort() = 0;
140
141 virtual void connectMemPorts(ThreadContext *tc) = 0;
142#else

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

313 int contextId() { return actualTC->contextId(); }
314
315 void setContextId(int id) { actualTC->setContextId(id); }
316
317 TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); }
318
319 TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); }
320
135 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
136
137 virtual FunctionalPort *getPhysPort() = 0;
138
139 virtual VirtualPort *getVirtPort() = 0;
140
141 virtual void connectMemPorts(ThreadContext *tc) = 0;
142#else

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

313 int contextId() { return actualTC->contextId(); }
314
315 void setContextId(int id) { actualTC->setContextId(id); }
316
317 TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); }
318
319 TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); }
320
321#if FULL_SYSTEM
322 System *getSystemPtr() { return actualTC->getSystemPtr(); }
323
321 System *getSystemPtr() { return actualTC->getSystemPtr(); }
322
323#if FULL_SYSTEM
324 TheISA::Kernel::Statistics *getKernelStats()
325 { return actualTC->getKernelStats(); }
326
327 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
328
329 VirtualPort *getVirtPort() { return actualTC->getVirtPort(); }
330
331 void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }

--- 145 unchanged lines hidden ---
324 TheISA::Kernel::Statistics *getKernelStats()
325 { return actualTC->getKernelStats(); }
326
327 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
328
329 VirtualPort *getVirtPort() { return actualTC->getVirtPort(); }
330
331 void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }

--- 145 unchanged lines hidden ---