feat: Ability to send command to ATA device.
[lunaix-os.git] / lunaix-os / includes / hal / ahci / utils.h
diff --git a/lunaix-os/includes/hal/ahci/utils.h b/lunaix-os/includes/hal/ahci/utils.h
new file mode 100644 (file)
index 0000000..1ff5f32
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef __LUNAIX_AHCI_UTILS_H
+#define __LUNAIX_AHCI_UTILS_H
+
+#include <hal/ahci/ahci.h>
+#include <stdint.h>
+
+void
+ahci_parse_dev_info(struct ahci_device_info* dev_info, uint16_t* data);
+
+void
+ahci_parsestr(char* str, uint16_t* reg_start, int size_word);
+
+#endif /* __LUNAIX_UTILS_H */