Changeset 58106 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Oct 7, 2015 5:07:25 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/HMInternal.h
r57884 r58106 49 49 /** @def HM_PROFILE_EXIT_DISPATCH 50 50 * Enables profiling of the VM exit handler dispatching. */ 51 #if 0 51 #if 0 || defined(DOXYGEN_RUNNING) 52 52 # define HM_PROFILE_EXIT_DISPATCH 53 53 #endif … … 127 127 128 128 129 /** Resets/initializes the VM-exit/ #VMEXIT history array. */129 /** Resets/initializes the VM-exit/\#VMEXIT history array. */ 130 130 #define HMCPU_EXIT_HISTORY_RESET(pVCpu) (memset(&(pVCpu)->hm.s.auExitHistory, 0xff, sizeof((pVCpu)->hm.s.auExitHistory))) 131 131 132 /** Updates the VM-exit/ #VMEXIT history array. */132 /** Updates the VM-exit/\#VMEXIT history array. */ 133 133 #define HMCPU_EXIT_HISTORY_ADD(pVCpu, a_ExitReason) \ 134 134 do { \ … … 623 623 /** Whether we're using the hyper DR7 or guest DR7. */ 624 624 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. */ 626 626 bool fPreloadGuestFpu; 627 627 /** Set if XCR0 needs to be loaded and saved when entering and exiting guest … … 629 629 bool fLoadSaveGuestXcr0; 630 630 631 /** Whether #UD needs to be intercepted (required by certain GIM providers). */631 /** Whether \#UD needs to be intercepted (required by certain GIM providers). */ 632 632 bool fGIMTrapXcptUD; 633 633 /** Whether paravirt. hypercalls are enabled. */ … … 871 871 RTCPUID idEnteredCpu; 872 872 873 /** VT-x/AMD-V VM-exit/ #VMXEXIT history, circular array. */873 /** VT-x/AMD-V VM-exit/\#VMXEXIT history, circular array. */ 874 874 uint16_t auExitHistory[31]; 875 875 /** The index of the next free slot in the history array. */ … … 903 903 STAMCOUNTER StatExitShadowNM; 904 904 STAMCOUNTER StatExitGuestNM; 905 STAMCOUNTER StatExitShadowPF; /* Misleading, currently used for MMIO#PFs as well. */905 STAMCOUNTER StatExitShadowPF; /**< Misleading, currently used for MMIO \#PFs as well. */ 906 906 STAMCOUNTER StatExitShadowPFEM; 907 907 STAMCOUNTER StatExitGuestPF; -
trunk/src/VBox/VMM/include/PDMInternal.h
r56402 r58106 294 294 PVMRC pVMRC; 295 295 /** Set if this critical section is the automatically created default 296 * section of a device. .*/296 * section of a device. */ 297 297 bool fAutomaticDefaultCritsect; 298 298 /** Set if the critical section is used by a timer or similar. … … 689 689 /** @copydoc PDMPCIBUSREG::pfnRegisterR3 */ 690 690 DECLR3CALLBACKMEMBER(int, pfnRegisterR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, const char *pszName, int iDev)); 691 /** @copydoc PDMPCIBUSREG::pfn PCIRegisterMsiR3 */691 /** @copydoc PDMPCIBUSREG::pfnRegisterMsiR3 */ 692 692 DECLR3CALLBACKMEMBER(int, pfnRegisterMsiR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PPDMMSIREG pMsiReg)); 693 693 /** @copydoc PDMPCIBUSREG::pfnIORegionRegisterR3 */ … … 977 977 } SetIRQ; 978 978 979 /** Expanding the structure. .*/979 /** Expanding the structure. */ 980 980 uint64_t au64[2]; 981 981 } u; -
trunk/src/VBox/VMM/include/PGMInternal.h
r57446 r58106 152 152 /** @def VBOX_WITH_NEW_LAZY_PAGE_ALLOC 153 153 * 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 155 157 156 158 /** @def VBOX_WITH_REAL_WRITE_MONITORED_PAGES 157 159 * 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. */ 159 161 #define VBOX_WITH_REAL_WRITE_MONITORED_PAGES 160 162 … … 876 878 * Initializes the page structure. 877 879 * @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). 878 884 */ 879 885 #define PGM_PAGE_INIT(a_pPage, a_HCPhys, a_idPage, a_uType, a_uState) \ … … 1553 1559 * 1554 1560 * @returns RAM range TLB index. 1555 * @param GCPhysThe guest physical address.1561 * @param a_GCPhys The guest physical address. 1556 1562 */ 1557 1563 #define PGM_RAMRANGE_TLB_IDX(a_GCPhys) ( ((a_GCPhys) >> 20) & (PGM_RAMRANGE_TLB_ENTRIES - 1) ) … … 2074 2080 /** @typedef PPPGMPAGEMAP 2075 2081 * Pointer to a page mapper unit pointer for current context. */ 2076 #if def IN_RC2082 #if defined(IN_RC) && !defined(DOXYGEN_RUNNING) 2077 2083 // typedef PPGMPAGEGCMAPTLB PPGMPAGEMAPTLB; 2078 2084 // typedef PPGMPAGEGCMAPTLBE PPGMPAGEMAPTLBE; … … 3717 3723 STAMCOUNTER StatRZSyncPagePDOutOfSync; /**< RC/R0: The number of time we've encountered an out-of-sync PD in SyncPage. */ 3718 3724 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(). */ 3720 3726 STAMCOUNTER StatRZDirtyPage; /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */ 3721 3727 STAMCOUNTER StatRZDirtyPageBig; /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */ … … 3801 3807 * Converts a PGMCPU pointer into a VM pointer. 3802 3808 * @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. 3804 3810 */ 3805 3811 #define PGMCPU2VM(pPGM) ( (PVM)((char*)(pPGM) - (pPGM)->offVM) ) … … 3808 3814 * Converts a PGMCPU pointer into a PGM pointer. 3809 3815 * @returns Pointer to the VM structure the PGM is part of. 3810 * @param pPGM 3816 * @param pPGMCpu Pointer to PGMCPU instance data. 3811 3817 */ 3812 3818 #define PGMCPU2PGM(pPGMCpu) ( (PPGM)((char *)(pPGMCpu) - (pPGMCpu)->offPGM) ) -
trunk/src/VBox/VMM/include/TRPMInternal.h
r56287 r58106 76 76 * Converts a TRPM pointer into a VM pointer. 77 77 * @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. 79 79 */ 80 80 #define TRPM_2_VM(pTRPM) ( (PVM)((uint8_t *)(pTRPM) - (pTRPM)->offVM) ) … … 84 84 * Converts a TRPM pointer into a TRPMCPU pointer. 85 85 * @returns Pointer to the VM structure the TRPMCPU is part of. 86 * @param pT RPMPointer to TRPMCPU instance data.86 * @param pTrpmCpu Pointer to TRPMCPU instance data. 87 87 * @remarks Raw-mode only, not SMP safe. 88 88 */ … … 109 109 * This configuration option is provided for speeding up guest like Solaris 110 110 * 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 interpreted111 * frequently updated. The updates will cause \#PFs and have to be interpreted 112 112 * by PGMInterpretInstruction which is slow compared to raw execution. 113 113 * … … 115 115 * there is no problem with dropping the IDT monitoring. 116 116 * 117 * @cfgm /TRPM/SafeToDropGuestIDTMonitoring boolean defaults to false.117 * @cfgm{/TRPM/SafeToDropGuestIDTMonitoring, boolean, defaults to false.} 118 118 */ 119 119 bool fSafeToDropGuestIDTMonitoring; … … 162 162 163 163 STAMPROFILE StatTrap0dDisasm; 164 STAMCOUNTER StatTrap0dRdTsc; /**< Number of RDTSC #GPs. */164 STAMCOUNTER StatTrap0dRdTsc; /**< Number of RDTSC \#GPs. */ 165 165 166 166 #ifdef VBOX_WITH_STATISTICS … … 185 185 * Converts a TRPMCPU pointer into a VM pointer. 186 186 * @returns Pointer to the VM structure the TRPMCPU is part of. 187 * @param pT RPMPointer to TRPMCPU instance data.187 * @param pTrpmCpu Pointer to TRPMCPU instance data. 188 188 */ 189 189 #define TRPMCPU_2_VM(pTrpmCpu) ( (PVM)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVM) ) … … 192 192 * Converts a TRPMCPU pointer into a VMCPU pointer. 193 193 * @returns Pointer to the VMCPU structure the TRPMCPU is part of. 194 * @param pT RPMPointer to TRPMCPU instance data.194 * @param pTrpmCpu Pointer to TRPMCPU instance data. 195 195 */ 196 196 #define TRPMCPU_2_VMCPU(pTrpmCpu) ( (PVMCPU)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVMCpu) ) … … 240 240 RTGCUINT uPrevVector; 241 241 242 /** Instruction length for software interrupts and software exceptions (#BP,243 * 242 /** Instruction length for software interrupts and software exceptions 243 * (\#BP, \#OF) */ 244 244 uint8_t cbInstr; 245 245 -
trunk/src/VBox/VMM/include/VMMInternal.h
r57446 r58106 50 50 * Ring-0 logging isn't 100% safe yet (thread id reuse / process exit cleanup), 51 51 * 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. 53 53 */ 54 54 #if defined(DEBUG_sandervl) || defined(DEBUG_frank) || defined(DEBUG_ramshankar) || defined(DOXYGEN_RUNNING) … … 514 514 /** Switching testing and profiling stub. */ 515 515 VMMRC_DO_TESTCASE_NOP, 516 /** Testcase for checking interrupt masking. .*/516 /** Testcase for checking interrupt masking. */ 517 517 VMMRC_DO_TESTCASE_INTERRUPT_MASKING, 518 518 /** Switching testing and profiling stub. */ … … 585 585 * @param pfn The function to be called when not resuming.. 586 586 * @param pVM The argument of that function. 587 * @param pVCpu The VCPU of the calling EMT. 587 588 */ 588 589 DECLASM(int) vmmR0CallRing3SetJmp(PVMMR0JMPBUF pJmpBuf, PFNVMMR0SETJMP pfn, PVM pVM, PVMCPU pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.