Simple file IO with the ioctl syscall
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include "kprintf.h"
|
||||
#include "processctl.h"
|
||||
#include "sysdefs/syscall.h"
|
||||
#include "ioctl.h"
|
||||
|
||||
int32_t SYSCALL1(sys_debugprint, string) {
|
||||
char *p = (char *)string;
|
||||
@ -14,4 +15,5 @@ int32_t SYSCALL1(sys_debugprint, string) {
|
||||
SyscallFn SYSCALL_TABLE[SYSCALLS_MAX] = {
|
||||
[SYS_DEBUGPRINT] = &sys_debugprint,
|
||||
[SYS_PROCESSCTL] = &sys_processctl,
|
||||
[SYS_IOCTL] = &sys_ioctl,
|
||||
};
|
||||
|
Reference in New Issue
Block a user