Add emulation of System Management Mode.
This commit is contained in:
parent
70ab938439
commit
0cbbd22c88
8 changed files with 295 additions and 38 deletions
|
|
@ -470,3 +470,14 @@ static int op0F01_286(uint32_t fetchdat)
|
|||
|
||||
return op0F01_common(fetchdat, 0, 1, 0);
|
||||
}
|
||||
|
||||
|
||||
static int opRSM(uint32_t fetchdat)
|
||||
{
|
||||
if (cpu_cur_status & CPU_STATUS_SMM)
|
||||
x86_smi_leave();
|
||||
else
|
||||
x86illegal();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue