mirror of
https://github.com/SmallPond/MIT6.828_OS.git
synced 2026-04-28 04:40:37 +08:00
LAB 4 IS DONE.
This commit is contained in:
9
lab/user/hello.c
Normal file
9
lab/user/hello.c
Normal file
@@ -0,0 +1,9 @@
|
||||
// hello, world
|
||||
#include <inc/lib.h>
|
||||
|
||||
void
|
||||
umain(int argc, char **argv)
|
||||
{
|
||||
cprintf("hello, world\n");
|
||||
cprintf("i am environment %08x\n", thisenv->env_id);
|
||||
}
|
||||
Reference in New Issue
Block a user