summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/machdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 47d6dd0..1c158da 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -32,6 +32,7 @@
#include <sys/panic.h>
#include <machine/trap.h>
#include <machine/idt.h>
+#include <machine/io.h>
#include <machine/gdt.h>
#include <machine/ioapic.h>
#include <machine/hpet.h>
@@ -41,6 +42,7 @@
#include <machine/cpu.h>
#include <machine/uart.h>
#include <machine/cpuid.h>
+#include <dev/pci/pci.h>
#include <vm/vm.h>
#include <vm/dynalloc.h>
#include <vm/physseg.h>
@@ -118,6 +120,8 @@ chips_init(void)
/* Hyra requires HPET on x86_64 */
if (hpet_init() != 0)
panic("Machine does not support HPET!\n");
+
+ pci_init();
}
/*