debuggers.hg

view tools/libaio/src/raw_syscall.c @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 #include "syscall.h"
3 #if defined(__ia64__)
4 /* based on code from glibc by Jes Sorensen */
5 __asm__(".text\n"
6 ".globl __ia64_aio_raw_syscall\n"
7 ".proc __ia64_aio_raw_syscall\n"
8 "__ia64_aio_raw_syscall:\n"
9 "alloc r2=ar.pfs,1,0,8,0\n"
10 "mov r15=r32\n"
11 "break 0x100000\n"
12 ";;"
13 "br.ret.sptk.few b0\n"
14 ".size __ia64_aio_raw_syscall, . - __ia64_aio_raw_syscall\n"
15 ".endp __ia64_aio_raw_syscall"
16 );
17 #endif
19 ;