diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-12 11:07:37 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-10-12 11:07:37 +0100 |
commit | d8263e8dbaf5ef1445bee0662143a0fcb6d43466 (patch) | |
tree | 9f12854f6cced9647fda399d756f23a47fcc6c97 /tools/libxc/xg_private.h | |
parent | e2c103e4851e41622adfe762ab34f7518f8c371e (diff) | |
download | xen-d8263e8dbaf5ef1445bee0662143a0fcb6d43466.tar.gz xen-d8263e8dbaf5ef1445bee0662143a0fcb6d43466.tar.bz2 xen-d8263e8dbaf5ef1445bee0662143a0fcb6d43466.zip |
Fix Xen public interfaces and the tools to consistently
use stdint-format bitsize types (uint32_t and friends).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index 186b68940a..b79b6310a9 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -60,11 +60,11 @@ unsigned long csum_page (void * page); #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) -typedef u32 l1_pgentry_32_t; -typedef u32 l2_pgentry_32_t; -typedef u64 l1_pgentry_64_t; -typedef u64 l2_pgentry_64_t; -typedef u64 l3_pgentry_64_t; +typedef uint32_t l1_pgentry_32_t; +typedef uint32_t l2_pgentry_32_t; +typedef uint64_t l1_pgentry_64_t; +typedef uint64_t l2_pgentry_64_t; +typedef uint64_t l3_pgentry_64_t; typedef unsigned long l1_pgentry_t; typedef unsigned long l2_pgentry_t; #if defined(__x86_64__) @@ -129,7 +129,7 @@ struct domain_setup_info typedef int (*parseimagefunc)(char *image, unsigned long image_size, struct domain_setup_info *dsi); typedef int (*loadimagefunc)(char *image, unsigned long image_size, int xch, - u32 dom, unsigned long *parray, + uint32_t dom, unsigned long *parray, struct domain_setup_info *dsi); struct load_funcs @@ -153,13 +153,13 @@ typedef struct mfn_mapper { unsigned long xc_get_m2p_start_mfn (int xc_handle); -int xc_copy_to_domain_page(int xc_handle, u32 domid, +int xc_copy_to_domain_page(int xc_handle, uint32_t domid, unsigned long dst_pfn, void *src_page); unsigned long xc_get_filesz(int fd); void xc_map_memcpy(unsigned long dst, char *src, unsigned long size, - int xch, u32 dom, unsigned long *parray, + int xch, uint32_t dom, unsigned long *parray, unsigned long vstart); int pin_table(int xc_handle, unsigned int type, unsigned long mfn, |