feat: Preparing to implement the scheduler
This commit is contained in:
parent
af04b184f4
commit
939705bd40
18
Cargo.lock
generated
18
Cargo.lock
generated
@ -22,6 +22,12 @@ version = "1.0.100"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
||||
|
||||
[[package]]
|
||||
name = "bincode"
|
||||
version = "1.3.3"
|
||||
@ -125,6 +131,17 @@ version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e763eef8846b13b380f37dfecda401770b0ca4e56e95170237bd7c25c7db3582"
|
||||
|
||||
[[package]]
|
||||
name = "corosensei"
|
||||
version = "0.3.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1d46a43097861058cb45affe888e40ba19b57a8210650144cdc7b50c9d87840a"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"cfg-if",
|
||||
"scopeguard",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crc"
|
||||
version = "3.3.0"
|
||||
@ -170,6 +187,7 @@ dependencies = [
|
||||
"acpi",
|
||||
"bootloader_api",
|
||||
"conquer-once",
|
||||
"corosensei",
|
||||
"crossbeam-queue",
|
||||
"futures-util",
|
||||
"lazy_static",
|
||||
|
||||
@ -7,6 +7,7 @@ edition = "2021"
|
||||
bootloader_api = "0.11.12"
|
||||
lazy_static = { version = "1.5.0", features = ["spin_no_std"] }
|
||||
x86_64 = { version = "0.15.2", features = ["instructions"] }
|
||||
corosensei = { version = "0.3.1", default-features = false }
|
||||
spin = "0.10.0"
|
||||
raw-cpuid = "11.6.0"
|
||||
acpi = "6.0.1"
|
||||
|
||||
@ -24,6 +24,7 @@ pub mod kernel;
|
||||
pub mod drivers;
|
||||
pub mod shell;
|
||||
pub mod task;
|
||||
mod process;
|
||||
|
||||
use hal::cpu;
|
||||
const CONFIG: BootloaderConfig = {
|
||||
|
||||
1
kernel/src/process/mod.rs
Normal file
1
kernel/src/process/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
mod scheduler;
|
||||
0
kernel/src/process/scheduler.rs
Normal file
0
kernel/src/process/scheduler.rs
Normal file
Loading…
x
Reference in New Issue
Block a user