Hi Zhiguo, The TLB code in gem5 -- sure. However something needs to create the page table still since the OS running under gem5 would typically do this. It's likely that all the required processor registers aren't appropriately initialized to do a table walk in SE mode, so that would need to be fixed too. Why not run in FS mode?
Ali On Aug 5, 2013, at 12:04 AM, GE ZHIGUO <ge.zhi...@huawei.com> wrote: > Hi, Ali > Thanks! > To enable TLB in SE, can we reuse the TLB code for FS mode with minor > modification? > The difference between SE and FS that I can think is that SE cannot support > page fault if I am not wrong. > But as you said, we can create a complete page table to handle this issue. > Apart from this, are there other > issues we need to handle? > > Regards, > Zhiguo > > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Ali Saidi > Sent: Monday, August 05, 2013 12:45 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] About TLB in SE mode > > > To use a the tlb (and have table walks) you would need to create a complete > page table. While doable, FS mode provides this if you want to use it. > > Ali > > On Aug 4, 2013, at 11:41 PM, GE ZHIGUO <ge.zhi...@huawei.com> wrote: > > > Hi, > I found that the TLB implementation in SE mode is much different from > that in full system mode. > There is actually no real TLB in SE. I am curious why TLB is so different in > GEM5 SE mode. > Is there anything that prevents us from using TLB in SE? Can we implement > TLB in SE mode? > > Thanks! > > Zhiguo > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users