From 4014a36377ff69f6433e7b0af2144bc3a7d29ca7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 16 Apr 2020 19:06:33 +0200 Subject: Many fix attempts for the divide by zero exception --- src/kernel/pci/pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/kernel/pci/pci.c') diff --git a/src/kernel/pci/pci.c b/src/kernel/pci/pci.c index 7ba48ab..57bfe94 100644 --- a/src/kernel/pci/pci.c +++ b/src/kernel/pci/pci.c @@ -1,5 +1,6 @@ -#include #include +#include +#include #include #include @@ -136,4 +137,4 @@ int pci_get_interrupt(uint32_t device) } else { return (int)pci_read_field(device, PCI_INTERRUPT_LINE, 1); } -} \ No newline at end of file +} -- cgit v1.2.3