mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
arm: add SVCAll with 0 arguments
Some very basic system calls may have no arguments at all.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user