VirtualBox

Changeset 55467 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Apr 28, 2015 12:17:40 AM (10 years ago)
Author:
vboxsync
Message:

CPUMCTX_XSAVE_C_PTR: Fix debug version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpumctx.h

    r55466 r55467  
    438438        AssertCompile((a_iCompBit) < 64U); \
    439439        AssertMsg((pCtx)->fXStateMask & RT_BIT_64(a_iCompBit), (#a_iCompBit "\n")); \
    440         AssertMsg((pCtx)->aoffXState[(a_iCompBit)] != UINT64_MAX, (#a_iCompBit "\n")); \
     440        AssertMsg((pCtx)->aoffXState[(a_iCompBit)] != UINT16_MAX, (#a_iCompBit "\n")); \
    441441        return (a_PtrType)((uint8_t *)(pCtx)->CTX_SUFF(pXState) + pCtx->aoffXState[(a_iCompBit)]); \
    442442    }(a_pCtx))
     
    446446                        AssertCompile((a_iCompBit) < 64U); \
    447447                        AssertMsg((a_pCtx)->fXStateMask & RT_BIT_64(a_iCompBit), (#a_iCompBit "\n")); \
    448                         AssertMsg((a_pCtx)->aoffXState[(a_iCompBit)] != UINT64_MAX, (#a_iCompBit "\n")); \
     448                        AssertMsg((a_pCtx)->aoffXState[(a_iCompBit)] != UINT16_MAX, (#a_iCompBit "\n")); \
    449449                        (a_PtrType)((uint8_t *)(a_pCtx)->CTX_SUFF(pXState) + pCtx->aoffXState[(a_iCompBit)]); \
    450450                   })
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette