source: trunk/packages/xen-common/xen-common/tools/libaio/src/raw_syscall.c @ 95

Last change on this file since 95 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 410 bytes
Line 
1#include "syscall.h"
2
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
18
19;
Note: See TracBrowser for help on using the repository browser.