Re: [Gems-users] Ruby for x86 machine


Date: Tue, 29 Dec 2009 12:37:08 +0800
From: Sitos Lin <sitos.lin@xxxxxxxxx>
Subject: Re: [Gems-users] Ruby for x86 machine
Hello:
  I attach Ruby to the x86 machine by following the same instructions
from the quick start:

instruction-fetch-mode instruction-fetch-trace
istc-disable
dstc-disable
cpu-switch-time 1
load-module ruby
ruby0.setparam g_NUM_PROCESSORS 1
ruby0.setparam g_MEMORY_SIZE_BYTES 4294967296
ruby0.init

  There is no instruction indicating which physical memory objects
ruby attach to. How can I attach ruby to a specific memory object?
Thank you.

Best regards,
  Sitos

2009/12/28 Dan Gibson <degibson@xxxxxxxx>:
> Sitos,
> Make sure you have attached Ruby to all physical memory objects. The
> serengeti target in Simics has only one, but as I recall, the x86 target has
> many physical memory spaces.
>
> Regards,
> Dan
>
> On Mon, Dec 28, 2009 at 4:03 AM, Sitos Lin <sitos.lin@xxxxxxxxx> wrote:
>>
>> Hello:
>>  I have modified several files in Ruby to capture the memory access
>> from device (DMA operations). It works well with Sparc machine. I can
>> see the memory requests both from processor and device. However, when
>> I load Ruby module to a x86 machine, there are only requests from
>> processor without the requests from device. Do x86 machine need
>> additional modifications? Thanks.
>> Best regards,
>>  Sitos
>> _______________________________________________
>> 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!
>
> _______________________________________________
> 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→]