Changeset 99260 in vbox for trunk/include/VBox
- Timestamp:
- Apr 3, 2023 12:19:57 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum-x86-amd64.h
r99051 r99260 1641 1641 1642 1642 /** 1643 * Checks if we're in an "interrupt shadow", i.e. after a STI, POP SS or MOV SS, 1644 * updating the state if stale while also returning the reason for the interrupt 1645 * inhibition. 1646 * 1647 * This also inhibit NMIs, except perhaps for nested guests. 1648 * 1649 * @retval true if interrupts are inhibited by interrupt shadow. 1650 * @retval false if not. 1651 * @param pCtx Current guest CPU context. 1652 * @param pfInhibitShw Where to store which type of interrupt inhibition was 1653 * active (see CPUMCTX_INHIBIT_XXX). 1654 * @note Requires pCtx->rip to be up to date. 1655 */ 1656 DECLINLINE(bool) CPUMIsInInterruptShadowWithUpdateEx(PCPUMCTX pCtx, uint32_t *pfInhibitShw) 1657 { 1658 Assert(pfInhibitShw); 1659 *pfInhibitShw = pCtx->eflags.uBoth & CPUMCTX_INHIBIT_SHADOW; 1660 return CPUMIsInInterruptShadowWithUpdate(pCtx); 1661 } 1662 1663 /** 1643 1664 * Checks if we're in an "interrupt shadow" due to a POP SS or MOV SS 1644 1665 * instruction.
Note:
See TracChangeset
for help on using the changeset viewer.