From 6ff172b8331a272406ed96c025d04b960078bf39 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 21 Apr 2021 01:09:48 +0200 Subject: [PATCH] Entry into SMM now cases flags to be rebuilt. --- src/cpu/386_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/386_common.c b/src/cpu/386_common.c index 5aa1d4b3c..a4b942b6b 100644 --- a/src/cpu/386_common.c +++ b/src/cpu/386_common.c @@ -1062,6 +1062,7 @@ enter_smm(int in_hlt) x386_common_log("EAX = %08X, EBX = %08X, ECX = %08X, EDX = %08X, ESI = %08X, EDI = %08X, ESP = %08X, EBP = %08X\n", EAX, EBX, ECX, EDX, ESI, EDI, ESP, EBP); + flags_rebuild(); in_smm = 1; smram_backup_all(); smram_recalc_all(0);