kernel: print syscall

This commit is contained in:
Matheus
2023-05-07 20:36:58 -03:00
parent 2a0103fc46
commit 94057abfaf
3 changed files with 15 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#include <kernel/syscalls.h>
#include <printf.h>
syscallret_t syscall_print(context_t *context, char *message) {
syscallret_t ret = {
.ret = 0,
.errno = 0
};
printf("%s\n", message);
return ret;
}