aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_filedesc.c
AgeCommit message (Collapse)Author
2024-03-26kernel: Use 'sio_txn' for file I/OIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: filedesc: Fix typo in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: filedesc: Add more commentsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add initial read() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add sys_close()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: Add initial open() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-26kernel: filedesc: Create MAX_RW_SIZE defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-25kernel: filedesc: Return status in fd_alloc()Ian Moffett
It is better for fd_alloc() to return the status and have one of the arguments point to an output than have fd_alloc() return the allocated file descriptor just like that. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-22kernel: filedesc: Handle count of 0Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-20kernel: Require len in vcons_putstr()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-19kernel: syscall: Add sys_write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15kernel: Add basic file descriptor supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>