diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-05-17 14:25:10 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-05-17 14:25:10 -0400 |
commit | 36581a534240c322e1fc28b8bd6e8f13f2b0fefd (patch) | |
tree | 591daea5b9133027c491e0f6a0dbfd15d4b01fb1 /cpu/ozone/front_end.hh | |
parent | 343bff3b7dadfe9f6e6062610a086dea0783722a (diff) | |
download | gem5-36581a534240c322e1fc28b8bd6e8f13f2b0fefd.tar.xz |
Faults generated at fetch are passed to the backend by creating a dummy nop instruction and giving it the fault. This unifies front end faults and normal instruction faults.
cpu/checker/cpu.cc:
Fixups for fetch fault being sent with the instruction.
cpu/o3/fetch_impl.hh:
cpu/ozone/front_end_impl.hh:
Send any faults generated at fetch along with a fake nop instruction to the back end. This avoids having to use direct communication to check if the entire front end has drained; it is naturally handled through the nop's fault being handled when it reaches the head of commit.
cpu/ozone/front_end.hh:
Add extra status TrapPending.
cpu/ozone/lw_back_end_impl.hh:
Fetch fault handled through a dummy nop carrying the fetch fault.
Avoid putting Nops on the exeList.
--HG--
extra : convert_revision : 8d9899748b34c204763a49c48a9b5113864f5789
Diffstat (limited to 'cpu/ozone/front_end.hh')
-rw-r--r-- | cpu/ozone/front_end.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/ozone/front_end.hh b/cpu/ozone/front_end.hh index f9db9ea5c..326f7d2c9 100644 --- a/cpu/ozone/front_end.hh +++ b/cpu/ozone/front_end.hh @@ -120,6 +120,7 @@ class FrontEnd SerializeComplete, RenameBlocked, QuiescePending, + TrapPending, BEBlocked }; |