remove obsolete symbols in a single environment
This commit is contained in:
parent
aba4c7205a
commit
32aee76655
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,7 @@ boot_pt times (NOPTS*512) DQ 0
|
||||||
|
|
||||||
SECTION .text
|
SECTION .text
|
||||||
ALIGN 8
|
ALIGN 8
|
||||||
|
%if MAX_CORES > 1
|
||||||
global smp_entry
|
global smp_entry
|
||||||
smp_entry:
|
smp_entry:
|
||||||
; enable caching, disable paging and fpu emulation
|
; enable caching, disable paging and fpu emulation
|
||||||
|
@ -136,6 +137,7 @@ smp_entry:
|
||||||
jmp GDT64.Code:smp_start64 ; Set the code segment and enter 64-bit long mode.
|
jmp GDT64.Code:smp_start64 ; Set the code segment and enter 64-bit long mode.
|
||||||
|
|
||||||
jmp $ ; endless loop
|
jmp $ ; endless loop
|
||||||
|
%endif
|
||||||
|
|
||||||
search_apic:
|
search_apic:
|
||||||
push ebp
|
push ebp
|
||||||
|
@ -369,6 +371,7 @@ start64:
|
||||||
call main
|
call main
|
||||||
jmp $
|
jmp $
|
||||||
|
|
||||||
|
%if MAX_CORES > 1
|
||||||
smp_start64:
|
smp_start64:
|
||||||
; initialize segment registers
|
; initialize segment registers
|
||||||
mov ax, GDT64.Data
|
mov ax, GDT64.Data
|
||||||
|
@ -382,6 +385,7 @@ smp_start64:
|
||||||
extern smp_start
|
extern smp_start
|
||||||
call smp_start
|
call smp_start
|
||||||
jmp $
|
jmp $
|
||||||
|
%endif
|
||||||
|
|
||||||
global cpu_init
|
global cpu_init
|
||||||
cpu_init:
|
cpu_init:
|
||||||
|
|
Loading…
Add table
Reference in a new issue