On Mon, 13 Aug 2012, Hanna Alam wrote:

hello ,
in X86 (O.O.O.) when a page fault occurs , do gem5 does a total pipe flush
or what is being done ?
if the answer is yes i would appreciate a pointer to where it's being done
.

Take a look at the function commitHead() in the file src/cpu/o3/commit_impl.hh.


on a slightly different issue , assuming i want to flush the pipe and load
a different RIP can you give me some advice to get started ? ( i.e. what
should i look out for, what pre-existing function are there, some
example scenario,.. )


You can rewrite the PC to anything you like, and that should do it. Assuming you are doing this on a page fault, take a look at src/arch/x86/faults.cc. The micro pc is being overwritten in the function X86FaultBase::invoke().

--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to