thread_context.hh (3468:cf23ad1ceef2) thread_context.hh (3548:85e64c82c522)
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;

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

78#if FULL_SYSTEM
79 /** Returns a pointer to the system. */
80 virtual System *getSystemPtr() { return cpu->system; }
81
82 /** Returns a pointer to physical memory. */
83 virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }
84
85 /** Returns a pointer to this thread's kernel statistics. */
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;

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

78#if FULL_SYSTEM
79 /** Returns a pointer to the system. */
80 virtual System *getSystemPtr() { return cpu->system; }
81
82 /** Returns a pointer to physical memory. */
83 virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }
84
85 /** Returns a pointer to this thread's kernel statistics. */
86 virtual Kernel::Statistics *getKernelStats()
86 virtual TheISA::Kernel::Statistics *getKernelStats()
87 { return thread->kernelStats; }
88
89 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
90
91 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL);
92
93 void delVirtPort(VirtualPort *vp);
94#else

--- 156 unchanged lines hidden ---
87 { return thread->kernelStats; }
88
89 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
90
91 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL);
92
93 void delVirtPort(VirtualPort *vp);
94#else

--- 156 unchanged lines hidden ---