summaryrefslogtreecommitdiff
path: root/src/arch/i386/lib
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-04-24 06:25:08 +0000
committerEric Biederman <ebiederm@xmission.com>2003-04-24 06:25:08 +0000
commit5899fd82aa2f5c3855eb6630f702f3239b6b7015 (patch)
treee699faf63cd467933b0134f591291e702cf55c3b /src/arch/i386/lib
parent8ca8d7665d671e10d72b8fcb4d69121d75f7906e (diff)
- Small step forward Linux boots and almost works...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/lib')
-rw-r--r--src/arch/i386/lib/cpu.c6
-rw-r--r--src/arch/i386/lib/pci_ops.c6
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 {