Add syscall for vmem_set_flags

This commit is contained in:
pjht 2024-03-19 12:48:55 -05:00
parent 92e9bda9bd
commit 000ac6ad65
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -54,6 +54,14 @@ syscall_vmem_map_free_to:
ori.l #$4, d3
jmp vmem_map_free_to
; Sets the permission flags of the range of virtual pages starting at address a0 with length d2 to d1
syscall_vmem_set_flags:
move.l d1, d0
move.l d2, d1
move.l #0, d2
jmp vmem_set_flags
section .data,data
syscall_table:
align 1
@ -64,3 +72,4 @@ syscall_table:
dc.l syscall_vmem_map
dc.l syscall_vmem_map_free
dc.l syscall_vmem_map_free_to
dc.l syscall_vmem_set_flags