339687cdac
block: move into own directory
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-14 19:10:34 -04:00
105bdb4464
ahci: add ahci driver
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-14 19:03:10 -04:00
fc0720b118
ahci: add block operations
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-13 00:03:13 -04:00
334bff74bc
block: clarify parameter name
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-12 15:58:04 -04:00
474468ef04
block: move block from drivers to kernel
...
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-10 18:00:19 -04:00
Michael Shaw
d2ef885e8d
v2 initial commit
2026-04-11 11:35:31 -04:00
Michael Shaw
20e25dad40
block: link child partitions to parent bdev
2024-03-02 00:35:50 -05:00
Michael Shaw
36c6f7b92c
boot: print list of block devices on mount fail
2023-11-01 19:55:44 -04:00
Michael Shaw
25a828437a
fs: move fs init into kernel cmdline
...
Previously, any partition with an ext2 filesystem would be mounted by
the gpt header parser. With this patch, the kernel cmdline `root=val` is
responsible for mounting the root filesystem.
2023-10-19 11:08:54 -04:00
Michael Shaw
f8124e4b78
ext2: add ability to read inodes
2023-06-26 00:11:39 -04:00
Michael Shaw
21e2540243
block: replace block_part with independent block devices
...
this also removes the fat32 support for now, as the virtual filesystem
needs more work
2023-05-27 17:32:39 -04:00
Michael Shaw
29a0435cf6
slab: replace struct slab with slab_t
...
This type should never be modified by the user, and only passed into the
functions in slab.c. Using a typedef to notifies the user semantically
of this fact
2023-05-19 16:49:34 -04:00
Michael Shaw
05c528f64c
block: read GPT header from block devices on init
2023-05-13 23:04:15 -04:00
Michael Shaw
0b81c6cccc
ahci: fix bug with block read and write
2023-05-10 00:40:14 -04:00
Michael Shaw
03eb0b0048
fs: begin basic block driver
...
This just makes the API for accessing drives generic, instead of
relying solely on the corresponding driver code
2023-05-09 21:52:35 -04:00