issue 51 and 52: set mtrr for ap before stop it, and _RAMBASE above 1M
support and pgtbl after 1M support git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2142 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/lapic_def.h>
|
||||
.text
|
||||
.globl _secondary_start
|
||||
.globl _secondary_start, _secondary_start_end
|
||||
.balign 4096
|
||||
_secondary_start:
|
||||
.code16
|
||||
@@ -48,9 +48,9 @@ _secondary_start:
|
||||
1: hlt
|
||||
jmp 1b
|
||||
|
||||
gdtaddr:
|
||||
.word gdt_limit /* the table limit */
|
||||
.long gdt /* we know the offset */
|
||||
|
||||
gdtaddr:
|
||||
.word gdt_limit /* the table limit */
|
||||
.long gdt /* we know the offset */
|
||||
|
||||
_secondary_start_end:
|
||||
.code32
|
||||
|
Reference in New Issue
Block a user