Re: [Gems-users] Physical/Virtual Addresses


Date: Fri, 3 Nov 2006 18:21:35 -0600 (CST)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Physical/Virtual Addresses
Ruby operates on Physical addresses.  However it is possible to get the
virtual address.  You can edit CacheMsg to include the virtual addrses
when the Simics transaction is converted to a CacheMsg.  See
SimicsDriver.C and SimicsProcessor.C



> Hi,
>
> I have a quick question on what type of addresses Ruby
> use. Does Simics send memory requests with physical
> addresses or virtual addresses?
>
> For example, if I define "long long ptr = 7F00000;" in
> my program, can I check this address in
> Sequencer::doRequest as follows?
>
> if (request.getAddress() == 7F00000) {
>  do something;
> }
>
> Thank you for your help!
>
> DZ
>
>
>
> ____________________________________________________________________________________
> We have the perfect Group for you. Check out the handy changes to Yahoo! Groups
> (http://groups.yahoo.com)
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
>
[← Prev in Thread] Current Thread [Next in Thread→]