diff options
author | nthnluu <nate1299@me.com> | 2024-01-28 21:20:27 -0500 |
---|---|---|
committer | nthnluu <nate1299@me.com> | 2024-01-28 21:20:27 -0500 |
commit | c63f340d90800895f007de64b7d2d14624263331 (patch) | |
tree | 2c0849fa597dd6da831c8707b6f2603403778d7b /user/usr/bin/kshell.c |
Created student weenix repository
Diffstat (limited to 'user/usr/bin/kshell.c')
-rw-r--r-- | user/usr/bin/kshell.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/usr/bin/kshell.c b/user/usr/bin/kshell.c new file mode 100644 index 0000000..c22cff0 --- /dev/null +++ b/user/usr/bin/kshell.c @@ -0,0 +1,8 @@ +/* + * Runs the in-kernel shell. + */ + +#include "weenix/syscall.h" +#include "weenix/trap.h" + +int main(int argc, char **argv) { return (int)trap(SYS_kshell, (uint32_t)0); } |