105bdb4464
ahci: add ahci driver
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-14 19:03:10 -04:00
fa34746870
errno: add EROFS
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-12 14:56:15 -04:00
a8540494a9
vfs: add vfs_open
...
vfs_open parses a path and returns the correct inode. The out inode is a
double pointer argument passed to vfs_open, and the return value is an
error code, or 0
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-01 23:06:39 +02:00
Michael Shaw
cb288f547e
syscall: fix page fault on non-existent syscall
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-13 22:59:38 -04:00
Michael Shaw
c487c4c9dd
devfs: add vnodes to devfs tree
2024-02-12 21:11:56 -05:00
Michael Shaw
a10509f1e5
lib: move lib headers into lib directory
2024-01-30 22:00:20 -05:00
Michael Shaw
874e63e41c
tty: add stubs for console_write and console_read
2023-11-29 19:37:04 -05:00
Michael Shaw
3dda839cdd
syscall: implement write syscall
2023-11-22 23:27:39 -05:00
Michael Shaw
a85be6eb62
elf: add basic elf parsing
2023-11-15 12:50:46 -05:00
Michael Shaw
19f32aef3f
ext2: add ability to create files
2023-10-23 17:03:20 -04:00
Michael Shaw
f8d84c7780
ext2: implement file writing
...
there is much room for improvement in the traversal of indirectly linked
blocks
2023-10-21 12:54:35 -04:00
Michael Shaw
ad2de927e2
ext2/vfs: implement read fs call
...
also implement the cat command!
2023-10-21 00:46:42 -04:00
Michael Shaw
0eb461410c
fs: implement readdir function
...
this also fixes flawed file parsing in ext2_open_file
2023-10-20 00:51:28 -04:00
Michael Shaw
9aea93214a
errno: add strerror function
2023-10-19 22:13:09 -04:00