5c2772f59d
<sys/linux-syscalls.h> only contains constants for the syscalls we're generating stubs for. We want all the syscalls available on the architecture in question. Keep using <sys/linux-syscalls.h> on ARM for now because the __NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>. Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
22 lines
339 B
ArmAsm
22 lines
339 B
ArmAsm
/* autogenerated by gensyscalls.py */
|
|
#include <asm/unistd.h>
|
|
.text
|
|
.globl shutdown
|
|
.align 4
|
|
.ent shutdown
|
|
|
|
shutdown:
|
|
.set noreorder
|
|
.cpload $t9
|
|
li $v0, __NR_shutdown
|
|
syscall
|
|
bnez $a3, 1f
|
|
move $a0, $v0
|
|
j $ra
|
|
nop
|
|
1:
|
|
la $t9,__set_errno
|
|
j $t9
|
|
nop
|
|
.set reorder
|
|
.end shutdown
|