summaryrefslogtreecommitdiffhomepage
path: root/src/loader/fs.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-05 16:48:07 +0200
committerMarvin Borner2021-07-05 16:51:23 +0200
commit46ce42e9b13ce209c8c971084cfc849a83848270 (patch)
treea85283f85c970bb26df6690a4ba08b017f1d4e25 /src/loader/fs.c
parent981342ef807ebcefba8eeba74511cdcedf9c36bd (diff)
Added PCI, MBR, bugs and fixes
Diffstat (limited to 'src/loader/fs.c')
-rw-r--r--src/loader/fs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/loader/fs.c b/src/loader/fs.c
new file mode 100644
index 0000000..8e0dc01
--- /dev/null
+++ b/src/loader/fs.c
@@ -0,0 +1,10 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#include <fs.h>
+#include <mbr.h>
+
+void fs_detect(struct dev *dev)
+{
+ if (mbr_detect(dev))
+ return;
+}