feat: asynchronized SATA IO
[lunaix-os.git] / lunaix-os / includes / hal / ahci / scsi.h
index fee899fa916ebb72b9b2c347537ce9ebf89ef94c..e1bbb713e2b99c3ae73050f29679275e73d30187 100644 (file)
@@ -50,16 +50,10 @@ scsi_create_packet16(struct scsi_cdb16* cdb,
                      uint64_t lba,
                      uint32_t alloc_size);
 
-int
-scsi_read_buffer(struct hba_device* dev,
-                 uint64_t lba,
-                 void* buffer,
-                 uint32_t size);
+void
+scsi_submit(struct hba_device* dev, struct blkio_req* io_req);
 
-int
-scsi_write_buffer(struct hba_device* dev,
-                  uint64_t lba,
-                  void* buffer,
-                  uint32_t size);
+void
+scsi_parse_capacity(struct hba_device* device, uint32_t* parameter);
 
 #endif /* __LUNAIX_ATAPI_H */