RDMSR, WRMSR, and WBINVD now correctly GPF when CPL > 0, fixes #4887.
This commit is contained in:
@@ -878,6 +878,10 @@ opINVD(uint32_t fetchdat)
|
||||
static int
|
||||
opWBINVD(uint32_t fetchdat)
|
||||
{
|
||||
if (CPL) {
|
||||
x86gpf(NULL, 0);
|
||||
return 1;
|
||||
}
|
||||
CLOCK_CYCLES(10000);
|
||||
CPU_BLOCK_END();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user