Add support for vmem_copy_to_secondary syscall
This commit is contained in:
parent
f3e90cdd5b
commit
e6d4e507e2
@ -21,4 +21,6 @@ __STD_SYSCALLS_I equ 1
|
||||
xref syscall_vmem_map_free_to
|
||||
; 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
|
||||
endif
|
||||
|
@ -78,3 +78,11 @@ syscall_vmem_set_flags:
|
||||
trap #0
|
||||
move.l (a7)+, d2
|
||||
rts
|
||||
|
||||
public syscall_vmem_copy_to_secondary
|
||||
; Copies the range of page mappings at address a0 in the primary space with length d0 to the secondary space starting at address a1
|
||||
syscall_vmem_copy_to_secondary:
|
||||
move.l d0, d1
|
||||
move.l #8, d0
|
||||
trap #0
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user