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; --- 222 unchanged lines hidden (view full) --- 231 } 232 233 if (fault != NoFault) { 234#if FULL_SYSTEM 235 fault->invoke(tc); 236 willChangePC = true; 237 newPC = thread->readPC(); 238 DPRINTF(Checker, "Fault, PC is now %#x\n", newPC); |
239#endif |
240 } else { 241#if THE_ISA != MIPS_ISA 242 // go to the next instruction 243 thread->setPC(thread->readNextPC()); 244 thread->setNextPC(thread->readNextPC() + sizeof(MachInst)); 245#else 246 // go to the next instruction 247 thread->setPC(thread->readNextPC()); --- 211 unchanged lines hidden --- |