Ported the most important patches from PCem.
This commit is contained in:
@@ -1169,6 +1169,8 @@ enter_smm(int in_hlt)
|
||||
|
||||
flushmmucache();
|
||||
}
|
||||
|
||||
oldcpl = 0;
|
||||
|
||||
cpu_cur_status &= ~(CPU_STATUS_PMODE | CPU_STATUS_V86);
|
||||
CPU_BLOCK_END();
|
||||
@@ -1265,6 +1267,8 @@ leave_smm(void)
|
||||
|
||||
nmi_mask = 1;
|
||||
|
||||
oldcpl = CPL;
|
||||
|
||||
CPU_BLOCK_END();
|
||||
|
||||
x386_common_log("CS : seg = %04X, base = %08X, limit = %08X, limit_low = %08X, limit_high = %08X, access = %02X, ar_high = %02X\n",
|
||||
|
||||
Reference in New Issue
Block a user