simple_thread.hh (5779:c0d731772342) simple_thread.hh (5803:aae3d7089925)
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;

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

196 ******************************************/
197
198 BaseCPU *getCpuPtr() { return cpu; }
199
200 TheISA::ITB *getITBPtr() { return itb; }
201
202 TheISA::DTB *getDTBPtr() { return dtb; }
203
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;

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

196 ******************************************/
197
198 BaseCPU *getCpuPtr() { return cpu; }
199
200 TheISA::ITB *getITBPtr() { return itb; }
201
202 TheISA::DTB *getDTBPtr() { return dtb; }
203
204#if FULL_SYSTEM
205 System *getSystemPtr() { return system; }
206
204 System *getSystemPtr() { return system; }
205
206#if FULL_SYSTEM
207 FunctionalPort *getPhysPort() { return physPort; }
208
209 /** Return a virtual port. This port cannot be cached locally in an object.
210 * After a CPU switch it may point to the wrong memory object which could
211 * mean stale data.
212 */
213 VirtualPort *getVirtPort() { return virtPort; }
214#endif

--- 213 unchanged lines hidden ---
207 FunctionalPort *getPhysPort() { return physPort; }
208
209 /** Return a virtual port. This port cannot be cached locally in an object.
210 * After a CPU switch it may point to the wrong memory object which could
211 * mean stale data.
212 */
213 VirtualPort *getVirtPort() { return virtPort; }
214#endif

--- 213 unchanged lines hidden ---