fixed SVM V_TPR handling SF bug #1428 AMD SVM Hyper-V fails
This commit is contained in:
parent
c07daa3a1c
commit
08a068a161
@ -1459,7 +1459,7 @@ void BX_CPU_C::WriteCR8(bxInstruction_c *i, bx_address val)
|
|||||||
|
|
||||||
#if BX_SUPPORT_SVM
|
#if BX_SUPPORT_SVM
|
||||||
if (BX_CPU_THIS_PTR in_svm_guest) {
|
if (BX_CPU_THIS_PTR in_svm_guest) {
|
||||||
SVM_V_TPR = tpr;
|
SVM_V_TPR = tpr >> 4; // V_TPR just matching CR8[3:0]
|
||||||
handleInterruptMaskChange();
|
handleInterruptMaskChange();
|
||||||
if (SVM_V_INTR_MASKING) return;
|
if (SVM_V_INTR_MASKING) return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user