[kernel] Make channels stream based
Multiple changes regarding channels. Mainly channels are now stream based and can handle partial reads or writes. Channels now use the kernel buffers area with the related buffer_cache. Added a fake stdout stream channel and kernel task to read its contents to the screen in preparation for handing channels as stdin/stdout to processes.
This commit is contained in:
@@ -15,5 +15,5 @@ SYSCALL(0x1c, thread_sleep, uint64_t)
|
||||
|
||||
SYSCALL(0x20, channel_create, j6_handle_t *)
|
||||
SYSCALL(0x21, channel_close, j6_handle_t)
|
||||
SYSCALL(0x22, channel_send, j6_handle_t, size_t, void *)
|
||||
SYSCALL(0x22, channel_send, j6_handle_t, size_t *, void *)
|
||||
SYSCALL(0x23, channel_receive, j6_handle_t, size_t *, void *)
|
||||
|
||||
Reference in New Issue
Block a user