`sys_hello` is a new syscall that just prints some text in the terminal. `testbin/hellotest` is a userland binary that just calls `sys_hello`
9 lines
84 B
C
9 lines
84 B
C
#include <unistd.h>
|
|
|
|
extern int hello(void);
|
|
|
|
int main() {
|
|
hello();
|
|
return 0;
|
|
}
|