Add support for new_process syscall
This commit is contained in:
parent
e6d4e507e2
commit
7839336698
@ -23,4 +23,6 @@ __STD_SYSCALLS_I equ 1
|
|||||||
xref syscall_vmem_set_flags
|
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
|
; 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
|
xref syscall_vmem_copy_to_secondary
|
||||||
|
; Creates a new process using the secondary address space of the current process and entry in a0
|
||||||
|
xref syscall_new_process
|
||||||
endif
|
endif
|
||||||
|
@ -86,3 +86,10 @@ syscall_vmem_copy_to_secondary:
|
|||||||
move.l #8, d0
|
move.l #8, d0
|
||||||
trap #0
|
trap #0
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
public syscall_new_process
|
||||||
|
; Creates a new process using the secondary address space of the current process and entry in a0
|
||||||
|
syscall_new_process:
|
||||||
|
move.l #9, d0
|
||||||
|
trap #0
|
||||||
|
rts
|
||||||
|
Loading…
Reference in New Issue
Block a user