2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

lgdt needs data32 prefix, otherwise it loads only 24 bits. (sgdt

always saves 32 bits).
This commit is contained in:
Michael Brown 2005-04-09 16:42:50 +00:00
parent 6a4ac358f3
commit 2fa14f2f1d

View File

@ -287,7 +287,7 @@ EXPORT(real_to_prot):
pushl %eax
/* Restore protected-mode GDT */
lgdt %ds:OFFSET(pm_gdt)
data32 lgdt %ds:OFFSET(pm_gdt)
/* Switch to protected mode */
movl %cr0, %eax