thread_context.hh (5668:5b5a9f4203d1) thread_context.hh (5712:199d31b47f7b)
1/*
2 * Copyright (c) 2004-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;

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

70 TheISA::ITB *getITBPtr() { return cpu->itb; }
71
72 /** Returns a pointer to the DTB. */
73 TheISA::DTB *getDTBPtr() { return cpu->dtb; }
74
75 /** Returns a pointer to this CPU. */
76 virtual BaseCPU *getCpuPtr() { return cpu; }
77
1/*
2 * Copyright (c) 2004-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;

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

70 TheISA::ITB *getITBPtr() { return cpu->itb; }
71
72 /** Returns a pointer to the DTB. */
73 TheISA::DTB *getDTBPtr() { return cpu->dtb; }
74
75 /** Returns a pointer to this CPU. */
76 virtual BaseCPU *getCpuPtr() { return cpu; }
77
78 /** Sets this CPU's ID. */
79 virtual void setCpuId(int id) { cpu->setCpuId(id); }
80
81 /** Reads this CPU's ID. */
78 /** Reads this CPU's ID. */
82 virtual int readCpuId() { return cpu->readCpuId(); }
79 virtual int cpuId() { return cpu->cpuId(); }
83
84#if FULL_SYSTEM
85 /** Returns a pointer to the system. */
86 virtual System *getSystemPtr() { return cpu->system; }
87
88 /** Returns a pointer to physical memory. */
89 virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }
90

--- 211 unchanged lines hidden ---
80
81#if FULL_SYSTEM
82 /** Returns a pointer to the system. */
83 virtual System *getSystemPtr() { return cpu->system; }
84
85 /** Returns a pointer to physical memory. */
86 virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }
87

--- 211 unchanged lines hidden ---