void
scsi_create_packet16(struct scsi_cdb16* cdb,
uint8_t opcode,
- uint32_t lba_hi,
- uint32_t lba_lo,
+ uint64_t lba,
uint32_t alloc_size);
+void
+scsi_read_buffer(struct hba_port* port,
+ uint64_t lba,
+ void* buffer,
+ uint32_t size);
+
+void
+scsi_write_buffer(struct hba_port* port,
+ uint64_t lba,
+ void* buffer,
+ uint32_t size);
+
#endif /* __LUNAIX_ATAPI_H */