updates from YhLu, plus fixes for PPC/K8 issues.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1059 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich
2003-07-30 03:05:20 +00:00
parent b265254e1c
commit 57ffeb0578
13 changed files with 79 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
#include <arch/asm.h>
#include <arch/intel.h>
#ifdef CONFIG_SMP
#if CONFIG_SMP==1
#include <cpu/p6/apic.h>
#endif
.section ".text"
@@ -39,7 +39,7 @@ _start:
/* set new stack */
movl $_estack, %esp
#ifdef CONFIG_SMP
#if CONFIG_SMP==1
/* Get the cpu id */
movl $APIC_DEFAULT_BASE, %edi
movl APIC_ID(%edi), %eax