3 PUBLIC
int sys_fork(parent
, child
, child_endpoint
, map_ptr
)
4 int parent
; /* process doing the fork */
5 int child
; /* which proc has been created by the fork */
7 struct mem_map
*map_ptr
;
9 /* A process has forked. Tell the kernel. */
16 m
.PR_MEM_PTR
= (char *) map_ptr
;
17 r
= _taskcall(SYSTASK
, SYS_FORK
, &m
);
18 *child_endpoint
= m
.PR_ENDPT
;