fetch_impl.hh (9040:cdfe09f9bdee) fetch_impl.hh (9057:f5ee56466b91)
1/*
2 * Copyright (c) 2010-2011 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

656
657 // Send the fault to commit. This thread will not do anything
658 // until commit handles the fault. The only other way it can
659 // wake up is if a squash comes along and changes the PC.
660 TheISA::PCState fetchPC = pc[tid];
661
662 DPRINTF(Fetch, "[tid:%i]: Translation faulted, building noop.\n", tid);
663 // We will use a nop in ordier to carry the fault.
1/*
2 * Copyright (c) 2010-2011 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

656
657 // Send the fault to commit. This thread will not do anything
658 // until commit handles the fault. The only other way it can
659 // wake up is if a squash comes along and changes the PC.
660 TheISA::PCState fetchPC = pc[tid];
661
662 DPRINTF(Fetch, "[tid:%i]: Translation faulted, building noop.\n", tid);
663 // We will use a nop in ordier to carry the fault.
664 DynInstPtr instruction = buildInst(tid, TheISA::NoopStaticInst,
664 DynInstPtr instruction = buildInst(tid,
665 decoder[tid]->decode(TheISA::NoopMachInst, fetchPC.instAddr()),
665 NULL, fetchPC, fetchPC, false);
666
667 instruction->setPredTarg(fetchPC);
668 instruction->fault = fault;
669 wroteToTimeBuffer = true;
670
671 DPRINTF(Activity, "Activity this cycle.\n");
672 cpu->activityThisCycle();

--- 934 unchanged lines hidden ---
666 NULL, fetchPC, fetchPC, false);
667
668 instruction->setPredTarg(fetchPC);
669 instruction->fault = fault;
670 wroteToTimeBuffer = true;
671
672 DPRINTF(Activity, "Activity this cycle.\n");
673 cpu->activityThisCycle();

--- 934 unchanged lines hidden ---