summaryrefslogtreecommitdiff
path: root/include/kernel/hd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/hd.h')
-rw-r--r--include/kernel/hd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/kernel/hd.h b/include/kernel/hd.h
index 292b92e..2a2f3c6 100644
--- a/include/kernel/hd.h
+++ b/include/kernel/hd.h
@@ -2,8 +2,11 @@
#define _HD_H
#include <stdint.h>
+#include <sys/types.h>
-int hd_read(void*, uint32_t, uint8_t);
-int hd_write(void*, uint32_t, uint8_t);
+void hd_init(void);
+
+size_t hd_read_block(void*, size_t , size_t);
+size_t hd_write_block(void*, size_t , size_t);
#endif