mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Added PLIC
This commit is contained in:
parent
fb86ff06da
commit
7faf580765
@ -369,7 +369,7 @@ extern "C" fn kmain() {
|
||||
// that won't mask all interrupts.
|
||||
println!("Setting up interrupts and PLIC...");
|
||||
// We lower the threshold wall so our interrupts can jump over it.
|
||||
plic::set_threshold(1);
|
||||
plic::set_threshold(0);
|
||||
// VIRTIO = [1..8]
|
||||
// UART0 = 10
|
||||
// PCIE = [32..35]
|
||||
|
Loading…
Reference in New Issue
Block a user