Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
7a443723e5
commit
9199c60948
4 files changed
+13
No files matched your search
@@ -8,6 +8,7 @@ mod fd;
|
||||
mod fs;
|
||||
mod interrupts;
|
||||
mod memory;
|
||||
mod proc;
|
||||
mod syscalls;
|
||||
mod task;
|
||||
mod utils;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
pub mod thread;
|
||||
pub mod scheduler;
|
||||
@@ -0,0 +1,7 @@
|
||||
use super::thread::Thread;
|
||||
|
||||
use alloc::vec::Vec;
|
||||
|
||||
pub struct Scheduler {
|
||||
threads: Vec<Thread>,
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
pub struct Thread {
|
||||
rsp: u64
|
||||
}
|
||||