Kernel: Allow booting with multiple processors on i686
Also remove unnecessary ds clearing in x86_64.
This commit is contained in:
@@ -249,10 +249,7 @@ ap_stack_ptr:
|
||||
1:
|
||||
cli; cld
|
||||
ljmpl $0x00, $ap_cs_clear
|
||||
|
||||
ap_cs_clear:
|
||||
xorw %ax, %ax
|
||||
movw %ax, %ds
|
||||
|
||||
# load ap gdt and enter protected mode
|
||||
lgdt ap_gdtr
|
||||
|
||||
Reference in New Issue
Block a user