Skip to content

Commit

Permalink
remove in_repeat obsolete usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Shwartsman committed Nov 27, 2023
1 parent 3b34ec7 commit a39cea1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions bochs/cpu/exception.cc
Original file line number Diff line number Diff line change
Expand Up @@ -797,11 +797,6 @@ void BX_CPU_C::interrupt(Bit8u vector, unsigned type, bool push_error, Bit16u er
BX_CPU_THIS_PTR in_event = true;
#endif

// For any interrupt arriving after any iteration of a repeated instruction but the last iteration,
// the value pushed for RF is 1.
if (BX_CPU_THIS_PTR in_repeat)
assert_RF();

RSP_SPECULATIVE;

#if BX_SUPPORT_X86_64
Expand Down
5 changes: 0 additions & 5 deletions bochs/cpu/uintr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,6 @@ void BX_CPU_C::send_uipi(Bit32u notification_destination, Bit32u notification_ve

void BX_CPU_C::Process_UINTR_Notification()
{
// For any interrupt arriving after any iteration of a repeated instruction but the last iteration,
// the value pushed for RF is 1.
if (BX_CPU_THIS_PTR in_repeat)
assert_RF();

#if BX_SUPPORT_VMX
// the User-Level Interrupt notification process looks like external interrupt with the vector UINV
// in particular for IDT-vectoring info
Expand Down
4 changes: 0 additions & 4 deletions bochs/cpu/vapic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,6 @@ bool BX_CPU_C::VMX_Posted_Interrupt_Processing(Bit8u vector)

VMX_Evaluate_Pending_Virtual_Interrupts();

// if in repeat operation but before the last iteration
if (BX_CPU_THIS_PTR in_repeat)
assert_RF();

return true;
}

Expand Down

0 comments on commit a39cea1

Please sign in to comment.