
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
20 lines
344 B
ArmAsm
20 lines
344 B
ArmAsm
/* $NetBSD: __syscall.S,v 1.2 2015/03/27 06:44:28 matt Exp $ */
|
|
|
|
#include "SYS.h"
|
|
|
|
ENTRY(__syscall)
|
|
mv t6, a0
|
|
mv a0, a1
|
|
mv a1, a2
|
|
mv a2, a3
|
|
mv a3, a4
|
|
mv a4, a5
|
|
mv a5, a6
|
|
mv a6, a7
|
|
REG_L a7, (sp)
|
|
SYSTRAP(__syscall)
|
|
JUMP_TO_CERROR() /* error */
|
|
ret /* success */
|
|
END(__syscall)
|
|
STRONG_ALIAS(syscall, __syscall)
|