[ACPI] S3 resume -- use lgdtl, not lgdt

From: Nickolai Zeldovich <kolya@MIT.EDU>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Nickolai Zeldovich 2005-04-08 23:37:34 -04:00 committed by Len Brown
parent c9c3e457de
commit 9d9437759e

View File

@ -74,8 +74,9 @@ wakeup_code:
movw %ax,%fs movw %ax,%fs
movw $0x0e00 + 'i', %fs:(0x12) movw $0x0e00 + 'i', %fs:(0x12)
# need a gdt # need a gdt -- use lgdtl to force 32-bit operands, in case
lgdt real_save_gdt - wakeup_code # the GDT is located past 16 megabytes.
lgdtl real_save_gdt - wakeup_code
movl real_save_cr0 - wakeup_code, %eax movl real_save_cr0 - wakeup_code, %eax
movl %eax, %cr0 movl %eax, %cr0