thread_state.hh (5497:89a6483d7047) thread_state.hh (5499:8bfc7650c344)
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;

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

106 void profileSample();
107
108 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
109
110 FunctionalPort *getPhysPort() { return physPort; }
111
112 void setPhysPort(FunctionalPort *port) { physPort = port; }
113
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;

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

106 void profileSample();
107
108 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
109
110 FunctionalPort *getPhysPort() { return physPort; }
111
112 void setPhysPort(FunctionalPort *port) { physPort = port; }
113
114 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return virtPort; }
115
116 void setVirtPort(VirtualPort *port) { virtPort = port; }
114 VirtualPort *getVirtPort() { return virtPort; }
117#else
118 Process *getProcessPtr() { return process; }
119
120 TranslatingPort *getMemPort();
121
122 void setMemPort(TranslatingPort *_port) { port = _port; }
123
124 int getInstAsid() { return asid; }

--- 134 unchanged lines hidden ---
115#else
116 Process *getProcessPtr() { return process; }
117
118 TranslatingPort *getMemPort();
119
120 void setMemPort(TranslatingPort *_port) { port = _port; }
121
122 int getInstAsid() { return asid; }

--- 134 unchanged lines hidden ---