base.hh (5807:57f9f8b8e62f) | base.hh (5894:8091ac99341a) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 111 unchanged lines hidden (view full) --- 120 * objects to modify this thread's state. 121 */ 122 ThreadContext *tc; 123 protected: 124 125 enum Status { 126 Idle, 127 Running, | 1/* 2 * Copyright (c) 2002-2005 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; --- 111 unchanged lines hidden (view full) --- 120 * objects to modify this thread's state. 121 */ 122 ThreadContext *tc; 123 protected: 124 125 enum Status { 126 Idle, 127 Running, |
128 ITBWaitResponse, |
|
128 IcacheRetry, 129 IcacheWaitResponse, 130 IcacheWaitSwitch, | 129 IcacheRetry, 130 IcacheWaitResponse, 131 IcacheWaitSwitch, |
132 DTBWaitResponse, |
|
131 DcacheRetry, 132 DcacheWaitResponse, 133 DcacheWaitSwitch, 134 SwitchedOut 135 }; 136 137 Status _status; 138 --- 16 unchanged lines hidden (view full) --- 155 156 //This is the offset from the current pc that fetch should be performed at 157 Addr fetchOffset; 158 //This flag says to stay at the current pc. This is useful for 159 //instructions which go beyond MachInst boundaries. 160 bool stayAtPC; 161 162 void checkForInterrupts(); | 133 DcacheRetry, 134 DcacheWaitResponse, 135 DcacheWaitSwitch, 136 SwitchedOut 137 }; 138 139 Status _status; 140 --- 16 unchanged lines hidden (view full) --- 157 158 //This is the offset from the current pc that fetch should be performed at 159 Addr fetchOffset; 160 //This flag says to stay at the current pc. This is useful for 161 //instructions which go beyond MachInst boundaries. 162 bool stayAtPC; 163 164 void checkForInterrupts(); |
163 Fault setupFetchRequest(Request *req); | 165 void setupFetchRequest(Request *req); |
164 void preExecute(); 165 void postExecute(); 166 void advancePC(Fault fault); 167 168 virtual void deallocateContext(int thread_num); 169 virtual void haltContext(int thread_num); 170 171 // statistics --- 255 unchanged lines hidden --- | 166 void preExecute(); 167 void postExecute(); 168 void advancePC(Fault fault); 169 170 virtual void deallocateContext(int thread_num); 171 virtual void haltContext(int thread_num); 172 173 // statistics --- 255 unchanged lines hidden --- |