summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index 470939c..1eca490 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -6,8 +6,9 @@
int syscall_write(int file, char *buf, int len)
{
for(int i=0;i<len;i++)
+ {
PutConsoleChar(buf[i],0b1111111111000000);
-
+ }
return len;
}
@@ -37,14 +38,14 @@ int syscall_read(int file, char *buf, int len)
int example_syscall(int x,int y)
{
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall called with %d + %d",x,y);
+// log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall called with %d + %d",x,y);
return x+y;
}
int example_syscall_2(int x,int y)
{
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall 2 called with %d - %d",x,y);
+ // log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"example syscall 2 called with %d - %d",x,y);
return x-y;
}