libstd/include/syscalls.i

25 lines
895 B
OpenEdge ABL
Raw Normal View History

2024-03-19 09:24:25 -05:00
ifnd __STD_SYSCALLS_I
__STD_SYSCALLS_I equ 1
; Exits the process
xref syscall_exit
; Yields to the next process
xref syscall_yield
; Prints the string pointed to by d0
xref syscall_print
; Prints the string pointed to by d0 followed by a newline
xref syscall_println
; Maps the range of pages starting at address a0 with length d0 to free physical frames
; Permission flags in d1
xref syscall_vmem_map
; Map a free range of pages with length d0 to free physical frames
; Returns the range start in a0
; Permission flags in d1
xref syscall_vmem_map_free
; Maps a free range of virtual pages with length d1 to the range of physical frames starting at d0
; Returns the range start in a0
; Permission flags in d2
xref syscall_vmem_map_free_to
2024-03-19 12:50:52 -05:00
; Sets the permission flags of the range of virtual pages starting at address a0 with length d1 to d0
xref syscall_vmem_set_flags
2024-03-19 09:24:25 -05:00
endif