libstd/include/syscalls.i

29 lines
1.2 KiB
OpenEdge ABL
Raw Permalink 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
; Copies the range of page mappings at address a0 in the primary space with length d0 to the secondary space starting at address a1
xref syscall_vmem_copy_to_secondary
2024-03-19 13:39:29 -05:00
; Creates a new process using the secondary address space of the current process and entry in a0
xref syscall_new_process
2024-03-19 09:24:25 -05:00
endif