thread_context.hh (6029:007c36616f47) thread_context.hh (6180:1a8950d566ff)
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;

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

260
261 virtual uint64_t readNextNPC()
262 {
263 return this->cpu->readNextNPC(this->thread->threadId());
264 }
265
266 virtual void setNextNPC(uint64_t val)
267 {
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;

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

260
261 virtual uint64_t readNextNPC()
262 {
263 return this->cpu->readNextNPC(this->thread->threadId());
264 }
265
266 virtual void setNextNPC(uint64_t val)
267 {
268#if THE_ISA == ALPHA_ISA
269 panic("Not supported on Alpha!");
270#endif
271 this->cpu->setNextNPC(val, this->thread->threadId());
272 }
273};
274
275#endif
268 this->cpu->setNextNPC(val, this->thread->threadId());
269 }
270};
271
272#endif