1 // Called from entry.S to get us going.
2 // entry.S already took care of defining envs, pages, vpd, and vpt.
6 extern void umain(int, char**);
9 char *binaryname
= "(PROGRAM NAME UNKNOWN)";
12 libmain(int argc
, char **argv
)
14 // set env to point at our env structure in envs[].
15 env
= 0; // Your code here.
17 // save the name of the program so that panic() can use it
21 // call user main routine