aboutsummaryrefslogtreecommitdiff
path: root/ia64-syscall.S
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 20:32:17 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 20:32:17 +0000
commitfd4a43e4e28a594a20beefe78b0fe7ecd34bd981 (patch)
tree1186cab290333dc8c149e72c5b7240aef0cafd1f /ia64-syscall.S
parentad1a5b7853dbc510a9f6c9628ff623148d06c9d5 (diff)
downloadqemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.zip
qemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.tar.gz
qemu-fd4a43e4e28a594a20beefe78b0fe7ecd34bd981.tar.bz2
ia64 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1846 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'ia64-syscall.S')
-rw-r--r--ia64-syscall.S32
1 files changed, 0 insertions, 32 deletions
diff --git a/ia64-syscall.S b/ia64-syscall.S
deleted file mode 100644
index ab073f2..0000000
--- a/ia64-syscall.S
+++ /dev/null
@@ -1,32 +0,0 @@
-/* derived from glibc sysdeps/unix/sysv/linux/ia64/sysdep.S */
-
-#define __ASSEMBLY__
-
-#include <asm/asmmacro.h>
-#include <asm/unistd.h>
-
-ENTRY(__syscall_error)
- .prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(0)
- alloc r33=ar.pfs, 0, 4, 0, 0
- mov r32=rp
- .body
- mov r35=r8
- mov r34=r1
- ;;
- br.call.sptk.many b0 = __errno_location
-.Lret0: /* force new bundle */
- st4 [r8]=r35
- mov r1=r34
- mov rp=r32
- mov r8=-1
- mov ar.pfs=r33
- br.ret.sptk.few b0
-END(__syscall_error)
-
-GLOBAL_ENTRY(__ia64_syscall)
- mov r15=r37 /* syscall number */
- break __BREAK_SYSCALL
- cmp.eq p6,p0=-1,r10 /* r10 = -1 on error */
-(p6) br.cond.spnt.few __syscall_error
- br.ret.sptk.few b0
-.endp __ia64_syscall