Primary volume descriptor unserialization
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-19 20:47:33 +01:00
1 parent dcaea4454b
commit 0c0af6414e
5 files changed
+55 -40

No files matched your search

+3 -1
View File
@@ -248,7 +248,7 @@ impl ATABus {
self.wait_command_end();
}
pub async fn read_block(&mut self, lba: u32) {
pub async fn read_block(&mut self, lba: u32) -> [u8; CD_SECTOR_SIZE] {
let mut packet = SCSIPacket::new();
packet.op_code = SCSI_READ_12;
@@ -277,6 +277,8 @@ impl ATABus {
//(*INTERRUPT_FUTURE).await;
self.wait_command_end();
self.block
}
fn wait_busy(&mut self) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.