base.cc (5890:bdef71accd68) | base.cc (5891:73084c6bb183) |
---|---|
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; --- 333 unchanged lines hidden (view full) --- 342#else 343 DPRINTF(Fetch,"Fetch: PC:%08p NPC:%08p\n",threadPC, 344 thread->readNextPC()); 345#endif 346 347 Addr fetchPC = (threadPC & PCMask) + fetchOffset; 348 req->setVirt(0, fetchPC, sizeof(MachInst), 0, threadPC); 349 | 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; --- 333 unchanged lines hidden (view full) --- 342#else 343 DPRINTF(Fetch,"Fetch: PC:%08p NPC:%08p\n",threadPC, 344 thread->readNextPC()); 345#endif 346 347 Addr fetchPC = (threadPC & PCMask) + fetchOffset; 348 req->setVirt(0, fetchPC, sizeof(MachInst), 0, threadPC); 349 |
350 Fault fault = thread->itb->translate(req, tc); | 350 Fault fault = thread->itb->translateAtomic(req, tc); |
351 352 return fault; 353} 354 355 356void 357BaseSimpleCPU::preExecute() 358{ --- 180 unchanged lines hidden --- | 351 352 return fault; 353} 354 355 356void 357BaseSimpleCPU::preExecute() 358{ --- 180 unchanged lines hidden --- |