ack/plat/linuxmips/libsys/_syscall.s
2018-09-05 00:07:07 +02:00

19 lines
200 B
ArmAsm

#
! Declare segments (the order is important).
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
#define EINVAL 22
! Perform a Linux system call.
.define __syscall
__syscall:
syscall 0