arm: add SVCAll with 0 arguments

Some very basic system calls may have no arguments at all.
This commit is contained in:
Ayke van Laethem
2018-12-03 20:13:29 +01:00
parent 9eaa6a7d7f
commit e42289ce61
+3
View File
@@ -54,6 +54,9 @@ func AsmFull(asm string, regs map[string]interface{})
// must be a processor register, reachable with the "mov" instruction.
func ReadRegister(name string) uintptr
// Run the following system call (SVCall) with 0 arguments.
func SVCall0(num uintptr) uintptr
// Run the following system call (SVCall) with 1 argument.
func SVCall1(num uintptr, a1 interface{}) uintptr