X86: Fix a bug in the chks microop where it ignored that it found a fault.
This commit is contained in:
parent
f2ff5b9249
commit
a0cc081997
|
@ -1112,6 +1112,7 @@ let {{
|
||||||
// Check permissions.
|
// Check permissions.
|
||||||
if (desc.dpl < m5reg.cpl) {
|
if (desc.dpl < m5reg.cpl) {
|
||||||
fault = new GeneralProtection(selector);
|
fault = new GeneralProtection(selector);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
// Fall through on purpose
|
// Fall through on purpose
|
||||||
case SegIntGateCheck:
|
case SegIntGateCheck:
|
||||||
|
|
Loading…
Reference in a new issue