ack/plat/linuxmips/libsys/_syscall.s

19 lines
200 B
ArmAsm
Raw Normal View History

2018-09-04 22:07:07 +00:00
#
! 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