[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Grab the physical address of a label



Thanks but I think if I find the base physical address of xen image I can convert virtual address to physical address
I'm working in xen4 and my platform is: Processor AMD 64 and Centos 6 i386 with 8G of RAM
Can anyone tell me The physical address that xen image load in it? This physical address depends on platform?

Thanks a lot


On Wed, Jun 6, 2012 at 2:43 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Tue, 2012-06-05 at 07:07 +0100, Zeinab Alebouyeh wrote:
> Hi everyone,
> I'm working on a research project. I add a hypercall to xen. It works
> properly.
> In my Hypercall function I have a label and I want the physical
> address of my label to pass to another function. How can I grab the
> physical address of the label?

AFAIK there is no way to do this in standard C.

xen-devel isn't really the best place to be asking C programming
questions. I suggest you either speak to your advisor/mentor or seek out
one of the C forums on the Internet.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.