> The file I'm referring to is arch/alpha/tlb.cc and specifically the
> translateAtomic() function implemented there.
>
> Basically, having the "Read" mode is irrelevant there since it's given a
> default type of "write" when it calls translateData(). Then in the
> translateData() function it goes ahead and gets the mode from a system
> register.
>
> So either I'm mixing up what "mode" means or that extra mode (at least for
> translateAtomic()) is just extra there.
It's not given write.  There's a check to see if the mode is write.
the code is "mode == Write" not "Write", so a true is passed in if
it's a write and a false if it's a read.

Or is this not the issue?
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to