ia64/xen-unstable

annotate tools/libaio/src/raw_syscall.c @ 10751:3352b5dc6a7c

[IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
This updates to 0.3.106, which does build.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 14 11:45:15 2006 +0100 (2006-07-14)
parents 2937703f0ed0
children
rev   line source
jchesterfield@10736 1 #include "syscall.h"
jchesterfield@10736 2
jchesterfield@10736 3 #if defined(__ia64__)
jchesterfield@10736 4 /* based on code from glibc by Jes Sorensen */
jchesterfield@10736 5 __asm__(".text\n"
jchesterfield@10736 6 ".globl __ia64_aio_raw_syscall\n"
kaf24@10751 7 ".proc __ia64_aio_raw_syscall\n"
jchesterfield@10736 8 "__ia64_aio_raw_syscall:\n"
jchesterfield@10736 9 "alloc r2=ar.pfs,1,0,8,0\n"
jchesterfield@10736 10 "mov r15=r32\n"
jchesterfield@10736 11 "break 0x100000\n"
jchesterfield@10736 12 ";;"
jchesterfield@10736 13 "br.ret.sptk.few b0\n"
jchesterfield@10736 14 ".size __ia64_aio_raw_syscall, . - __ia64_aio_raw_syscall\n"
jchesterfield@10736 15 ".endp __ia64_aio_raw_syscall"
jchesterfield@10736 16 );
jchesterfield@10736 17 #endif
jchesterfield@10736 18
jchesterfield@10736 19 ;