Add syscall to create a new process
This commit is contained in:
parent
1749a11283
commit
1c73092c2d
@ -72,6 +72,13 @@ syscall_vmem_copy_to_secondary:
|
||||
jsr vmem_copy_to_secondary
|
||||
rts
|
||||
|
||||
; Creates a new process using the secondary address space of the current process and entry in a0
|
||||
syscall_new_process:
|
||||
move.l a0, -(a7)
|
||||
jsr tasking_get_secondary_addr_space
|
||||
move.l (a7)+, a1
|
||||
jsr tasking_new_process
|
||||
rts
|
||||
|
||||
section .data,data
|
||||
syscall_table:
|
||||
@ -85,3 +92,4 @@ syscall_table:
|
||||
dc.l syscall_vmem_map_free_to
|
||||
dc.l syscall_vmem_set_flags
|
||||
dc.l syscall_vmem_copy_to_secondary
|
||||
dc.l syscall_new_process
|
||||
|
Loading…
Reference in New Issue
Block a user