Switch to forked pic8259 crate to fix nightly build error

This commit is contained in:
Philipp Oppermann
2021-05-17 12:39:57 +02:00
parent ad4b2a2e64
commit 3aa979ebe0
3 changed files with 7 additions and 13 deletions

16
Cargo.lock generated
View File

@@ -21,7 +21,7 @@ dependencies = [
"bootloader", "bootloader",
"lazy_static", "lazy_static",
"pc-keyboard", "pc-keyboard",
"pic8259_simple", "pic8259",
"spin", "spin",
"uart_16550", "uart_16550",
"volatile 0.2.7", "volatile 0.2.7",
@@ -34,12 +34,6 @@ version = "0.9.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfe7a297d22859b1cb0b939cfa0b01288d77804c8544acefd2c1135135587f7d" checksum = "bfe7a297d22859b1cb0b939cfa0b01288d77804c8544acefd2c1135135587f7d"
[[package]]
name = "cpuio"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d531514efb06912141fa65967447de805691b685a7565c87d1765afe34a98aa7"
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"
version = "1.4.0" version = "1.4.0"
@@ -56,12 +50,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c6f2d937e3b8d63449b01401e2bae4041bc9dd1129c2e3e0d239407cf6635ac" checksum = "5c6f2d937e3b8d63449b01401e2bae4041bc9dd1129c2e3e0d239407cf6635ac"
[[package]] [[package]]
name = "pic8259_simple" name = "pic8259"
version = "0.2.0" version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af2a5497fb8e59bf8015f67b7dff238d75ef445e03f23edac24ac3a8f09be952" checksum = "08cc920d83ee33c0f9b73aa441e75468bf2d10c959a3eb6260cf720b05ac91a1"
dependencies = [ dependencies = [
"cpuio", "x86_64",
] ]
[[package]] [[package]]

View File

@@ -18,7 +18,7 @@ volatile = "0.2.6"
spin = "0.5.2" spin = "0.5.2"
x86_64 = "0.14.2" x86_64 = "0.14.2"
uart_16550 = "0.2.0" uart_16550 = "0.2.0"
pic8259_simple = "0.2.0" pic8259 = "0.10.1"
pc-keyboard = "0.5.0" pc-keyboard = "0.5.0"
[dependencies.lazy_static] [dependencies.lazy_static]

View File

@@ -1,6 +1,6 @@
use crate::{gdt, print, println}; use crate::{gdt, print, println};
use lazy_static::lazy_static; use lazy_static::lazy_static;
use pic8259_simple::ChainedPics; use pic8259::ChainedPics;
use spin; use spin;
use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame}; use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame};