Handle disk partitioning

This commit is contained in:
2025-10-19 22:29:19 +02:00
parent 68e0e8848d
commit 01da863b8b
21 changed files with 300 additions and 85 deletions

View File

@ -0,0 +1,15 @@
#include <stdint.h>
#include <stddef.h>
#include "storedev/storedev.h"
#include "mbr.h"
#include "util/util.h"
#include "kprintf.h"
void diskpart_init(void) {
LOG("diskpart", "probing for disks with partitions\n");
StoreDev *sd, *sdtmp;
LL_FOREACH_SAFE(STOREDEV_LIST.head, sd, sdtmp) {
diskpart_mbr_probe(sd);
}
}