|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] The return value of xc_map_foreign_range~~~
Hi,
2008/3/18 张琳 <zhanglin_nk@xxxxxxx>:
> So, can anyone told me the meaning of the return value of this function
> -----xc_map_foreign_range?
>
> Is it a pointer pointed to a memory area corresponding the machine frame
> number(the last parameter passed to the function)?
That's correct.
> And the third parameter named size: the unit of size is in bytes or in
> pages?
The size parameter is in bytes, and must be a multiple of PAGE_SIZE
(as with mmap).
Regards,
Derek Murray.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|