VirtualBox

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


Ignore:
Timestamp:
Nov 21, 2012 3:36:39 PM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: Camel case.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

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

    r43884 r43930  
    15351535 */
    15361536#if RT_INLINE_ASM_EXTERNAL || HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1537 DECLASM(int) VMXWriteVMCS32(uint32_t idxField, uint32_t u32Val);
     1537DECLASM(int) VMXWriteVmcs32(uint32_t idxField, uint32_t u32Val);
    15381538#else
    1539 DECLINLINE(int) VMXWriteVMCS32(uint32_t idxField, uint32_t u32Val)
     1539DECLINLINE(int) VMXWriteVmcs32(uint32_t idxField, uint32_t u32Val)
    15401540{
    15411541    int rc = VINF_SUCCESS;
     
    15871587 */
    15881588#if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1589 DECLASM(int) VMXWriteVMCS64(uint32_t idxField, uint64_t u64Val);
     1589DECLASM(int) VMXWriteVmcs64(uint32_t idxField, uint64_t u64Val);
    15901590#else
    1591 VMMR0DECL(int) VMXWriteVMCS64Ex(PVMCPU pVCpu, uint32_t idxField, uint64_t u64Val);
    1592 
    1593 #define VMXWriteVMCS64(idxField, u64Val)    VMXWriteVMCS64Ex(pVCpu, idxField, u64Val)
     1591VMMR0DECL(int) VMXWriteVmcs64Ex(PVMCPU pVCpu, uint32_t idxField, uint64_t u64Val);
     1592
     1593#define VMXWriteVmcs64(idxField, u64Val)    VMXWriteVmcs64Ex(pVCpu, idxField, u64Val)
    15941594#endif
    15951595
    15961596#if HC_ARCH_BITS == 64
    1597 #define VMXWriteVMCS VMXWriteVMCS64
     1597#define VMXWriteVmcs VMXWriteVmcs64
    15981598#else
    1599 #define VMXWriteVMCS VMXWriteVMCS32
     1599#define VMXWriteVmcs VMXWriteVmcs32
    16001600#endif /* HC_ARCH_BITS == 64 */
    16011601
     
    16251625 */
    16261626#if RT_INLINE_ASM_EXTERNAL || HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1627 DECLASM(int) VMXReadVMCS32(uint32_t idxField, uint32_t *pData);
     1627DECLASM(int) VMXReadVmcs32(uint32_t idxField, uint32_t *pData);
    16281628#else
    1629 DECLINLINE(int) VMXReadVMCS32(uint32_t idxField, uint32_t *pData)
     1629DECLINLINE(int) VMXReadVmcsS32(uint32_t idxField, uint32_t *pData)
    16301630{
    16311631    int rc = VINF_SUCCESS;
     
    16801680 */
    16811681#if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1682 DECLASM(int) VMXReadVMCS64(uint32_t idxField, uint64_t *pData);
     1682DECLASM(int) VMXReadVmcs64(uint32_t idxField, uint64_t *pData);
    16831683#else
    1684 DECLINLINE(int) VMXReadVMCS64(uint32_t idxField, uint64_t *pData)
     1684DECLINLINE(int) VMXReadVmcs64(uint32_t idxField, uint64_t *pData)
    16851685{
    16861686    int rc;
    16871687
    16881688    uint32_t val_hi, val;
    1689     rc  = VMXReadVMCS32(idxField, &val);
    1690     rc |= VMXReadVMCS32(idxField + 1, &val_hi);
     1689    rc  = VMXReadVmcs32(idxField, &val);
     1690    rc |= VMXReadVmcs32(idxField + 1, &val_hi);
    16911691    AssertRC(rc);
    16921692    *pData = RT_MAKE_U64(val, val_hi);
     
    16961696
    16971697#if HC_ARCH_BITS == 64
    1698 # define VMXReadVMCS VMXReadVMCS64
     1698# define VMXReadVmcs VMXReadVmcs64
    16991699#else
    1700 # define VMXReadVMCS VMXReadVMCS32
     1700# define VMXReadVmcs VMXReadVmcs32
    17011701#endif /* HC_ARCH_BITS == 64 */
    17021702
     
    17101710#if HC_ARCH_BITS == 64
    17111711    uint64_t uLastError = 0;
    1712     int rc = VMXReadVMCS(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
     1712    int rc = VMXReadVmcs(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
    17131713    AssertRC(rc);
    17141714    return (uint32_t)uLastError;
     
    17161716#else /* 32-bit host: */
    17171717    uint32_t uLastError = 0;
    1718     int rc = VMXReadVMCS32(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
     1718    int rc = VMXReadVmcs32(VMX_VMCS32_RO_VM_INSTR_ERROR, &uLastError);
    17191719    AssertRC(rc);
    17201720    return uLastError;
  • trunk/include/VBox/vmm/vmm.h

    r43394 r43930  
    484484VMMR0DECL(void)     VMMR0LogFlushDisable(PVMCPU pVCpu);
    485485VMMR0DECL(void)     VMMR0LogFlushEnable(PVMCPU pVCpu);
     486VMMR0DECL(bool)     VMMR0IsLogFlushDisabled(PVMCPU pVCpu);
    486487#else
    487488#define             VMMR0LogFlushDisable(pVCpu)     do { } while(0)
    488489#define             VMMR0LogFlushEnable(pVCpu)      do { } while(0)
     490#define             VMMR0IsLogFlushDisabled(pVCpu)  (true)
    489491#endif
    490492
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