diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-06 09:48:17 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-06 09:48:17 +0100 |
commit | ab8096f27d7223c01fcf862118cd628b4a255c18 (patch) | |
tree | 1dd452499963328b73e2ff81b765e8272bdf9c8b /tools/libxc/xg_private.h | |
parent | 542ad2f200de2e7f94a74bbce59579b58d99c8b6 (diff) | |
download | xen-ab8096f27d7223c01fcf862118cd628b4a255c18.tar.gz xen-ab8096f27d7223c01fcf862118cd628b4a255c18.tar.bz2 xen-ab8096f27d7223c01fcf862118cd628b4a255c18.zip |
Represent PFNs with their own type, rather than 'unsigned long'.
('long' changes size and alignment between 32- and 64-bit ABIs.)
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index affd6a07df..3dbcf4f51b 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -173,7 +173,7 @@ typedef int (*parseimagefunc)(const char *image, unsigned long image_size, struct domain_setup_info *dsi); typedef int (*loadimagefunc)(const char *image, unsigned long image_size, int xch, - uint32_t dom, unsigned long *parray, + uint32_t dom, xen_pfn_t *parray, struct domain_setup_info *dsi); struct load_funcs @@ -201,7 +201,7 @@ int xc_copy_to_domain_page(int xc_handle, uint32_t domid, unsigned long xc_get_filesz(int fd); void xc_map_memcpy(unsigned long dst, const char *src, unsigned long size, - int xch, uint32_t dom, unsigned long *parray, + int xch, uint32_t dom, xen_pfn_t *parray, unsigned long vstart); int pin_table(int xc_handle, unsigned int type, unsigned long mfn, |