Re: [Gems-users] ruby_operate


Date: Wed, 17 Jan 2007 13:20:58 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] ruby_operate
Is ptr = 0xff26e000 a virtual or physical address? How do you know ptr = 0xff26e000?

Dave Z. wrote:
Hi,

I'm trying to catch some accesses in ruby_operate (ruby.c) using the following:

 if ((mem_op->s.physical_address >= 0xff26e000) && (mem_op->s.physical_address < 0xff26e00f))
printf("Accessing physical address %x\n", mem_op->s.physical_address);
In my benchmarks, I have int* ptr (where ptr = ff26e000). But the following accesses are not caught in ruby_operate:

ptr[0] = value;
x = ptr[1];
...

Is there something wrong with what I'm doing?

Thanks








____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

_______________________________________________
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.


--
http://www.cs.wisc.edu/~gibson [esc]:wq!

[← Prev in Thread] Current Thread [Next in Thread→]