Add sys_hello and testbin/hellotest
`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`
This commit is contained in:
@@ -156,4 +156,6 @@ int execvp(const char *prog, char *const *args); /* calls execv */
|
||||
char *getcwd(char *buf, size_t buflen); /* calls __getcwd */
|
||||
time_t time(time_t *seconds); /* calls __time */
|
||||
|
||||
int hello(void);
|
||||
|
||||
#endif /* _UNISTD_H_ */
|
||||
|
||||
Reference in New Issue
Block a user