
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
28 lines
456 B
ArmAsm
28 lines
456 B
ArmAsm
/* $NetBSD: __syscall.S,v 1.2 2014/01/31 18:06:26 matt Exp $ */
|
|
|
|
#include "SYS.h"
|
|
|
|
#ifdef __mips_o32
|
|
RSYSCALL(__syscall)
|
|
#else
|
|
|
|
LEAF(__syscall)
|
|
PIC_PROLOGUE(__syscall)
|
|
move v0, a0
|
|
move a0, a1
|
|
move a1, a2
|
|
move a2, a3
|
|
move a3, a4
|
|
move a4, a5
|
|
move a5, a6
|
|
move a6, a7
|
|
REG_L a7, (sp)
|
|
SYSTRAP(__syscall)
|
|
bne a3,zero,1f
|
|
PIC_RETURN()
|
|
1:
|
|
PIC_TAILCALL(__cerror)
|
|
END(__syscall)
|
|
STRONG_ALIAS(syscall, __syscall)
|
|
#endif
|