diff options
Diffstat (limited to 'src/arch/i386/lib')
-rw-r--r-- | src/arch/i386/lib/cpu.c | 6 | ||||
-rw-r--r-- | src/arch/i386/lib/pci_ops.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c index 3e27e7acdc..8ace3fbf53 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/i386/lib/cpu.c @@ -18,6 +18,7 @@ #define APIC 1 #endif + static void cache_on(struct mem_range *mem) { post_code(0x60); @@ -90,6 +91,11 @@ static void interrupts_on() | (APIC_LVT_REMOTE_IRR |APIC_SEND_PENDING | APIC_DELIVERY_MODE_NMI) ); +#if 1 + printk_debug(" apic_id: %d ", + apic_read(APIC_ID)); +#endif + #else /* APIC */ #ifdef i686 /* Only Pentium Pro and later have those MSR stuff */ diff --git a/src/arch/i386/lib/pci_ops.c b/src/arch/i386/lib/pci_ops.c index 80921bf9da..7ea40ba738 100644 --- a/src/arch/i386/lib/pci_ops.c +++ b/src/arch/i386/lib/pci_ops.c @@ -1,9 +1,9 @@ #include <console/console.h> #include <arch/io.h> #include <arch/pciconf.h> -#include <pci.h> -#include <pci_ids.h> -#include <pci_ops.h> +#include <device/pci.h> +#include <device/pci_ids.h> +#include <device/pci_ops.h> static const struct pci_ops *conf; struct pci_ops { |