summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/fs.h
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/inc/fs.h
parent981342ef807ebcefba8eeba74511cdcedf9c36bd (diff)
Added PCI, MBR, bugs and fixes
Diffstat (limited to 'src/loader/inc/fs.h')
-rw-r--r--src/loader/inc/fs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/loader/inc/fs.h b/src/loader/inc/fs.h
new file mode 100644
index 0000000..84cd2d7
--- /dev/null
+++ b/src/loader/inc/fs.h
@@ -0,0 +1,15 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef FS_H
+#define FS_H
+
+#include <def.h>
+struct dev;
+
+struct fs {
+ s32 (*read)(void *, u32, u32, struct dev *);
+};
+
+void fs_detect(struct dev *dev);
+
+#endif