garbage self made raw spin lock 😎

This commit is contained in:
Bryan McShea
2024-02-10 22:04:12 -05:00
parent 4cf2f5b29e
commit 97f3c5bb93
9 changed files with 34 additions and 25 deletions

12
kernel/Cargo.lock generated
View File

@@ -86,7 +86,6 @@ dependencies = [
"linked_list_allocator",
"pc-keyboard",
"pic8259",
"spin 0.9.8",
"uart_16550",
"x86_64",
]
@@ -97,7 +96,7 @@ version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
dependencies = [
"spin 0.5.2",
"spin",
]
[[package]]
@@ -176,15 +175,6 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "spin"
version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
dependencies = [
"lock_api",
]
[[package]]
name = "spinning_top"
version = "0.2.5"