Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
b2ffbc34b5
commit
43eec9621c
17 files changed
+112
-132
No files matched your search
+7
-8
@@ -1,20 +1,19 @@
|
||||
pub mod iso9660;
|
||||
mod fd;
|
||||
pub mod iso9660;
|
||||
|
||||
use crate::drivers::atapi::DRIVE;
|
||||
use crate::fd::{FDt, FD_TABLE};
|
||||
use crate::println;
|
||||
use crate::drivers::atapi::{DRIVE};
|
||||
use crate::fd::{FD_TABLE, FDt};
|
||||
use crate::utils::unserialize;
|
||||
|
||||
use super::FileSystem;
|
||||
use iso9660::{IsoPrimVolDesc, IsoDir};
|
||||
use fd::IsoFD;
|
||||
use iso9660::{IsoDir, IsoPrimVolDesc};
|
||||
|
||||
use alloc::{sync::Arc, boxed::Box};
|
||||
use alloc::{boxed::Box, sync::Arc};
|
||||
use async_trait::async_trait;
|
||||
|
||||
pub struct IsoFS {
|
||||
}
|
||||
pub struct IsoFS {}
|
||||
|
||||
#[async_trait(?Send)]
|
||||
impl FileSystem for IsoFS {
|
||||
@@ -44,4 +43,4 @@ pub async fn get_prim_vol_desc() -> IsoPrimVolDesc {
|
||||
.read_block(iso9660::ISO_PRIM_VOLDESC_BLOCK)
|
||||
.await;
|
||||
*unserialize::<IsoPrimVolDesc>(desc_block.as_ptr())
|
||||
}
|
||||
}
|
||||