Date: | Mon, 28 Dec 2009 23:26:09 -0800 (PST) |
---|---|
From: | Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx> |
Subject: | Re: [Gems-users] Ruby for x86 machine |
Hi, You dont need to attach Ruby to physical memory, its already attached.In Simics , Every physical memory object (of class ram) has associated memory-space(class of simics) object.. To see if ruby attached ,Type following commands on simics CLI Ultrsparc processor specific, Give them a try list-objects display all objects in the system . try to find obj like "phys_mem0" then type phys_memo.map Display which ram object(s) this memory space is attached @conf.phys_mem0.timing_model If ruby attached then display ruby @conf.cpu0.physical_memory Display name of memory-space to which this processor attached To see how Ruby attached
to timing_model of memory-space see init_local in ruby.c file Regards, Muhammad abid From: Sitos Lin <sitos.lin@xxxxxxxxx> To: Gems Users <gems-users@xxxxxxxxxxx> Sent: Tuesday, December 29, 2009 12:37:08 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. > > > _______________________________________________ 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. Get your preferred Email name! Now you can @ymail.com and @rocketmail.com. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Ruby for x86 machine, Sitos Lin |
---|---|
Next by Date: | Re: [Gems-users] Ruby for x86 machine, Sitos Lin |
Previous by Thread: | Re: [Gems-users] Ruby for x86 machine, Sitos Lin |
Next by Thread: | Re: [Gems-users] Ruby for x86 machine, Sitos Lin |
Indexes: | [Date] [Thread] |