mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 06:29:19 +00:00
HV: fixed the issue of AP initialization code can't be loaded to address high than 64K
Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
parent
1cd06ba303
commit
a39509a8fe
@ -51,6 +51,8 @@ cpu_secondary_reset:
|
||||
/* Disable local interrupts */
|
||||
|
||||
cli
|
||||
mov %cs, %ax
|
||||
mov %ax, %ds
|
||||
|
||||
/* Set DE, PAE, MCE and OS support bits in CR4 */
|
||||
|
||||
@ -77,9 +79,7 @@ cpu_secondary_reset:
|
||||
mov %ebx, %cr0
|
||||
|
||||
/* Load temportary GDT pointer value */
|
||||
|
||||
mov $cpu_secondary_gdt_ptr, %ebx
|
||||
lgdt (%ebx)
|
||||
lgdt (cpu_secondary_gdt_ptr - cpu_secondary_reset)
|
||||
|
||||
/* Perform a long jump based to start executing in 64-bit mode */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user