timing.cc (5336:c7e21f4e5a2e) timing.cc (5348:7847a4bf9641)
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
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 checkPcEventQueue();
526
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 ---
527 Request *ifetch_req = new Request();
528 ifetch_req->setThreadContext(cpuId, /* thread ID */ 0);
529 Fault fault = setupFetchRequest(ifetch_req);
530
531 ifetch_pkt = new Packet(ifetch_req, MemCmd::ReadReq, Packet::Broadcast);
532 ifetch_pkt->dataStatic(&inst);
533
534 if (fault == NoFault) {

--- 345 unchanged lines hidden ---