From f2362d26df34a4e9dc25586d88645b56157e84a5 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Mon, 18 Mar 2019 16:23:27 +0800 Subject: [PATCH] Disable pci interrupt temporary before we are able to read pci routing table --- kernel/src/arch/x86_64/driver/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/src/arch/x86_64/driver/mod.rs b/kernel/src/arch/x86_64/driver/mod.rs index 9e5f46a..de21fe5 100644 --- a/kernel/src/arch/x86_64/driver/mod.rs +++ b/kernel/src/arch/x86_64/driver/mod.rs @@ -21,7 +21,10 @@ pub fn init() { serial::init(); keyboard::init(); - // Enable PCI Interrupts + // Enable PCI Interrupts when necessary + // because they can be shared among devices + // including mouse and keyboard + /* enable_irq(consts::PIRQA); enable_irq(consts::PIRQB); enable_irq(consts::PIRQC); @@ -30,4 +33,5 @@ pub fn init() { enable_irq(consts::PIRQF); enable_irq(consts::PIRQG); enable_irq(consts::PIRQH); + */ } \ No newline at end of file