libk  Diff

Differences From Artifact [4a36b27408]:

To Artifact [b72b3eff18]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
bits 64
global kio_posix_fd_write

%include "../arch/x86.lin.64.inc"
; vim: ft=nasm

kio_posix_fd_write:
	mov lin.reg.0, lin.call.write
	; mov lin.reg.1, lin.c.0 - nop
	; mov lin.reg.2, lin.c.1 - nop
	; mov lin.reg.3, lin.c.2 - nop
	lin.call
	ret




|



|
|
|
|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
bits 64
global kio_posix_fd_write

%include "../arch/x86.lin.64.s"
; vim: ft=nasm

kio_posix_fd_write:
	mov sys.reg.0, sys.write
	; mov sys.reg.1, ccall.reg.0 - nop
	; mov sys.reg.2, ccall.reg.1 - nop
	; mov sys.reg.3, ccall.reg.2 - nop
	sys.call
	ret