From c63f340d90800895f007de64b7d2d14624263331 Mon Sep 17 00:00:00 2001 From: nthnluu Date: Sun, 28 Jan 2024 21:20:27 -0500 Subject: Created student weenix repository --- user/usr/bin/kshell.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 user/usr/bin/kshell.c (limited to 'user/usr/bin/kshell.c') 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); } -- cgit v1.2.3-70-g09d2