thread_context.hh (4172:141705d83494) thread_context.hh (4997:e7380529bd2d)
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;

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

79 void setCpuId(int id)
80 {
81 actualTC->setCpuId(id);
82 checkerTC->setCpuId(id);
83 }
84
85 int readCpuId() { return actualTC->readCpuId(); }
86
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;

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

79 void setCpuId(int id)
80 {
81 actualTC->setCpuId(id);
82 checkerTC->setCpuId(id);
83 }
84
85 int readCpuId() { return actualTC->readCpuId(); }
86
87 TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); }
88
89 TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); }
90
87#if FULL_SYSTEM
88 System *getSystemPtr() { return actualTC->getSystemPtr(); }
89
90 PhysicalMemory *getPhysMemPtr() { return actualTC->getPhysMemPtr(); }
91
91#if FULL_SYSTEM
92 System *getSystemPtr() { return actualTC->getSystemPtr(); }
93
94 PhysicalMemory *getPhysMemPtr() { return actualTC->getPhysMemPtr(); }
95
92 TheISA::ITB *getITBPtr() { return actualTC->getITBPtr(); }
93
94 TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); }
95
96 TheISA::Kernel::Statistics *getKernelStats()
97 { return actualTC->getKernelStats(); }
98
99 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
100
101 VirtualPort *getVirtPort(ThreadContext *tc = NULL)
102 { return actualTC->getVirtPort(); }
103

--- 204 unchanged lines hidden ---
96 TheISA::Kernel::Statistics *getKernelStats()
97 { return actualTC->getKernelStats(); }
98
99 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
100
101 VirtualPort *getVirtPort(ThreadContext *tc = NULL)
102 { return actualTC->getVirtPort(); }
103

--- 204 unchanged lines hidden ---