Hi Andreas, OK I see now, for Vexpress the main memory is mapped at 2GB.
Thanks allot. On Wed, Feb 20, 2013 at 4:52 PM, Andreas Hansson <andreas.hans...@arm.com> wrote: > Hi Mihai, > > What makes you think the memory is starting at 0x0? > > You can have a look at FSConfig.py in configs/common and Realview.py > src/dev/arm if you want to dig in a bit deeper in the memory maps of these > systems. > > Andreas > > On 20/02/2013 05:39, "mihai pricopi" <mihai.pric...@gmail.com> wrote: > >>To rephrase, I set the memory size --mem-size=256MB and the >>pkt->getAddr() or pkt->req->getPaddr() returns for example 0x80007c80. >>I run the benchmark after creating a checkpoint after booting the >>system. Would that mean that linux accesses some peripherals mapped at >>this address ? >> >>On Wed, Feb 20, 2013 at 1:35 PM, mihai pricopi <mihai.pric...@gmail.com> >>wrote: >>> I did that and I noticed that for the VExpress_EMM the L2 cache >>> physical addresses are in the 4GB range regardless of the physical >>> memory size I set for gem5. >>> Is this correct ? >>> >>> On Tue, Feb 19, 2013 at 8:59 PM, Ali Saidi <sa...@umich.edu> wrote: >>>> I think you'll have to carry it from the TLB. >>>> >>>> Ali >>>> >>>> On Feb 19, 2013, at 1:40 AM, mihai pricopi <mihai.pric...@gmail.com> >>>>wrote: >>>> >>>>> Hi, >>>>> >>>>> I am currently tracking the accesses at the L2 cache in an ARM FS >>>>> mode. I am extracting the physical address by calling the >>>>> pkt->getAddr() function >>>>> I am interested in the physical page number of this address. I know >>>>> uses variable page size (4 or 5 possible sizes) so I cannot assume >>>>> that all of them are 4K. >>>>> Is there a way to get it ? or do I have to carry the information from >>>>> the TLB translation to this level. >>>>> >>>>> Thanks >>>>> _______________________________________________ >>>>> 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 >> > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > _______________________________________________ > 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