Add support to run SMM handler in TSEG instead of ASEG
[coreboot.git] / src / cpu / x86 / smm / smmhandler.S
index 3dd0b14c5a1b9fe0cbbe9aa209d3ad3890309dfe..774088e1f27860ae9daf9316e40d851cd467b54f 100644 (file)
@@ -89,6 +89,9 @@ smm_handler_start:
 
 .code32
 1:
+       /* flush the cache after disabling it */
+       wbinvd
+
        /* Use flat data segment */
        movw    $0x10, %ax
        movw    %ax, %ds