mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Merge branch 'master' into pc98x1
This commit is contained in:
@@ -2612,7 +2612,9 @@ cpu_ven_reset(void)
|
||||
void
|
||||
cpu_RDMSR(void)
|
||||
{
|
||||
switch (cpu_s->cpu_type) {
|
||||
if (CPL)
|
||||
x86gpf(NULL, 0);
|
||||
else switch (cpu_s->cpu_type) {
|
||||
case CPU_IBM386SLC:
|
||||
case CPU_IBM486SLC:
|
||||
case CPU_IBM486BL:
|
||||
@@ -3467,7 +3469,9 @@ cpu_WRMSR(void)
|
||||
|
||||
cpu_log("WRMSR %08X %08X%08X\n", ECX, EDX, EAX);
|
||||
|
||||
switch (cpu_s->cpu_type) {
|
||||
if (CPL)
|
||||
x86gpf(NULL, 0);
|
||||
else switch (cpu_s->cpu_type) {
|
||||
case CPU_IBM386SLC:
|
||||
case CPU_IBM486SLC:
|
||||
case CPU_IBM486BL:
|
||||
|
||||
@@ -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