diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-09-12 17:55:27 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-09-12 17:55:27 +0100 |
commit | e567964a54b854354492a90d4d2c1e9541e4901d (patch) | |
tree | 6bee1a782c03463d08fa0e75fca418ae9dbe135f /tools/libxc/xc_minios.c | |
parent | 2fcb3c6fc7ed6f5a5f96aed63b6b6d3a19a3fafc (diff) | |
download | xen-e567964a54b854354492a90d4d2c1e9541e4901d.tar.gz xen-e567964a54b854354492a90d4d2c1e9541e4901d.tar.bz2 xen-e567964a54b854354492a90d4d2c1e9541e4901d.zip |
tools: drop ia64 support
Removed support from libxc and mini-os.
This also took me under xen/include/public via various symlinks.
Dropped tools/debugger/xenitp entirely, it was described upon commit
as:
"Xenitp is a low-level debugger for ia64" and doesn't appear to be
linked into the build anywhere.
99 files changed, 14 insertions(+), 32361 deletions(-)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxc/xc_minios.c')
-rw-r--r-- | tools/libxc/xc_minios.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/tools/libxc/xc_minios.c b/tools/libxc/xc_minios.c index eacd6f6dc3..ab86b7254d 100644 --- a/tools/libxc/xc_minios.c +++ b/tools/libxc/xc_minios.c @@ -109,14 +109,10 @@ static void *minios_privcmd_map_foreign_bulk(xc_interface *xch, xc_osdep_handle const xen_pfn_t *arr, int *err, unsigned int num) { unsigned long pt_prot = 0; -#ifdef __ia64__ - /* TODO */ -#else if (prot & PROT_READ) pt_prot = L1_PROT_RO; if (prot & PROT_WRITE) pt_prot = L1_PROT; -#endif return map_frames_ex(arr, num, 1, 0, 1, dom, err, pt_prot); } @@ -129,14 +125,11 @@ static void *minios_privcmd_map_foreign_batch(xc_interface *xch, xc_osdep_handl int i; unsigned long addr; -#ifdef __ia64__ - /* TODO */ -#else if (prot & PROT_READ) pt_prot = L1_PROT_RO; if (prot & PROT_WRITE) pt_prot = L1_PROT; -#endif + addr = (unsigned long) map_frames_ex(arr, num, 1, 0, 1, dom, err, pt_prot); for (i = 0; i < num; i++) { if (err[i]) @@ -151,14 +144,12 @@ static void *minios_privcmd_map_foreign_range(xc_interface *xch, xc_osdep_handle unsigned long mfn) { unsigned long pt_prot = 0; -#ifdef __ia64__ - /* TODO */ -#else + if (prot & PROT_READ) pt_prot = L1_PROT_RO; if (prot & PROT_WRITE) pt_prot = L1_PROT; -#endif + assert(!(size % getpagesize())); return map_frames_ex(&mfn, size / getpagesize(), 0, 1, 1, dom, NULL, pt_prot); } @@ -172,14 +163,11 @@ static void *minios_privcmd_map_foreign_ranges(xc_interface *xch, xc_osdep_handl int i, j, n; unsigned long pt_prot = 0; void *ret; -#ifdef __ia64__ - /* TODO */ -#else + if (prot & PROT_READ) pt_prot = L1_PROT_RO; if (prot & PROT_WRITE) pt_prot = L1_PROT; -#endif mfns = malloc((size / XC_PAGE_SIZE) * sizeof(*mfns)); |