From 8d9c123812492a80a43112c8dd217fcfb3cee2c5 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Tue, 17 Jun 2003 08:42:17 +0000 Subject: - Minor mod to reset16.inc to work with newer binutils hopefully this works with older ones... - Update apic.h to include the APIC_TASK_PRI register definition - Update mptable.c to have a reasonable board OEM and productid - Additional testfiles for romcc. - Split out auto.c and early failover.c moving their generic bits elsewere - Enable cache of the rom - Fixes to amd8111_lpc.c so that we successfully setup virtual wire mode on the ioapic git-svn-id: svn://svn.coreboot.org/coreboot/trunk@880 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/lib/cpu.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/arch') diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c index 8ace3fbf53..19020fee55 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/i386/lib/cpu.c @@ -68,6 +68,11 @@ static void interrupts_on() low |= APIC_DEFAULT_BASE; wrmsr(APIC_BASE_MSR, low, high); + /* + * Set Task Priority to 'accept all'. + */ + apic_write_around(APIC_TASKPRI, + apic_read_around(APIC_TASKPRI) & ~APIC_TPRI_MASK); /* Put the local apic in virtual wire mode */ apic_write_around(APIC_SPIV, @@ -91,10 +96,9 @@ 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 -- cgit v1.2.3