Lab Solution
Assignment Task: hello (Lab1-w2)
#include "kernel/types.h"
#include "user/user.h"
int main(void) {
// Test the new system call; it should return 0 on success[cite: 225, 153].
int r = hello();
printf("hello returned %d\n", r);
exit(0);
}Last updated