Deleted Added
sdiff udiff text old ( 5336:c7e21f4e5a2e ) new ( 5348:7847a4bf9641 )
full compact
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;

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

517void
518TimingSimpleCPU::fetch()
519{
520 DPRINTF(SimpleCPU, "Fetch\n");
521
522 if (!curStaticInst || !curStaticInst->isDelayedCommit())
523 checkForInterrupts();
524
525 Request *ifetch_req = new Request();
526 ifetch_req->setThreadContext(cpuId, /* thread ID */ 0);
527 Fault fault = setupFetchRequest(ifetch_req);
528
529 ifetch_pkt = new Packet(ifetch_req, MemCmd::ReadReq, Packet::Broadcast);
530 ifetch_pkt->dataStatic(&inst);
531
532 if (fault == NoFault) {

--- 345 unchanged lines hidden ---