VirtualBox

Changeset 78239 in vbox for trunk/src


Ignore:
Timestamp:
Apr 22, 2019 7:31:39 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Const bits.

File:
1 edited

Legend:

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

    r78237 r78239  
    456456 * @remarks This takes into account the CPU features exposed to the guest.
    457457 */
    458 IEM_STATIC bool iemVmxIsVmcsFieldValid(PVMCPU pVCpu, uint64_t u64FieldEnc)
     458IEM_STATIC bool iemVmxIsVmcsFieldValid(PCVMCPU pVCpu, uint64_t u64FieldEnc)
    459459{
    460460    uint32_t const uFieldEncHi = RT_HI_U32(u64FieldEnc);
     
    11311131 * @param   uMsrCount       The MSR area count to check.
    11321132 */
    1133 DECL_FORCE_INLINE(bool) iemVmxIsAutoMsrCountValid(PVMCPU pVCpu, uint32_t uMsrCount)
     1133DECL_FORCE_INLINE(bool) iemVmxIsAutoMsrCountValid(PCVMCPU pVCpu, uint32_t uMsrCount)
    11341134{
    11351135    uint64_t const u64VmxMiscMsr      = pVCpu->cpum.GstCtx.hwvirt.vmx.Msrs.u64Misc;
     
    30463046 * @param   cbAccess    The size of the I/O access in bytes (1, 2 or 4 bytes).
    30473047 */
    3048 IEM_STATIC bool iemVmxIsIoInterceptSet(PVMCPU pVCpu, uint16_t u16Port, uint8_t cbAccess)
     3048IEM_STATIC bool iemVmxIsIoInterceptSet(PCVMCPU pVCpu, uint16_t u16Port, uint8_t cbAccess)
    30493049{
    30503050    PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs);
     
    49614961 * @param   uVector     The interrupt that was acknowledged using an EOI.
    49624962 */
    4963 IEM_STATIC bool iemVmxIsEoiInterceptSet(PVMCPU pVCpu, uint8_t uVector)
     4963IEM_STATIC bool iemVmxIsEoiInterceptSet(PCVMCPU pVCpu, uint8_t uVector)
    49644964{
    49654965    PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs);
     
    77477747 * @param   idMsr           The MSR.
    77487748 */
    7749 IEM_STATIC bool iemVmxIsRdmsrWrmsrInterceptSet(PVMCPU pVCpu, uint32_t uExitReason, uint32_t idMsr)
     7749IEM_STATIC bool iemVmxIsRdmsrWrmsrInterceptSet(PCVMCPU pVCpu, uint32_t uExitReason, uint32_t idMsr)
    77507750{
    77517751    Assert(IEM_VMX_IS_NON_ROOT_MODE(pVCpu));
     
    77807780 *                          VMX_EXIT_VMREAD).
    77817781 */
    7782 IEM_STATIC bool iemVmxIsVmreadVmwriteInterceptSet(PVMCPU pVCpu, uint32_t uExitReason, uint64_t u64FieldEnc)
     7782IEM_STATIC bool iemVmxIsVmreadVmwriteInterceptSet(PCVMCPU pVCpu, uint32_t uExitReason, uint64_t u64FieldEnc)
    77837783{
    77847784    Assert(IEM_VMX_IS_NON_ROOT_MODE(pVCpu));
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