Yessir!  Total hack which was lucky to work.  I'm just using it to test
beyond the readfile bug while I work on a better solution.

On Thu, Jul 1, 2010 at 12:23 PM, nathan binkert <[email protected]> wrote:

> > For the readfile problem, I hacked vtophys to just do a lookup in the
> TLBs,
> > and it solved the address translation problem (quick solution so I can
> > continue with further tests).  The TLB lookup function supports accesses
> > that don't update LRU bits, so I was thinking the same principle could be
> > applied to the walker state.  (I haven't dug into a lot of the code, so
> I'm
> > not sure if thats a common or agreed upon convention)
>
> This is a total hack, right?  If you're only looking in the TLB,
> you're getting lucky because the page is present, right?  If so, I
> suggest putting a hack("") statement in the code (or hack_once), and
> make sure you don't commit it.
>
>  Nate
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>



-- 
 Joel Hestness
 PhD Student, Computer Architecture
 Dept. of Computer Science, University of Texas - Austin
 http://www.cs.utexas.edu/~hestness
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to