VirtualBox

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


Ignore:
Timestamp:
Oct 7, 2015 5:07:25 PM (9 years ago)
Author:
vboxsync
Message:

include,misc: Corrected a bunch of doxygen errors.

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

Legend:

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

    r57884 r58106  
    4949/** @def HM_PROFILE_EXIT_DISPATCH
    5050 * Enables profiling of the VM exit handler dispatching. */
    51 #if 0
     51#if 0 || defined(DOXYGEN_RUNNING)
    5252# define HM_PROFILE_EXIT_DISPATCH
    5353#endif
     
    127127
    128128
    129 /** Resets/initializes the VM-exit/#VMEXIT history array. */
     129/** Resets/initializes the VM-exit/\#VMEXIT history array. */
    130130#define HMCPU_EXIT_HISTORY_RESET(pVCpu)           (memset(&(pVCpu)->hm.s.auExitHistory, 0xff, sizeof((pVCpu)->hm.s.auExitHistory)))
    131131
    132 /** Updates the VM-exit/#VMEXIT history array. */
     132/** Updates the VM-exit/\#VMEXIT history array. */
    133133#define HMCPU_EXIT_HISTORY_ADD(pVCpu, a_ExitReason) \
    134134    do { \
     
    623623    /** Whether we're using the hyper DR7 or guest DR7. */
    624624    bool                        fUsingHyperDR7;
    625     /** Whether to preload the guest-FPU state to avoid #NM VM-exit overhead. */
     625    /** Whether to preload the guest-FPU state to avoid \#NM VM-exit overhead. */
    626626    bool                        fPreloadGuestFpu;
    627627    /** Set if XCR0 needs to be loaded and saved when entering and exiting guest
     
    629629    bool                        fLoadSaveGuestXcr0;
    630630
    631     /** Whether #UD needs to be intercepted (required by certain GIM providers). */
     631    /** Whether \#UD needs to be intercepted (required by certain GIM providers). */
    632632    bool                        fGIMTrapXcptUD;
    633633    /** Whether paravirt. hypercalls are enabled. */
     
    871871    RTCPUID                 idEnteredCpu;
    872872
    873     /** VT-x/AMD-V VM-exit/#VMXEXIT history, circular array. */
     873    /** VT-x/AMD-V VM-exit/\#VMXEXIT history, circular array. */
    874874    uint16_t                auExitHistory[31];
    875875    /** The index of the next free slot in the history array. */
     
    903903    STAMCOUNTER             StatExitShadowNM;
    904904    STAMCOUNTER             StatExitGuestNM;
    905     STAMCOUNTER             StatExitShadowPF;       /* Misleading, currently used for MMIO #PFs as well. */
     905    STAMCOUNTER             StatExitShadowPF;       /**< Misleading, currently used for MMIO \#PFs as well. */
    906906    STAMCOUNTER             StatExitShadowPFEM;
    907907    STAMCOUNTER             StatExitGuestPF;
  • trunk/src/VBox/VMM/include/PDMInternal.h

    r56402 r58106  
    294294    PVMRC                           pVMRC;
    295295    /** Set if this critical section is the automatically created default
    296      * section of a device.. */
     296     * section of a device. */
    297297    bool                            fAutomaticDefaultCritsect;
    298298    /** Set if the critical section is used by a timer or similar.
     
    689689    /** @copydoc PDMPCIBUSREG::pfnRegisterR3 */
    690690    DECLR3CALLBACKMEMBER(int,       pfnRegisterR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, const char *pszName, int iDev));
    691     /** @copydoc PDMPCIBUSREG::pfnPCIRegisterMsiR3 */
     691    /** @copydoc PDMPCIBUSREG::pfnRegisterMsiR3 */
    692692    DECLR3CALLBACKMEMBER(int,       pfnRegisterMsiR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PPDMMSIREG pMsiReg));
    693693    /** @copydoc PDMPCIBUSREG::pfnIORegionRegisterR3 */
     
    977977        } SetIRQ;
    978978
    979         /** Expanding the structure.. */
     979        /** Expanding the structure. */
    980980        uint64_t    au64[2];
    981981    } u;
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r57446 r58106  
    152152/** @def VBOX_WITH_NEW_LAZY_PAGE_ALLOC
    153153 * Enables the experimental lazy page allocation code. */
    154 /*#define VBOX_WITH_NEW_LAZY_PAGE_ALLOC */
     154#ifdef DOXYGEN_RUNNING
     155# define VBOX_WITH_NEW_LAZY_PAGE_ALLOC
     156#endif
    155157
    156158/** @def VBOX_WITH_REAL_WRITE_MONITORED_PAGES
    157159 * Enables real write monitoring of pages, i.e. mapping them read-only and
    158  * only making them writable when getting a write access #PF. */
     160 * only making them writable when getting a write access \#PF. */
    159161#define VBOX_WITH_REAL_WRITE_MONITORED_PAGES
    160162
     
    876878 * Initializes the page structure.
    877879 * @param   a_pPage     Pointer to the physical guest page tracking structure.
     880 * @param   a_HCPhys    The host physical address of the page.
     881 * @param   a_idPage    The (GMM) page ID of the page.
     882 * @param   a_uType     The page type (PGMPAGETYPE).
     883 * @param   a_uState    The page state (PGM_PAGE_STATE_XXX).
    878884 */
    879885#define PGM_PAGE_INIT(a_pPage, a_HCPhys, a_idPage, a_uType, a_uState) \
     
    15531559 *
    15541560 * @returns RAM range TLB index.
    1555  * @param   GCPhys      The guest physical address.
     1561 * @param   a_GCPhys    The guest physical address.
    15561562 */
    15571563#define PGM_RAMRANGE_TLB_IDX(a_GCPhys)      ( ((a_GCPhys) >> 20) & (PGM_RAMRANGE_TLB_ENTRIES - 1) )
     
    20742080/** @typedef PPPGMPAGEMAP
    20752081 * Pointer to a page mapper unit pointer for current context. */
    2076 #ifdef IN_RC
     2082#if defined(IN_RC) && !defined(DOXYGEN_RUNNING)
    20772083// typedef PPGMPAGEGCMAPTLB               PPGMPAGEMAPTLB;
    20782084// typedef PPGMPAGEGCMAPTLBE              PPGMPAGEMAPTLBE;
     
    37173723    STAMCOUNTER StatRZSyncPagePDOutOfSync;          /**< RC/R0: The number of time we've encountered an out-of-sync PD in SyncPage. */
    37183724    STAMCOUNTER StatRZAccessedPage;                 /**< RC/R0: The number of pages marked not present for accessed bit emulation. */
    3719     STAMPROFILE StatRZDirtyBitTracking;             /**< RC/R0: Profiling the dirty bit tracking in CheckPageFault().. */
     3725    STAMPROFILE StatRZDirtyBitTracking;             /**< RC/R0: Profiling the dirty bit tracking in CheckPageFault(). */
    37203726    STAMCOUNTER StatRZDirtyPage;                    /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */
    37213727    STAMCOUNTER StatRZDirtyPageBig;                 /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */
     
    38013807 * Converts a PGMCPU pointer into a VM pointer.
    38023808 * @returns Pointer to the VM structure the PGM is part of.
    3803  * @param   pPGM   Pointer to PGMCPU instance data.
     3809 * @param   pPGM    Pointer to PGMCPU instance data.
    38043810 */
    38053811#define PGMCPU2VM(pPGM)         ( (PVM)((char*)(pPGM) - (pPGM)->offVM) )
     
    38083814 * Converts a PGMCPU pointer into a PGM pointer.
    38093815 * @returns Pointer to the VM structure the PGM is part of.
    3810  * @param   pPGM  Pointer to PGMCPU instance data.
     3816 * @param   pPGMCpu Pointer to PGMCPU instance data.
    38113817 */
    38123818#define PGMCPU2PGM(pPGMCpu)     ( (PPGM)((char *)(pPGMCpu) - (pPGMCpu)->offPGM) )
  • trunk/src/VBox/VMM/include/TRPMInternal.h

    r56287 r58106  
    7676 * Converts a TRPM pointer into a VM pointer.
    7777 * @returns Pointer to the VM structure the TRPM is part of.
    78  * @param   pTRPM   Pointer to TRPM instance data.
     78 * @param   pTRPM       Pointer to TRPM instance data.
    7979 */
    8080#define TRPM_2_VM(pTRPM)            ( (PVM)((uint8_t *)(pTRPM) - (pTRPM)->offVM) )
     
    8484 * Converts a TRPM pointer into a TRPMCPU pointer.
    8585 * @returns Pointer to the VM structure the TRPMCPU is part of.
    86  * @param   pTRPM   Pointer to TRPMCPU instance data.
     86 * @param   pTrpmCpu    Pointer to TRPMCPU instance data.
    8787 * @remarks Raw-mode only, not SMP safe.
    8888 */
     
    109109     * This configuration option is provided for speeding up guest like Solaris
    110110     * that put the IDT on the same page as a whole lot of other data that is
    111      * frequently updated. The updates will cause #PFs and have to be interpreted
     111     * frequently updated. The updates will cause \#PFs and have to be interpreted
    112112     * by PGMInterpretInstruction which is slow compared to raw execution.
    113113     *
     
    115115     * there is no problem with dropping the IDT monitoring.
    116116     *
    117      * @cfgm    /TRPM/SafeToDropGuestIDTMonitoring   boolean     defaults to false.
     117     * @cfgm{/TRPM/SafeToDropGuestIDTMonitoring, boolean, defaults to false.}
    118118     */
    119119    bool                    fSafeToDropGuestIDTMonitoring;
     
    162162
    163163    STAMPROFILE             StatTrap0dDisasm;
    164     STAMCOUNTER             StatTrap0dRdTsc;    /**< Number of RDTSC #GPs. */
     164    STAMCOUNTER             StatTrap0dRdTsc;    /**< Number of RDTSC \#GPs. */
    165165
    166166#ifdef VBOX_WITH_STATISTICS
     
    185185 * Converts a TRPMCPU pointer into a VM pointer.
    186186 * @returns Pointer to the VM structure the TRPMCPU is part of.
    187  * @param   pTRPM   Pointer to TRPMCPU instance data.
     187 * @param   pTrpmCpu    Pointer to TRPMCPU instance data.
    188188 */
    189189#define TRPMCPU_2_VM(pTrpmCpu)      ( (PVM)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVM) )
     
    192192 * Converts a TRPMCPU pointer into a VMCPU pointer.
    193193 * @returns Pointer to the VMCPU structure the TRPMCPU is part of.
    194  * @param   pTRPM   Pointer to TRPMCPU instance data.
     194 * @param   pTrpmCpu    Pointer to TRPMCPU instance data.
    195195 */
    196196#define TRPMCPU_2_VMCPU(pTrpmCpu)   ( (PVMCPU)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVMCpu) )
     
    240240    RTGCUINT                uPrevVector;
    241241
    242     /** Instruction length for software interrupts and software exceptions (#BP,
    243      *  #OF) */
     242    /** Instruction length for software interrupts and software exceptions
     243     * (\#BP, \#OF) */
    244244    uint8_t                 cbInstr;
    245245
  • trunk/src/VBox/VMM/include/VMMInternal.h

    r57446 r58106  
    5050 * Ring-0 logging isn't 100% safe yet (thread id reuse / process exit cleanup),
    5151 * so you have to sign up here by adding your defined(DEBUG_<userid>) to the
    52  * #if, or by adding VBOX_WITH_R0_LOGGING to your LocalConfig.kmk.
     52 * \#if, or by adding VBOX_WITH_R0_LOGGING to your LocalConfig.kmk.
    5353 */
    5454#if defined(DEBUG_sandervl) || defined(DEBUG_frank) || defined(DEBUG_ramshankar) || defined(DOXYGEN_RUNNING)
     
    514514    /** Switching testing and profiling stub. */
    515515    VMMRC_DO_TESTCASE_NOP,
    516     /** Testcase for checking interrupt masking.. */
     516    /** Testcase for checking interrupt masking. */
    517517    VMMRC_DO_TESTCASE_INTERRUPT_MASKING,
    518518    /** Switching testing and profiling stub. */
     
    585585 * @param   pfn         The function to be called when not resuming..
    586586 * @param   pVM         The argument of that function.
     587 * @param   pVCpu       The VCPU of the calling EMT.
    587588 */
    588589DECLASM(int)    vmmR0CallRing3SetJmp(PVMMR0JMPBUF pJmpBuf, PFNVMMR0SETJMP pfn, PVM pVM, PVMCPU 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