fixed SVM V_TPR handling SF bug #1428 AMD SVM Hyper-V fails

This commit is contained in:
Stanislav Shwartsman 2021-03-11 21:19:45 +00:00
parent c07daa3a1c
commit 08a068a161

View File

@ -1459,7 +1459,7 @@ void BX_CPU_C::WriteCR8(bxInstruction_c *i, bx_address val)
#if BX_SUPPORT_SVM
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();
if (SVM_V_INTR_MASKING) return;
}