2 * IMPORTANT! DO NOT ADD LIBRARY CALLS TO THIS FILE.
3 * The entire text image must fit on one page
4 * (and there's no data segment, so any read/write data must be on the stack).
10 char cons[] = "#c/cons";
11 char boot[] = "/boot/boot";
21 startboot(char *argv0, char **argv)
23 char buf[200]; /* keep this fairly large to capture error details */
25 /* in case boot is a shell script */
30 bind(ec, env, MAFTER);
31 bind(e, env, MCREATE|MAFTER);
32 bind(s, srv, MREPL|MCREATE);
36 rerrstr(buf, sizeof buf);
37 buf[sizeof buf - 1] = '\0';