git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: (devfs) a new filesystem for device exposure.
[lunaix-os.git]
/
lunaix-os
/
includes
/
hal
/
ahci
/
sata.h
diff --git
a/lunaix-os/includes/hal/ahci/sata.h
b/lunaix-os/includes/hal/ahci/sata.h
index dc934482c4e4799d95e95a56f3732f5f4c8ba46b..a08c5f43f497b7a1322577f3974f02af04522bbe 100644
(file)
--- a/
lunaix-os/includes/hal/ahci/sata.h
+++ b/
lunaix-os/includes/hal/ahci/sata.h
@@
-1,7
+1,7
@@
#ifndef __LUNAIX_SATA_H
#define __LUNAIX_SATA_H
#ifndef __LUNAIX_SATA_H
#define __LUNAIX_SATA_H
-#include <
stdint
.h>
+#include <
hal/ahci/hba
.h>
#define SATA_REG_FIS_D2H 0x34
#define SATA_REG_FIS_H2D 0x27
#define SATA_REG_FIS_D2H 0x34
#define SATA_REG_FIS_H2D 0x27
@@
-65,4
+65,6
@@
sata_write_buffer(struct hba_device* dev,
void* buffer,
uint32_t size);
void* buffer,
uint32_t size);
+void
+sata_read_error(struct hba_port* port);
#endif /* __LUNAIX_SATA_H */
#endif /* __LUNAIX_SATA_H */