simple_thread.hh (5702:bf84e2fa05f7) | simple_thread.hh (5715:e8c1d4e669a7) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 183 unchanged lines hidden (view full) --- 192#endif 193 194 /******************************************* 195 * ThreadContext interface functions. 196 ******************************************/ 197 198 BaseCPU *getCpuPtr() { return cpu; } 199 | 1/* 2 * Copyright (c) 2001-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; --- 183 unchanged lines hidden (view full) --- 192#endif 193 194 /******************************************* 195 * ThreadContext interface functions. 196 ******************************************/ 197 198 BaseCPU *getCpuPtr() { return cpu; } 199 |
200 int getThreadNum() { return tid; } 201 | |
202 TheISA::ITB *getITBPtr() { return itb; } 203 204 TheISA::DTB *getDTBPtr() { return dtb; } 205 206#if FULL_SYSTEM 207 System *getSystemPtr() { return system; } 208 209 FunctionalPort *getPhysPort() { return physPort; } --- 213 unchanged lines hidden --- | 200 TheISA::ITB *getITBPtr() { return itb; } 201 202 TheISA::DTB *getDTBPtr() { return dtb; } 203 204#if FULL_SYSTEM 205 System *getSystemPtr() { return system; } 206 207 FunctionalPort *getPhysPort() { return physPort; } --- 213 unchanged lines hidden --- |