summaryrefslogtreecommitdiff
path: root/src/cpu/x86/smm/smmhandler.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/smm/smmhandler.S')
-rw-r--r--src/cpu/x86/smm/smmhandler.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/smm/smmhandler.S b/src/cpu/x86/smm/smmhandler.S
index dd8a0c0cbd..b57d015789 100644
--- a/src/cpu/x86/smm/smmhandler.S
+++ b/src/cpu/x86/smm/smmhandler.S
@@ -110,7 +110,7 @@ smm_handler_start:
untampered_lapic:
#endif
movw $(smm_gdtptr16 - smm_handler_start + SMM_HANDLER_OFFSET), %bx
- data32 lgdt %cs:(%bx)
+ lgdtl %cs:(%bx)
movl %cr0, %eax
andl $0x7FFAFFD1, %eax /* PG,AM,WP,NE,TS,EM,MP = 0 */
@@ -118,7 +118,7 @@ untampered_lapic:
movl %eax, %cr0
/* Enable protected mode */
- data32 ljmp $0x08, $1f
+ ljmpl $0x08, $1f
.code32
1: