File: raw_syscall.c

package info (click to toggle)
libaio 0.3.110-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,132 kB
  • ctags: 749
  • sloc: ansic: 1,931; makefile: 195; sh: 14
file content (19 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "syscall.h"

#if defined(__ia64__)
/* based on code from glibc by Jes Sorensen */
__asm__(".text\n"
	".globl	__ia64_aio_raw_syscall\n"
	".proc	__ia64_aio_raw_syscall\n"
	"__ia64_aio_raw_syscall:\n"
	"alloc r2=ar.pfs,1,0,8,0\n"
	"mov r15=r32\n"
	"break 0x100000\n"
	";;"
	"br.ret.sptk.few b0\n"
	".size __ia64_aio_raw_syscall, . - __ia64_aio_raw_syscall\n"
	".endp __ia64_aio_raw_syscall"
);
#endif

;