utest: rename utest to init
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
11bedfe3a8
commit
5a67532500
7 changed files with 7 additions and 5 deletions
|
|
@ -1,22 +0,0 @@
|
|||
.intel_syntax noprefix
|
||||
|
||||
.macro syscall_define name no
|
||||
.global \name
|
||||
\name:
|
||||
mov rax, \no
|
||||
mov r10, rcx
|
||||
call syscall
|
||||
ret
|
||||
.endm
|
||||
|
||||
.global syscall
|
||||
syscall:
|
||||
mov r10, rcx
|
||||
syscall
|
||||
ret
|
||||
|
||||
syscall_define read 0
|
||||
syscall_define write 1
|
||||
syscall_define open 2
|
||||
syscall_define close 3
|
||||
|
||||
Loading…
Reference in a new issue