1 2 3 4 5 6 7 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); }