VirtualBox

Ignore:
Timestamp:
Aug 22, 2023 2:29:29 PM (15 months ago)
Author:
vboxsync
Message:

VMM: Make CPUMIsGuestIn64Bit[Code|CodeEx|Slow] use a const CPUM context parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r100184 r100940  
    15961596 * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
    15971597 */
    1598 VMMDECL(bool) CPUMIsGuestIn64BitCode(PVMCPU pVCpu)
     1598VMMDECL(bool) CPUMIsGuestIn64BitCode(PCVMCPU pVCpu)
    15991599{
    16001600    CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_CS | CPUMCTX_EXTRN_EFER);
     
    16131613 * @param   pCtx        Pointer to the current guest CPU context.
    16141614 */
    1615 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PCPUMCTX pCtx)
     1615VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PCCPUMCTX pCtx)
    16161616{
    16171617    return CPUMIsGuestIn64BitCode(CPUM_GUEST_CTX_TO_VMCPU(pCtx));
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