summaryrefslogtreecommitdiff
path: root/src/arch/i386/lib/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/lib/cpu.c')
-rw-r--r--src/arch/i386/lib/cpu.c6
1 files changed, 6 insertions, 0 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 */