search for: guest_pfn_addr

Displaying 3 results from an estimated 3 matches for "guest_pfn_addr".

2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...nctrl.h" +#include "bootparam.h" /* ------------------------------------------------------------------------ */ @@ -407,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom-...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...nctrl.h" +#include "bootparam.h" /* ------------------------------------------------------------------------ */ @@ -407,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom-...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...nctrl.h" +#include "bootparam.h" /* ------------------------------------------------------------------------ */ @@ -407,6 +408,36 @@ static int alloc_magic_pages(struct xc_d /* ------------------------------------------------------------------------ */ +static unsigned long guest_pfn_addr(struct xc_dom_image *dom, xen_pfn_t pfn, + size_t offset) +{ + return dom->parms.virt_base + pfn * PAGE_SIZE_X86 + offset; +} + +static void setup_boot_params(struct xc_dom_image *dom) +{ + struct boot_params *params = + xc_dom_pfn_to_ptr(dom, dom-...