.tf K_boot II 4/21/86
.sh NAME
K_boot - bootstrap new process
.sh "MODULA SYNOPSIS"
.nh
.na
 CONST b_seg: seg_des;
.br
 VAR stat: K_err_num;
.br
 . . .
.br
 stat := NK_boot(b_seg);
.br
.hy
.ad
.sp
.sh "C SYNOPSIS"
.nh
.na
 seg_des b_seg;
.br
 int stat;
.br
 . . .
.br
 stat = K_boot(b_seg);
.br
.hy
.ad
.sh DESCRIPTION
K_boot releases (as with K_release_segment(II)) the segment indicated
by the argument and maps in (as with K_remap(II)) all other segments
attached to the process.  Execution of the process continues at
location 0 of the process' supervisor I-space.
.s3
K_boot is used by the Process Bootstrapper, PBB(VIII), to start
execution of an image in a new process.  The released segment is the
PBB argument segment.
.sh EXCEPTIONS
.lp 22 15
XinSgAldMap        Incoming segment already mapped
.lp 22 15
XnSgDes            Not a segment descriptor (out of range)
.lp 22 15
XbSgDes            Bad segment descriptor

.i0
.sh "SEE ALSO"
K_release_segment(II), K_remap(II),
PBB(VIII)
