VirtualBox

Ignore:
Timestamp:
Oct 13, 2008 6:30:04 AM (16 years ago)
Author:
vboxsync
Message:

uint64_t conversion fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r13182 r13193  
    22822282        AssertRC(rc);
    22832283#else
     2284        uint32_t val_hi;
    22842285        rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_FULL, &val);
    22852286        AssertRC(rc);
    2286         GCPhys = val;
    2287         rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_HIGH, &val);
    2288         GCPhys |= (val << 32ULL);     
     2287        rc = VMXReadVMCS(VMX_VMCS_EXIT_PHYS_ADDR_HIGH, &val_hi);
     2288        AssertRC(rc);
     2289        GCPhys = RT_MAKE_U64(val, val_hi);
    22892290#endif
    22902291
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