On Thu, January 10, 2013 11:53 am, Jinchun Kim wrote:
> Thanks for the head up Nilay.
> I'm not sure how to check if it is valid or not, so I just printed out all
> tlb entry information and compared it.
>
> 4949688231000: system.cpu.dtb: tlb2[39] entry : VPN : 0x7fab3f32c000, PPN
> :
> 0x1facd000,
> logBytes : 12, writable : 0, user : 1, uncacheable : 0, global : 0, patBit
> : 1, noExec : 0, lruseq : 14322
> 4949688231000: system.cpu.dtb: tlb2[40] entry : VPN : 0x7fab3f32c000, PPN
> :
> 0x1facd000,
> logBytes : 12, writable : 1, user : 1, uncacheable : 0, global : 0, patBit
> : 1, noExec : 0, lruseq : 14566
>
> As you can see they have same translation but different bits in wirtalbe
> and lruseq.
> Is there any other way to check if the entry is vaild in trie and tlb?

Print whether or not trieHandle is NULL.

--
Nilay

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to