simple_thread.hh (7601:bf0aa77f8908) simple_thread.hh (7678:f19b6a3a8cec)
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;

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

236 /// Set the status to Suspended.
237 void suspend();
238
239 /// Set the status to Halted.
240 void halt();
241
242 virtual bool misspeculating();
243
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;

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

236 /// Set the status to Suspended.
237 void suspend();
238
239 /// Set the status to Halted.
240 void halt();
241
242 virtual bool misspeculating();
243
244 Fault instRead(RequestPtr &req)
245 {
246 panic("instRead not implemented");
247 // return funcPhysMem->read(req, inst);
248 return NoFault;
249 }
250
251 void copyArchRegs(ThreadContext *tc);
252
253 void clearArchRegs()
254 {
255 microPC = 0;
256 nextMicroPC = 1;
257 PC = nextPC = nextNPC = 0;
258 memset(intRegs, 0, sizeof(intRegs));

--- 188 unchanged lines hidden ---
244 void copyArchRegs(ThreadContext *tc);
245
246 void clearArchRegs()
247 {
248 microPC = 0;
249 nextMicroPC = 1;
250 PC = nextPC = nextNPC = 0;
251 memset(intRegs, 0, sizeof(intRegs));

--- 188 unchanged lines hidden ---