Start iso structs, with rust black magic
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
parent
e84a2e5727
commit
1ca57fdcdd
@ -1,5 +1,3 @@
|
||||
use crate::println;
|
||||
|
||||
use core::future::Future;
|
||||
use core::pin::Pin;
|
||||
use core::sync::atomic::{AtomicBool, Ordering};
|
||||
|
1
src/fs/mod.rs
Normal file
1
src/fs/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
mod iso;
|
@ -1,11 +1,8 @@
|
||||
use crate::println;
|
||||
|
||||
use super::{InterruptIndex, PICS};
|
||||
use x86_64::structures::idt::InterruptStackFrame;
|
||||
|
||||
fn disk_interrupt_handler(disk: u16) {
|
||||
fn disk_interrupt_handler(_disk: u16) {
|
||||
crate::drivers::atapi::interrupt::mark_interrupt();
|
||||
// println!("Received disk {} interrupt", disk);
|
||||
}
|
||||
|
||||
pub extern "x86-interrupt" fn disk1_interrupt_handler(_stack_frame: InterruptStackFrame) {
|
||||
|
@ -7,6 +7,7 @@ mod drivers;
|
||||
mod interrupts;
|
||||
mod memory;
|
||||
mod task;
|
||||
mod fs;
|
||||
|
||||
//#[macro_use]
|
||||
extern crate alloc;
|
||||
|
Loading…
Reference in New Issue
Block a user