VirtualBox

Changeset 54654 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Mar 5, 2015 3:43:41 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98801
Message:

VMM/GIM: cleanup.

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/GIMHvInternal.h

    r53509 r54654  
    55
    66/*
    7  * Copyright (C) 2014 Oracle Corporation
     7 * Copyright (C) 2014-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    495495RT_C_DECLS_BEGIN
    496496
    497 /** @todo r=bird: Internal header, internal prefix: s/GIM\(R.|\)Hv/gim\1Hv/g  */
    498 
    499497#ifdef IN_RING0
    500 VMMR0_INT_DECL(int)             GIMR0HvInitVM(PVM pVM);
    501 VMMR0_INT_DECL(int)             GIMR0HvTermVM(PVM pVM);
    502 VMMR0_INT_DECL(int)             GIMR0HvUpdateParavirtTsc(PVM pVM, uint64_t u64Offset);
     498VMMR0_INT_DECL(int)             gimR0HvInitVM(PVM pVM);
     499VMMR0_INT_DECL(int)             gimR0HvTermVM(PVM pVM);
     500VMMR0_INT_DECL(int)             gimR0HvUpdateParavirtTsc(PVM pVM, uint64_t u64Offset);
    503501#endif /* IN_RING0 */
    504502
    505503#ifdef IN_RING3
    506 VMMR3_INT_DECL(int)             GIMR3HvInit(PVM pVM);
    507 VMMR3_INT_DECL(int)             GIMR3HvInitCompleted(PVM pVM);
    508 VMMR3_INT_DECL(int)             GIMR3HvTerm(PVM pVM);
    509 VMMR3_INT_DECL(void)            GIMR3HvRelocate(PVM pVM, RTGCINTPTR offDelta);
    510 VMMR3_INT_DECL(void)            GIMR3HvReset(PVM pVM);
    511 VMMR3_INT_DECL(PGIMMMIO2REGION) GIMR3HvGetMmio2Regions(PVM pVM, uint32_t *pcRegions);
    512 VMMR3_INT_DECL(int)             GIMR3HvSave(PVM pVM, PSSMHANDLE pSSM);
    513 VMMR3_INT_DECL(int)             GIMR3HvLoad(PVM pVM, PSSMHANDLE pSSM, uint32_t uSSMVersion);
    514 
    515 VMMR3_INT_DECL(int)             GIMR3HvDisableTscPage(PVM pVM);
    516 VMMR3_INT_DECL(int)             GIMR3HvEnableTscPage(PVM pVM, RTGCPHYS GCPhysTscPage, bool fUseThisTscSequence, uint32_t uTscSequence);
    517 VMMR3_INT_DECL(int)             GIMR3HvDisableHypercallPage(PVM pVM);
    518 VMMR3_INT_DECL(int)             GIMR3HvEnableHypercallPage(PVM pVM, RTGCPHYS GCPhysHypercallPage);
     504VMMR3_INT_DECL(int)             gimR3HvInit(PVM pVM);
     505VMMR3_INT_DECL(int)             gimR3HvInitCompleted(PVM pVM);
     506VMMR3_INT_DECL(int)             gimR3HvTerm(PVM pVM);
     507VMMR3_INT_DECL(void)            gimR3HvRelocate(PVM pVM, RTGCINTPTR offDelta);
     508VMMR3_INT_DECL(void)            gimR3HvReset(PVM pVM);
     509VMMR3_INT_DECL(PGIMMMIO2REGION) gimR3HvGetMmio2Regions(PVM pVM, uint32_t *pcRegions);
     510VMMR3_INT_DECL(int)             gimR3HvSave(PVM pVM, PSSMHANDLE pSSM);
     511VMMR3_INT_DECL(int)             gimR3HvLoad(PVM pVM, PSSMHANDLE pSSM, uint32_t uSSMVersion);
     512
     513VMMR3_INT_DECL(int)             gimR3HvDisableTscPage(PVM pVM);
     514VMMR3_INT_DECL(int)             gimR3HvEnableTscPage(PVM pVM, RTGCPHYS GCPhysTscPage, bool fUseThisTscSeq, uint32_t uTscSeq);
     515VMMR3_INT_DECL(int)             gimR3HvDisableHypercallPage(PVM pVM);
     516VMMR3_INT_DECL(int)             gimR3HvEnableHypercallPage(PVM pVM, RTGCPHYS GCPhysHypercallPage);
    519517#endif /* IN_RING3 */
    520518
    521 VMM_INT_DECL(bool)              GIMHvIsParavirtTscEnabled(PVM pVM);
    522 VMM_INT_DECL(bool)              GIMHvAreHypercallsEnabled(PVMCPU pVCpu);
    523 VMM_INT_DECL(int)               GIMHvHypercall(PVMCPU pVCpu, PCPUMCTX pCtx);
    524 VMM_INT_DECL(VBOXSTRICTRC)      GIMHvReadMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue);
    525 VMM_INT_DECL(VBOXSTRICTRC)      GIMHvWriteMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t uRawValue);
     519VMM_INT_DECL(bool)              gimHvIsParavirtTscEnabled(PVM pVM);
     520VMM_INT_DECL(bool)              gimHvAreHypercallsEnabled(PVMCPU pVCpu);
     521VMM_INT_DECL(int)               gimHvHypercall(PVMCPU pVCpu, PCPUMCTX pCtx);
     522VMM_INT_DECL(VBOXSTRICTRC)      gimHvReadMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue);
     523VMM_INT_DECL(VBOXSTRICTRC)      gimHvWriteMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t uRawValue);
    526524
    527525RT_C_DECLS_END
  • trunk/src/VBox/VMM/include/GIMMinimalInternal.h

    r52765 r54654  
    55
    66/*
    7  * Copyright (C) 2014 Oracle Corporation
     7 * Copyright (C) 2014-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2525
    2626#ifdef IN_RING3
    27 VMMR3_INT_DECL(int)         GIMR3MinimalInit(PVM pVM);
    28 VMMR3_INT_DECL(int)         GIMR3MinimalInitCompleted(PVM pVM);
    29 VMMR3_INT_DECL(void)        GIMR3MinimalRelocate(PVM pVM, RTGCINTPTR offDelta);
     27VMMR3_INT_DECL(int)         gimR3MinimalInit(PVM pVM);
     28VMMR3_INT_DECL(int)         gimR3MinimalInitCompleted(PVM pVM);
     29VMMR3_INT_DECL(void)        gimR3MinimalRelocate(PVM pVM, RTGCINTPTR offDelta);
    3030#endif /* IN_RING3 */
    3131
Note: See TracChangeset for help on using the changeset viewer.

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