[FS] Pipes

This commit is contained in:
2017-03-20 15:07:07 +01:00
parent fd782365b7
commit 4bb9021885
8 changed files with 238 additions and 2 deletions

View File

@@ -69,3 +69,9 @@ SYSCALL_DEF(ioctl)
kernel_debug("==> IOCTL - unsupported request:%lx\n", request);
return -1;
}
SYSCALL_DEF(pipe)
{
SYSCALL_INIT(int *, fd);
return kernel_syscall(SYS_PIPE, fd);
}

View File

@@ -14,3 +14,5 @@
#define SYS_FORK 0x008
#define SYS_EXIT 0x009
#define SYS_WAIT 0x00A
#define SYS_PIPE 0x00B