----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/1511/#review3616 -----------------------------------------------------------
Ship it! Ship It! - Anthony Gutierrez On Oct. 24, 2012, 3:10 p.m., Ali Saidi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/1511/ > ----------------------------------------------------------- > > (Updated Oct. 24, 2012, 3:10 p.m.) > > > Review request for Default. > > > Description > ------- > > Changeset 9335:c0639bb5beaa > --------------------------- > sim: Add drain methods to request additional cleanup operations > > This patch adds the following two methods to the Drainable base class: > > memWriteback() - Write back all dirty cache lines to memory using > functional accesses. > > memInvalidate() - Invalidate memory system buffers. Dirty data > won't be written back. > > Specifying calling memWriteback() after draining will allow us to > checkpoint systems with caches. memInvalidate() can be used to drop > memory system buffers in preparation for switching to an accelerated > CPU model that bypasses the gem5 memory system (e.g., hardware > virtualized CPUs). > > Note: This patch only adds the methods to Drainable, the code for > flushing the TLB and the cache is committed separately. > > > Diffs > ----- > > src/python/m5/simulate.py f634a34f2f0b > src/sim/drain.hh PRE-CREATION > > Diff: http://reviews.gem5.org/r/1511/diff/ > > > Testing > ------- > > > Thanks, > > Ali Saidi > > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
