diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 17:25:04 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-19 17:25:04 +0000 |
commit | d9eb7e09d74084a71386496614a189870e84c89f (patch) | |
tree | 7f4ef95a01201529a93f14afdf2c52d5eabb03d5 /tools/libxc/xc_gnttab.c | |
parent | 40326f9fc30fb0fa94f7367e7e41c2e7a6b1efa1 (diff) | |
download | xen-d9eb7e09d74084a71386496614a189870e84c89f.tar.gz xen-d9eb7e09d74084a71386496614a189870e84c89f.tar.bz2 xen-d9eb7e09d74084a71386496614a189870e84c89f.zip |
Get rid of memory_t. Almost all uses should be unsigned long.
The few uses for a physical/machine address have been mostly
changed to u64.
Grant table code probably needs auditing for PAE correctness,
but at least the interface is now sound.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_gnttab.c')
-rw-r--r-- | tools/libxc/xc_gnttab.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/libxc/xc_gnttab.c b/tools/libxc/xc_gnttab.c index 83fcf9218c..0f2d717519 100644 --- a/tools/libxc/xc_gnttab.c +++ b/tools/libxc/xc_gnttab.c @@ -40,12 +40,12 @@ do_gnttab_op(int xc_handle, int xc_gnttab_map_grant_ref(int xc_handle, - memory_t host_virt_addr, + u64 host_virt_addr, u32 dom, u16 ref, u16 flags, s16 *handle, - memory_t *dev_bus_addr) + u64 *dev_bus_addr) { struct gnttab_map_grant_ref op; int rc; @@ -67,8 +67,8 @@ int xc_gnttab_map_grant_ref(int xc_handle, int xc_gnttab_unmap_grant_ref(int xc_handle, - memory_t host_virt_addr, - memory_t dev_bus_addr, + u64 host_virt_addr, + u64 dev_bus_addr, u16 handle, s16 *status) { @@ -92,7 +92,7 @@ int xc_gnttab_setup_table(int xc_handle, u32 dom, u16 nr_frames, s16 *status, - memory_t **frame_list) + unsigned long **frame_list) { struct gnttab_setup_table op; int rc, i; |