Changeset 41783 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 16, 2012 7:24:15 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78601
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r41774 r41783 1539 1539 * 1540 1540 * @returns Number of leafs. 1541 * @param pVM The VM handle.1541 * @param pVM Pointer to the VM. 1542 1542 * @remark Intended for PATM. 1543 1543 */ … … 1552 1552 * 1553 1553 * @returns Number of leafs. 1554 * @param pVM The VM handle.1554 * @param pVM Pointer to the VM. 1555 1555 * @remark Intended for PATM. 1556 1556 */ … … 1565 1565 * 1566 1566 * @returns Number of leafs. 1567 * @param pVM The VM handle.1567 * @param pVM Pointer to the VM. 1568 1568 * @remark Intended for PATM. 1569 1569 */ … … 1577 1577 * Sets a CPUID feature bit. 1578 1578 * 1579 * @param pVM The VM Handle.1579 * @param pVM Pointer to the VM. 1580 1580 * @param enmFeature The feature to set. 1581 1581 */ … … 1777 1777 * 1778 1778 * @returns boolean for feature presence 1779 * @param pVM The VM Handle.1779 * @param pVM Pointer to the VM. 1780 1780 * @param enmFeature The feature to query. 1781 1781 */ … … 1822 1822 * Clears a CPUID feature bit. 1823 1823 * 1824 * @param pVM The VM Handle.1824 * @param pVM Pointer to the VM. 1825 1825 * @param enmFeature The feature to clear. 1826 1826 */ … … 1907 1907 * 1908 1908 * @returns CPU vendor 1909 * @param pVM The VM handle.1909 * @param pVM Pointer to the VM. 1910 1910 */ 1911 1911 VMMDECL(CPUMCPUVENDOR) CPUMGetHostCpuVendor(PVM pVM) … … 1918 1918 * 1919 1919 * @returns CPU vendor 1920 * @param pVM The VM handle.1920 * @param pVM Pointer to the VM. 1921 1921 */ 1922 1922 VMMDECL(CPUMCPUVENDOR) CPUMGetGuestCpuVendor(PVM pVM) … … 2298 2298 * @returns true if supported. 2299 2299 * @returns false if not supported. 2300 * @param pVM The VM handle.2300 * @param pVM Pointer to the VM. 2301 2301 */ 2302 2302 VMMDECL(bool) CPUMSupportsFXSR(PVM pVM) … … 2310 2310 * @returns true if used. 2311 2311 * @returns false if not used. 2312 * @param pVM The VM handle.2312 * @param pVM Pointer to the VM. 2313 2313 */ 2314 2314 VMMDECL(bool) CPUMIsHostUsingSysEnter(PVM pVM) … … 2322 2322 * @returns true if used. 2323 2323 * @returns false if not used. 2324 * @param pVM The VM handle.2324 * @param pVM Pointer to the VM. 2325 2325 */ 2326 2326 VMMDECL(bool) CPUMIsHostUsingSysCall(PVM pVM) … … 2417 2417 * @returns true if they are. 2418 2418 * @returns false if not. 2419 * @param pVCpu The VM handle.2419 * @param pVCpu Pointer to the VM. 2420 2420 */ 2421 2421 VMMDECL(bool) CPUMAreHiddenSelRegsValid(PVMCPU pVCpu) -
trunk/src/VBox/VMM/VMMAll/DBGFAll.cpp
r35346 r41783 31 31 * 32 32 * @returns DR7 from the DBGF point of view. 33 * @param pVM The VM handle.33 * @param pVM Pointer to the VM. 34 34 */ 35 35 VMMDECL(RTGCUINTREG) DBGFBpGetDR7(PVM pVM) … … 62 62 * 63 63 * @returns DR0 from the DBGF point of view. 64 * @param pVM The VM handle.64 * @param pVM Pointer to the VM. 65 65 */ 66 66 VMMDECL(RTGCUINTREG) DBGFBpGetDR0(PVM pVM) … … 76 76 * 77 77 * @returns DR1 from the DBGF point of view. 78 * @param pVM The VM handle.78 * @param pVM Pointer to the VM. 79 79 */ 80 80 VMMDECL(RTGCUINTREG) DBGFBpGetDR1(PVM pVM) … … 90 90 * 91 91 * @returns DR2 from the DBGF point of view. 92 * @param pVM The VM handle.92 * @param pVM Pointer to the VM. 93 93 */ 94 94 VMMDECL(RTGCUINTREG) DBGFBpGetDR2(PVM pVM) … … 104 104 * 105 105 * @returns DR3 from the DBGF point of view. 106 * @param pVM The VM handle.106 * @param pVM Pointer to the VM. 107 107 */ 108 108 VMMDECL(RTGCUINTREG) DBGFBpGetDR3(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r41774 r41783 371 371 * @retval VERR_EM_INTERNAL_DISAS_ERROR on DISCoreOneEx failure. 372 372 * 373 * @param pVM The VM handle.373 * @param pVM Pointer to the VM. 374 374 * @param pVCpu The VMCPU handle. 375 375 * @param pCtxCore The context core (used for both the mode and instruction). … … 399 399 * @retval VERR_EM_INTERNAL_DISAS_ERROR on DISCoreOneEx failure. 400 400 * 401 * @param pVM The VM handle.401 * @param pVM Pointer to the VM. 402 402 * @param pVCpu The VMCPU handle. 403 403 * @param GCPtrInstr The flat address of the instruction. … … 478 478 * @retval VERR_* Fatal errors. 479 479 * 480 * @param pVM The VM handle.480 * @param pVM Pointer to the VM. 481 481 * @param pVCpu The VMCPU handle. 482 482 * @param pRegFrame The register frame. … … 535 535 * @retval VERR_* Fatal errors. 536 536 * 537 * @param pVM The VM handle.537 * @param pVM Pointer to the VM. 538 538 * @param pVCpu The VMCPU handle. 539 539 * @param pDis The disassembler cpu state for the instruction to be … … 586 586 * 587 587 * @returns VBox status code. 588 * @param pVM The VM handle.588 * @param pVM Pointer to the VM. 589 589 * @param pVCpu The VMCPU handle. 590 590 * @param pRegFrame The register frame. … … 1968 1968 * 1969 1969 * @returns VBox status code. 1970 * @param pVM The VM handle.1970 * @param pVM Pointer to the VM. 1971 1971 * @param pVCpu The VMCPU handle. 1972 1972 * @param pRegFrame The register frame. … … 2042 2042 * 2043 2043 * @returns VBox status code. 2044 * @param pVM The VM handle.2044 * @param pVM Pointer to the VM. 2045 2045 * @param pVCpu The VMCPU handle. 2046 2046 * @param pRegFrame The register frame. … … 2080 2080 * 2081 2081 * @returns VBox status code. 2082 * @param pVM The VM handle.2082 * @param pVM Pointer to the VM. 2083 2083 * @param pVCpu The VMCPU handle. 2084 2084 * @param pRegFrame The register frame. … … 2113 2113 * 2114 2114 * @returns VBox status code. 2115 * @param pVM The VM handle.2115 * @param pVM Pointer to the VM. 2116 2116 * @param pVCpu The VMCPU handle. 2117 2117 * … … 2140 2140 * 2141 2141 * @returns VBox status code. 2142 * @param pVM The VM handle.2142 * @param pVM Pointer to the VM. 2143 2143 * @param pVCpu The VMCPU handle. 2144 2144 * @param pRegFrame The register frame. … … 2279 2279 * 2280 2280 * @returns VBox status code. 2281 * @param pVM The VM handle.2281 * @param pVM Pointer to the VM. 2282 2282 * @param pVCpu The VMCPU handle. 2283 2283 * @param pRegFrame The register frame. … … 2312 2312 * 2313 2313 * @returns VBox status code. 2314 * @param pVM The VM handle.2314 * @param pVM Pointer to the VM. 2315 2315 * @param pVCpu The VMCPU handle. 2316 2316 * @param pRegFrame The register frame. … … 2431 2431 * 2432 2432 * @returns VBox status code. 2433 * @param pVM The VM handle.2433 * @param pVM Pointer to the VM. 2434 2434 * @param pVCpu The VMCPU handle. 2435 2435 * @param pRegFrame The register frame. … … 2471 2471 * 2472 2472 * @returns VBox status code. 2473 * @param pVM The VM handle.2473 * @param pVM Pointer to the VM. 2474 2474 * @param pVCpu The VMCPU handle. 2475 2475 * @param pRegFrame The register frame. … … 2660 2660 * 2661 2661 * @returns VBox status code. 2662 * @param pVM The VM handle.2662 * @param pVM Pointer to the VM. 2663 2663 * @param pVCpu The VMCPU handle. 2664 2664 * @param pRegFrame The register frame. … … 2686 2686 * 2687 2687 * @returns VBox status code. 2688 * @param pVM The VM handle.2688 * @param pVM Pointer to the VM. 2689 2689 * @param pVCpu The VMCPU handle. 2690 2690 * @param pCtx The CPU context. … … 2729 2729 * 2730 2730 * @returns VBox status code. 2731 * @param pVM The VM handle.2731 * @param pVM Pointer to the VM. 2732 2732 * @param pVCpu The VMCPU handle. 2733 2733 * @param pRegFrame The register frame. … … 2944 2944 * 2945 2945 * @returns VBox status code. 2946 * @param pVM The VM handle.2946 * @param pVM Pointer to the VM. 2947 2947 * @param pVCpu The VMCPU handle. 2948 2948 * @param pRegFrame The register frame. … … 2989 2989 * 2990 2990 * @returns VBox status code. 2991 * @param pVM The VM handle.2991 * @param pVM Pointer to the VM. 2992 2992 * @param pVCpu The VMCPU handle. 2993 2993 * @param pRegFrame The register frame. -
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r40396 r41783 2398 2398 } 2399 2399 2400 /* The thebase and limit. */2400 /* The base and limit. */ 2401 2401 uint64_t u64Base; 2402 2402 uint32_t cbLimit = X86DESC_LIMIT(Desc.Legacy); -
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r41744 r41783 1043 1043 * Fress an MMIO range after the reference counter has become zero. 1044 1044 * 1045 * @param pVM The VM handle.1045 * @param pVM Pointer to the VM. 1046 1046 * @param pRange The range to free. 1047 1047 */ -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r41739 r41783 85 85 * VINF_IOM_R3_MMIO_READ may be returned. 86 86 * 87 * @param pVM The VM handle.87 * @param pVM Pointer to the VM. 88 88 * @param pRange The range to write to. 89 89 * @param GCPhys The physical address to start writing. … … 286 286 * VINF_IOM_R3_MMIO_WRITE may be returned. 287 287 * 288 * @param pVM The VM handle.288 * @param pVM Pointer to the VM. 289 289 * @param pRange The range to read from. 290 290 * @param GCPhys The physical address to start reading. -
trunk/src/VBox/VMM/VMMAll/MMAll.cpp
r41777 r41783 36 36 * @returns Pointer to the corresponding lookup record. 37 37 * @returns NULL on failure. 38 * @param pVM The VM handle.38 * @param pVM Pointer to the VM. 39 39 * @param R3Ptr The host context ring-3 address to lookup. 40 40 * @param poff Where to store the offset into the HMA memory chunk. … … 96 96 * @returns Pointer to the corresponding lookup record. 97 97 * @returns NULL on failure. 98 * @param pVM The VM handle.98 * @param pVM Pointer to the VM. 99 99 * @param R0Ptr The host context ring-0 address to lookup. 100 100 * @param poff Where to store the offset into the HMA memory chunk. … … 158 158 * @returns Pointer to the corresponding lookup record. 159 159 * @returns NULL on failure. 160 * @param pVM The VM handle.160 * @param pVM Pointer to the VM. 161 161 * @param RCPtr The raw-mode context address to lookup. 162 162 * @param poff Where to store the offset into the HMA memory chunk. … … 203 203 * @returns Pointer to the corresponding lookup record. 204 204 * @returns NULL on failure. 205 * @param pVM The VM handle.205 * @param pVM Pointer to the VM. 206 206 * @param pv The current context address to lookup. 207 207 * @param poff Where to store the offset into the HMA memory chunk. … … 280 280 * 281 281 * @returns the raw-mode context base address. 282 * @param pVM The the VM handle.282 * @param pVM Pointer to the VM. 283 283 * @param pLookup The HMA lookup record. 284 284 * @param off The offset into the HMA memory chunk. … … 294 294 * 295 295 * @returns the guest context base address. 296 * @param pVM The the VM handle.296 * @param pVM Pointer to the VM. 297 297 * @param pLookup The HMA lookup record. 298 298 * @param off The offset into the HMA memory chunk. -
trunk/src/VBox/VMM/VMMAll/MMAllHyper.cpp
r41777 r41783 154 154 * This might call back to Ring-3 in order to deal with lock contention in GC and R3. 155 155 * 156 * @param pVM The VM handle.156 * @param pVM Pointer to the VM. 157 157 */ 158 158 static int mmHyperLock(PVM pVM) … … 179 179 * Unlocks the hypervisor heap. 180 180 * 181 * @param pVM The VM handle.181 * @param pVM Pointer to the VM. 182 182 */ 183 183 static void mmHyperUnlock(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/PATMAll.cpp
r41737 r41783 207 207 * 208 208 * @returns The eflags. 209 * @param pVM The VM handle.209 * @param pVM Pointer to the VM. 210 210 * @param pCtxCore The context core. 211 211 */ … … 222 222 * This is a worker for CPUMRawSetEFlags(). 223 223 * 224 * @param pVM The VM handle.224 * @param pVM Pointer to the VM. 225 225 * @param pCtxCore The context core. 226 226 * @param efl The new EFLAGS value. … … 291 291 * @returns false if it's disabled. 292 292 * 293 * @param pVM The VM handle.293 * @param pVM Pointer to the VM. 294 294 */ 295 295 VMMDECL(bool) PATMAreInterruptsEnabled(PVM pVM) … … 306 306 * @returns false if it's disabled. 307 307 * 308 * @param pVM The VM handle.308 * @param pVM Pointer to the VM. 309 309 * @param pCtxCore CPU context 310 310 */ … … 346 346 * @returns VBox status 347 347 * 348 * @param pVM The VM handle.348 * @param pVM Pointer to the VM. 349 349 * @param pInstrGC Instruction pointer 350 350 * @param pOpcode Original instruction opcode (out, optional) … … 373 373 * @returns VBox status 374 374 * 375 * @param pVM The VM handle.375 * @param pVM Pointer to the VM. 376 376 * @param pCtxCore The relevant core context. 377 377 * @param pCpu Disassembly context -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r40907 r41783 102 102 * @param pVM VM handle. 103 103 * @param u8Irq The IRQ line. 104 * @param u8Level The new level. 105 * @param uTagSrc The IRQ tag and source tracer ID. 104 * @param u8Level The new level. 105 * @param uTagSrc The IRQ tag and source tracer ID. 106 106 */ 107 107 VMMDECL(int) PDMIsaSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level, uint32_t uTagSrc) … … 160 160 * @param u8Irq The IRQ line. 161 161 * @param u8Level The new level. 162 * @param uTagSrc The IRQ tag and source tracer ID. 162 * @param uTagSrc The IRQ tag and source tracer ID. 163 163 */ 164 164 VMM_INT_DECL(int) PDMIoApicSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level, uint32_t uTagSrc) … … 182 182 * @param GCAddr Request address. 183 183 * @param u8Value Request value. 184 * @param uTagSrc The IRQ tag and source tracer ID. 184 * @param uTagSrc The IRQ tag and source tracer ID. 185 185 */ 186 186 VMM_INT_DECL(int) PDMIoApicSendMsi(PVM pVM, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc) … … 369 369 * This might call back to Ring-3 in order to deal with lock contention in GC and R3. 370 370 * 371 * @param pVM The VM handle.371 * @param pVM Pointer to the VM. 372 372 */ 373 373 void pdmLock(PVM pVM) … … 389 389 * @returns VINF_SUCCESS on success. 390 390 * @returns rc if we're in GC or R0 and can't get the lock. 391 * @param pVM The VM handle.391 * @param pVM Pointer to the VM. 392 392 * @param rc The RC to return in GC or R0 when we can't get the lock. 393 393 */ … … 401 401 * Unlocks PDM. 402 402 * 403 * @param pVM The VM handle.403 * @param pVM Pointer to the VM. 404 404 */ 405 405 void pdmUnlock(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r41462 r41783 56 56 typedef struct PGMHVUSTATE 57 57 { 58 /** The VM handle. */58 /** Pointer to the VM. */ 59 59 PVM pVM; 60 /** The VMCPU handle. */60 /** Pointer to the VMCPU. */ 61 61 PVMCPU pVCpu; 62 62 /** The todo flags. */ … … 523 523 * @returns NULL if not 524 524 * 525 * @param pVM The VM handle.525 * @param pVM Pointer to the VM. 526 526 * @param GCPtr The guest context pointer. 527 527 */ … … 800 800 * 801 801 * @returns VBox status code (appropriate for trap handling and GC return). 802 * @param pVM The VM handle.802 * @param pVM Pointer to the VM. 803 803 * @param pVCpu VMCPU handle. 804 804 * @param pRegFrame Register frame. … … 1715 1715 * Gets the current CR3 register value for the HC intermediate memory context. 1716 1716 * @returns CR3 value. 1717 * @param pVM The VM handle.1717 * @param pVM Pointer to the VM. 1718 1718 */ 1719 1719 VMMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM) … … 1747 1747 * Gets the current CR3 register value for the RC intermediate memory context. 1748 1748 * @returns CR3 value. 1749 * @param pVM The VM handle.1749 * @param pVM Pointer to the VM. 1750 1750 * @param pVCpu VMCPU handle. 1751 1751 */ … … 1779 1779 * Gets the CR3 register value for the 32-Bit intermediate memory context. 1780 1780 * @returns CR3 value. 1781 * @param pVM The VM handle.1781 * @param pVM Pointer to the VM. 1782 1782 */ 1783 1783 VMMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM) … … 1790 1790 * Gets the CR3 register value for the PAE intermediate memory context. 1791 1791 * @returns CR3 value. 1792 * @param pVM The VM handle.1792 * @param pVM Pointer to the VM. 1793 1793 */ 1794 1794 VMMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM) … … 1801 1801 * Gets the CR3 register value for the AMD64 intermediate memory context. 1802 1802 * @returns CR3 value. 1803 * @param pVM The VM handle.1803 * @param pVM Pointer to the VM. 1804 1804 */ 1805 1805 VMMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM) … … 2211 2211 * 2212 2212 * @returns The current paging mode. 2213 * @param pVM The VM handle.2213 * @param pVM Pointer to the VM. 2214 2214 */ 2215 2215 VMMDECL(PGMMODE) PGMGetHostMode(PVM pVM) … … 2330 2330 * 2331 2331 * @returns bool locked/not locked 2332 * @param pVM The VM handle.2332 * @param pVM Pointer to the VM. 2333 2333 */ 2334 2334 VMMDECL(bool) PGMHasDirtyPages(PVM pVM) … … 2342 2342 * 2343 2343 * @returns bool owner/not owner 2344 * @param pVM The VM handle.2344 * @param pVM Pointer to the VM. 2345 2345 */ 2346 2346 VMMDECL(bool) PGMIsLockOwner(PVM pVM) … … 2354 2354 * 2355 2355 * @returns VBox status code. 2356 * @param pVM The VM handle.2356 * @param pVM Pointer to the VM. 2357 2357 * @param fUseLargePages Use/not use large pages 2358 2358 */ … … 2370 2370 * 2371 2371 * @returns VBox status code 2372 * @param pVM The VM handle.2372 * @param pVM Pointer to the VM. 2373 2373 */ 2374 2374 int pgmLock(PVM pVM) … … 2388 2388 * 2389 2389 * @returns VBox status code 2390 * @param pVM The VM handle.2390 * @param pVM Pointer to the VM. 2391 2391 */ 2392 2392 void pgmUnlock(PVM pVM) … … 2405 2405 * 2406 2406 * @returns VBox status code. 2407 * @param pVM The VM handle.2407 * @param pVM Pointer to the VM. 2408 2408 * @param pVCpu The current CPU. 2409 2409 * @param GCPhys The guest physical address of the page to map. The … … 2604 2604 * 2605 2605 * @returns Number of conflicts. 2606 * @param pVM The VM handle.2606 * @param pVM Pointer to the VM. 2607 2607 */ 2608 2608 VMMDECL(unsigned) PGMAssertNoMappingConflicts(PVM pVM) … … 2648 2648 * 2649 2649 * @returns Number of conflicts. 2650 * @param pVM The VM handle.2650 * @param pVM Pointer to the VM. 2651 2651 * @param pVCpu The VMCPU handle. 2652 2652 * @param cr3 The current guest CR3 register value. -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r41774 r41783 1511 1511 * Modifies a shadow PTE to account for access handlers. 1512 1512 * 1513 * @param pVM The VM handle.1513 * @param pVM Pointer to the VM. 1514 1514 * @param pPage The page in question. 1515 1515 * @param fPteSrc The shadowed flags of the source PTE. Must include the … … 1876 1876 * - In the guest SMP case we could have blocked while another VCPU reused 1877 1877 * this page table. 1878 * - With W7-64 we may also take this path when the theA bit is cleared on1878 * - With W7-64 we may also take this path when the A bit is cleared on 1879 1879 * higher level tables (PDPE/PML4E). The guest does not invalidate the 1880 1880 * relevant TLB entries. If we're write monitoring any page mapped by -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r41777 r41783 199 199 * @retval VINF_PGM_SYNC_CR3 when the shadow PTs could be updated because 200 200 * the guest page aliased or/and mapped by multiple PTs. FFs set. 201 * @param pVM The VM handle.201 * @param pVM Pointer to the VM. 202 202 * @param pCur The physical handler. 203 203 * @param pRam The RAM range. … … 474 474 * @returns VBox status code. 475 475 * @retval VINF_SUCCESS when shadow PTs was successfully updated. 476 * @param pVM The VM handle.476 * @param pVM Pointer to the VM. 477 477 * @param pCur The physical handler. 478 478 * … … 1323 1323 * 1324 1324 * @returns VBox status code 1325 * @param pVM The VM handle.1325 * @param pVM Pointer to the VM. 1326 1326 * @param GCPhys GC physical address to search for. 1327 1327 * @param ppVirt Where to store the pointer to the virtual handler structure. … … 1364 1364 * aliases where the two ranges match 100%. 1365 1365 * 1366 * @param pVM The VM handle.1366 * @param pVM Pointer to the VM. 1367 1367 * @param pPhys2Virt The node we failed insert. 1368 1368 */ … … 1415 1415 * @returns 0 1416 1416 * @param pNode Pointer to a PGMVIRTHANDLER. 1417 * @param pvUser The VM handle.1417 * @param pvUser Pointer to the VM. 1418 1418 */ 1419 1419 DECLCALLBACK(int) pgmHandlerVirtualResetOne(PAVLROGCPTRNODECORE pNode, void *pvUser) … … 1530 1530 /** Number of errors. */ 1531 1531 unsigned cErrors; 1532 /** The VM handle. */1532 /** Pointer to the VM. */ 1533 1533 PVM pVM; 1534 1534 } PGMAHAFIS, *PPGMAHAFIS; … … 1679 1679 * 1680 1680 * @returns Number of mismatches. 1681 * @param pVM The VM handle.1681 * @param pVM Pointer to the VM. 1682 1682 */ 1683 1683 VMMDECL(unsigned) PGMAssertHandlerAndFlagsInSync(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r38325 r41783 217 217 * 218 218 * @returns VINF_SUCCESS, VERR_PAGE_NOT_PRESENT or VERR_NOT_FOUND. 219 * @param pVM The VM handle.219 * @param pVM Pointer to the VM. 220 220 * @param GCPtr The page address. 221 221 * @param pfFlags Where to return the flags. Optional. … … 265 265 * Sets all PDEs involved with the mapping in the shadow page table. 266 266 * 267 * @param pVM The VM handle.267 * @param pVM Pointer to the VM. 268 268 * @param pMap Pointer to the mapping in question. 269 269 * @param iNewPDE The index of the 32-bit PDE corresponding to the base of the mapping. … … 417 417 * Clears all PDEs involved with the mapping in the shadow page table. 418 418 * 419 * @param pVM The VM handle.419 * @param pVM Pointer to the VM. 420 420 * @param pShwPageCR3 CR3 root page 421 421 * @param pMap Pointer to the mapping in question. … … 547 547 * Clears all PDEs involved with the mapping in the shadow page table. 548 548 * 549 * @param pVM The VM handle.549 * @param pVM Pointer to the VM. 550 550 * @param pVCpu The VMCPU handle. 551 551 * @param pShwPageCR3 CR3 root page -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r41736 r41783 57 57 * 58 58 * @returns VBox status code (appropriate for trap handling and GC return). 59 * @param pVM The VM handle.59 * @param pVM Pointer to the VM. 60 60 * @param uErrorCode CPU Error code. 61 61 * @param pRegFrame Trap register frame. … … 76 76 * 77 77 * @returns VBox status code (appropriate for trap handling and GC return). 78 * @param pVM The VM handle.78 * @param pVM Pointer to the VM. 79 79 * @param uErrorCode CPU Error code. 80 80 * @param pRegFrame Trap register frame. … … 151 151 * Invalidates the RAM range TLBs. 152 152 * 153 * @param pVM The VM handle.153 * @param pVM Pointer to the VM. 154 154 */ 155 155 void pgmPhysInvalidRamRangeTlbs(PVM pVM) … … 346 346 * @returns true if valid. 347 347 * @returns false if invalid. 348 * @param pVM The VM handle.348 * @param pVM Pointer to the VM. 349 349 * @param GCPhys The physical address to validate. 350 350 */ … … 362 362 * @returns true if normal. 363 363 * @returns false if invalid, ROM, MMIO or reserved page. 364 * @param pVM The VM handle.364 * @param pVM Pointer to the VM. 365 365 * @param GCPhys The physical address to check. 366 366 */ … … 382 382 * GC physical address. 383 383 * 384 * @param pVM The VM handle.384 * @param pVM Pointer to the VM. 385 385 * @param GCPhys The GC physical address to convert. 386 386 * @param pHCPhys Where to store the HC physical address on success. … … 401 401 * Invalidates all page mapping TLBs. 402 402 * 403 * @param pVM The VM handle.403 * @param pVM Pointer to the VM. 404 404 */ 405 405 void pgmPhysInvalidatePageMapTLB(PVM pVM) … … 426 426 * Invalidates a page mapping TLB entry 427 427 * 428 * @param pVM The VM handle.428 * @param pVM Pointer to the VM. 429 429 * @param GCPhys GCPhys entry to flush 430 430 */ … … 462 462 * @retval VERR_EM_NO_MEMORY if we're really out of memory. 463 463 * 464 * @param pVM The VM handle.464 * @param pVM Pointer to the VM. 465 465 * 466 466 * @remarks Must be called from within the PGM critical section. It may … … 549 549 * @todo Propagate VERR_EM_NO_MEMORY up the call tree. 550 550 * 551 * @param pVM The VM handle.551 * @param pVM Pointer to the VM. 552 552 * @param pPage The physical page tracking structure. This will 553 553 * be modified on success. … … 705 705 * @todo Propagate VERR_EM_NO_MEMORY up the call tree. 706 706 * 707 * @param pVM The VM handle.707 * @param pVM Pointer to the VM. 708 708 * @param GCPhys The address of the page. 709 709 * … … 794 794 * @retval VERR_PGM_INVALID_LARGE_PAGE_RANGE if it can't be reused 795 795 * 796 * @param pVM The VM handle.796 * @param pVM Pointer to the VM. 797 797 * @param GCPhys The address of the page. 798 798 * @param pLargePage Page structure of the base page … … 855 855 * @returns VBox strict status code. 856 856 * 857 * @param pVM The VM handle.857 * @param pVM Pointer to the VM. 858 858 * @param pPage The physical page tracking structure. 859 859 * … … 879 879 * @retval VERR_PGM_PHYS_PAGE_RESERVED it it's a valid page but has no physical backing. 880 880 * 881 * @param pVM The VM handle.881 * @param pVM Pointer to the VM. 882 882 * @param pPage The physical page tracking structure. 883 883 * @param GCPhys The address of the page. … … 923 923 * @returns VBox status code. 924 924 * 925 * @param pVM The VM handle.925 * @param pVM Pointer to the VM. 926 926 * @param idPage The Page ID. 927 927 * @param HCPhys The physical address (for RC). … … 1002 1002 * @retval VERR_PGM_PHYS_PAGE_RESERVED it it's a valid page but has no physical backing. 1003 1003 * 1004 * @param pVM The VM handle.1004 * @param pVM Pointer to the VM. 1005 1005 * @param pPage The physical page tracking structure. 1006 1006 * @param GCPhys The address of the page. … … 1128 1128 * @retval VERR_PGM_PHYS_PAGE_RESERVED it it's a valid page but has no physical backing. 1129 1129 * 1130 * @param pVM The VM handle.1130 * @param pVM Pointer to the VM. 1131 1131 * @param pPage The physical page tracking structure. 1132 1132 * @param GCPhys The address of the page. … … 1163 1163 * @retval VERR_PGM_PHYS_PAGE_RESERVED it it's a valid page but has no physical backing. 1164 1164 * 1165 * @param pVM The VM handle.1165 * @param pVM Pointer to the VM. 1166 1166 * @param pPage The physical page tracking structure. Must be in the 1167 1167 * allocated state. … … 1192 1192 * @retval VERR_PGM_PHYS_PAGE_RESERVED it it's a valid page but has no physical backing. 1193 1193 * 1194 * @param pVM The VM handle.1194 * @param pVM Pointer to the VM. 1195 1195 * @param pPage The physical page tracking structure. 1196 1196 * @param GCPhys The address of the page. … … 1244 1244 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1245 1245 * 1246 * @param pVM The VM handle.1246 * @param pVM Pointer to the VM. 1247 1247 * @param pPage Pointer to the PGMPAGE structure corresponding to 1248 1248 * GCPhys. … … 1301 1301 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1302 1302 * 1303 * @param pVM The VM handle.1303 * @param pVM Pointer to the VM. 1304 1304 * @param GCPhys The guest physical address of the page that should be mapped. 1305 1305 * @param pPage Pointer to the PGMPAGE structure for the page. … … 1355 1355 * Locks a page mapping for writing. 1356 1356 * 1357 * @param pVM The VM handle.1357 * @param pVM Pointer to the VM. 1358 1358 * @param pPage The page. 1359 1359 * @param pTlbe The mapping TLB entry for the page. … … 1388 1388 * Locks a page mapping for reading. 1389 1389 * 1390 * @param pVM The VM handle.1390 * @param pVM Pointer to the VM. 1391 1391 * @param pPage The page. 1392 1392 * @param pTlbe The mapping TLB entry for the page. … … 1430 1430 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1431 1431 * 1432 * @param pVM The VM handle.1432 * @param pVM Pointer to the VM. 1433 1433 * @param GCPhys The guest physical address of the page that should be mapped. 1434 1434 * @param pPage Pointer to the PGMPAGE structure for the page. … … 1494 1494 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1495 1495 * 1496 * @param pVM The VM handle.1496 * @param pVM Pointer to the VM. 1497 1497 * @param GCPhys The guest physical address of the page that should be mapped. 1498 1498 * @param pPage Pointer to the PGMPAGE structure for the page. … … 1553 1553 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1554 1554 * 1555 * @param pVM The VM handle.1555 * @param pVM Pointer to the VM. 1556 1556 * @param GCPhys The guest physical address of the page that should be 1557 1557 * mapped. … … 1657 1657 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 1658 1658 * 1659 * @param pVM The VM handle.1659 * @param pVM Pointer to the VM. 1660 1660 * @param GCPhys The guest physical address of the page that should be 1661 1661 * mapped. … … 1814 1814 * PGMPhysGCPtr2CCPtr and PGMPhysGCPtr2CCPtrReadOnly. 1815 1815 * 1816 * @param pVM The VM handle.1816 * @param pVM Pointer to the VM. 1817 1817 * @param pLock The lock structure initialized by the mapping function. 1818 1818 */ … … 1889 1889 * pgmPhysGCPhys2CCPtrInternalReadOnly. 1890 1890 * 1891 * @param pVM The VM handle.1891 * @param pVM Pointer to the VM. 1892 1892 * @param pLock The lock structure initialized by the mapping function. 1893 1893 * … … 1912 1912 * a dynamic ram chunk boundary 1913 1913 * 1914 * @param pVM The VM handle.1914 * @param pVM Pointer to the VM. 1915 1915 * @param GCPhys The GC physical address to convert. 1916 1916 * @param pR3Ptr Where to store the R3 pointer on success. … … 1957 1957 * a dynamic ram chunk boundary 1958 1958 * 1959 * @param pVM The VM handle.1959 * @param pVM Pointer to the VM. 1960 1960 * @param GCPhys The GC physical address to convert. 1961 1961 * @param pR3Ptr Where to store the R3 pointer on success. This may or … … 2034 2034 * Cache PGMPhys memory access 2035 2035 * 2036 * @param pVM The VM handle.2036 * @param pVM Pointer to the VM. 2037 2037 * @param pCache Cache structure pointer 2038 2038 * @param GCPhys GC physical address … … 2067 2067 * @retval VERR_PGM_PHYS_WR_HIT_HANDLER in R0 and GC, NEVER in R3. 2068 2068 * 2069 * @param pVM The VM handle.2069 * @param pVM Pointer to the VM. 2070 2070 * @param pPage The page descriptor. 2071 2071 * @param GCPhys The physical address to start reading at. … … 2199 2199 * @retval VERR_PGM_PHYS_WR_HIT_HANDLER in R0 and GC, NEVER in R3. 2200 2200 * 2201 * @param pVM The VM handle.2201 * @param pVM Pointer to the VM. 2202 2202 * @param GCPhys Physical address start reading from. 2203 2203 * @param pvBuf Where to put the read bits. … … 2318 2318 * @retval VERR_PGM_PHYS_WR_HIT_HANDLER in R0 and GC, NEVER in R3. 2319 2319 * 2320 * @param pVM The VM handle.2320 * @param pVM Pointer to the VM. 2321 2321 * @param pPage The page descriptor. 2322 2322 * @param GCPhys The physical address to start writing at. … … 2733 2733 * @retval VERR_PGM_PHYS_WR_HIT_HANDLER in R0 and GC, NEVER in R3. 2734 2734 * 2735 * @param pVM The VM handle.2735 * @param pVM Pointer to the VM. 2736 2736 * @param GCPhys Physical address to write to. 2737 2737 * @param pvBuf What to write. … … 2846 2846 * 2847 2847 * @returns VBox status. 2848 * @param pVM The VM handle.2848 * @param pVM Pointer to the VM. 2849 2849 * @param pvDst The destination address. 2850 2850 * @param GCPhysSrc The source address (GC physical address). … … 2918 2918 * 2919 2919 * @returns VBox status. 2920 * @param pVM The VM handle.2920 * @param pVM Pointer to the VM. 2921 2921 * @param GCPhysDst The GC physical address of the destination. 2922 2922 * @param pvSrc The source buffer. … … 3989 3989 * 3990 3990 * @returns The page type. 3991 * @param pVM The VM handle.3991 * @param pVM Pointer to the VM. 3992 3992 * @param GCPhys Guest physical address 3993 3993 */ -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r41744 r41783 140 140 * 141 141 * @returns VBox status code suitable for scheduling. 142 * @param pVM The VM handle.142 * @param pVM Pointer to the VM. 143 143 * @param pvDst Destination address 144 144 * @param pvSrc Source guest virtual address. … … 738 738 * @returns true if we consider the page as being reused for a different purpose. 739 739 * @returns false if we consider it to still be a paging page. 740 * @param pVM The VM handle.740 * @param pVM Pointer to the VM. 741 741 * @param pVCpu VMCPU Handle. 742 742 * @param pRegFrame Trap register frame. … … 820 820 * 821 821 * @returns VBox status code suitable for scheduling. 822 * @param pVM The VM handle.822 * @param pVM Pointer to the VM. 823 823 * @param pVCpu The VMCPU handle. 824 824 * @param pPool The pool. … … 876 876 * 877 877 * @returns VBox status code suitable for scheduling. 878 * @param pVM The VM handle.878 * @param pVM Pointer to the VM. 879 879 * @param pPool The pool. 880 880 * @param pPage The pool page (head). … … 947 947 * 948 948 * @returns VBox status code suitable for scheduling. 949 * @param pVM The VM handle.949 * @param pVM Pointer to the VM. 950 950 * @param pVCpu The VMCPU handle. 951 951 * @param pPool The pool. … … 1034 1034 * 1035 1035 * @returns VBox status code (appropriate for GC return). 1036 * @param pVM The VM handle.1036 * @param pVM Pointer to the VM. 1037 1037 * @param uErrorCode CPU Error code. 1038 1038 * @param pRegFrame Trap register frame. … … 1616 1616 * Flush a dirty page 1617 1617 * 1618 * @param pVM The VM handle.1618 * @param pVM Pointer to the VM. 1619 1619 * @param pPool The pool. 1620 1620 * @param idxSlot Dirty array slot index … … 1715 1715 * Add a new dirty page 1716 1716 * 1717 * @param pVM The VM handle.1717 * @param pVM Pointer to the VM. 1718 1718 * @param pPool The pool. 1719 1719 * @param pPage The page. … … 1792 1792 * 1793 1793 * @return dirty or not 1794 * @param pVM The VM handle.1794 * @param pVM Pointer to the VM. 1795 1795 * @param GCPhys Guest physical address 1796 1796 */ … … 1823 1823 * Reset all dirty pages by reinstating page monitoring. 1824 1824 * 1825 * @param pVM The VM handle.1825 * @param pVM Pointer to the VM. 1826 1826 */ 1827 1827 void pgmPoolResetDirtyPages(PVM pVM) … … 1862 1862 * Invalidate the PT entry for the specified page 1863 1863 * 1864 * @param pVM The VM handle.1864 * @param pVM Pointer to the VM. 1865 1865 * @param GCPtrPage Guest page to invalidate 1866 1866 */ … … 1884 1884 * Reset all dirty pages by reinstating page monitoring. 1885 1885 * 1886 * @param pVM The VM handle.1886 * @param pVM Pointer to the VM. 1887 1887 * @param GCPhysPT Physical address of the page table 1888 1888 */ … … 2666 2666 * Zaps the list of modified pages, resetting their modification counters in the process. 2667 2667 * 2668 * @param pVM The VM handle.2668 * @param pVM Pointer to the VM. 2669 2669 */ 2670 2670 static void pgmPoolMonitorModifiedClearAll(PVM pVM) … … 3101 3101 * @returns true / false indicating removal of all relevant PTEs 3102 3102 * 3103 * @param pVM The VM handle.3103 * @param pVM Pointer to the VM. 3104 3104 * @param pPhysPage The guest page in question. 3105 3105 * @param fFlushPTEs Flush PTEs or allow them to be updated (e.g. in case of an RW bit change) … … 3353 3353 * Scans one shadow page table for mappings of a physical page. 3354 3354 * 3355 * @param pVM The VM handle.3355 * @param pVM Pointer to the VM. 3356 3356 * @param pPhysPage The guest page in question. 3357 3357 * @param fFlushPTEs Flush PTEs or allow them to be updated (e.g. in case of an RW bit change) … … 3377 3377 * Flushes a list of shadow page tables mapping the same physical page. 3378 3378 * 3379 * @param pVM The VM handle.3379 * @param pVM Pointer to the VM. 3380 3380 * @param pPhysPage The guest page in question. 3381 3381 * @param fFlushPTEs Flush PTEs or allow them to be updated (e.g. in case of an RW bit change) … … 3440 3440 * pool cleaning. FF and sync flags are set. 3441 3441 * 3442 * @param pVM The VM handle.3442 * @param pVM Pointer to the VM. 3443 3443 * @param GCPhysPage GC physical address of the page in question 3444 3444 * @param pPhysPage The guest page in question. … … 3553 3553 * a page pool cleaning. 3554 3554 * 3555 * @param pVM The VM handle.3555 * @param pVM Pointer to the VM. 3556 3556 * @param pPhysPage The guest page in question. 3557 3557 */ … … 3861 3861 * 3862 3862 * @returns Pointer to the allocated extent on success. NULL if we're out of them. 3863 * @param pVM The VM handle.3863 * @param pVM Pointer to the VM. 3864 3864 * @param piPhysExt Where to store the phys ext index. 3865 3865 */ … … 3885 3885 * Frees a physical cross reference extent. 3886 3886 * 3887 * @param pVM The VM handle.3887 * @param pVM Pointer to the VM. 3888 3888 * @param iPhysExt The extent to free. 3889 3889 */ … … 3907 3907 * Frees a physical cross reference extent. 3908 3908 * 3909 * @param pVM The VM handle.3909 * @param pVM Pointer to the VM. 3910 3910 * @param iPhysExt The extent to free. 3911 3911 */ … … 3941 3941 * @returns The new tracking data for PGMPAGE. 3942 3942 * 3943 * @param pVM The VM handle.3943 * @param pVM Pointer to the VM. 3944 3944 * @param iPhysExt The physical extent index of the list head. 3945 3945 * @param iShwPT The shadow page table index. … … 4029 4029 * @returns The new tracking data for PGMPAGE. 4030 4030 * 4031 * @param pVM The VM handle.4031 * @param pVM Pointer to the VM. 4032 4032 * @param pPhysPage Pointer to the aPages entry in the ram range. 4033 4033 * @param u16 The ram range flags (top 16-bits). … … 4968 4968 * @retval VERR_PGM_POOL_FLUSHED if the pool was flushed. 4969 4969 * 4970 * @param pVM The VM handle.4970 * @param pVM Pointer to the VM. 4971 4971 * @param GCPhys The GC physical address of the page we're gonna shadow. 4972 4972 * For 4MB and 2MB PD entries, it's the first address the … … 5106 5106 * Frees a usage of a pool page. 5107 5107 * 5108 * @param pVM The VM handle.5108 * @param pVM Pointer to the VM. 5109 5109 * @param HCPhys The HC physical address of the shadow page. 5110 5110 * @param iUser The shadow page pool index of the user table. … … 5158 5158 * Flush the specified page if present 5159 5159 * 5160 * @param pVM The VM handle.5160 * @param pVM Pointer to the VM. 5161 5161 * @param GCPhys Guest physical address of the page to flush 5162 5162 */ … … 5243 5243 * Reset CPU on hot plugging. 5244 5244 * 5245 * @param pVM The VM handle.5245 * @param pVM Pointer to the VM. 5246 5246 * @param pVCpu The virtual CPU. 5247 5247 */ -
trunk/src/VBox/VMM/VMMAll/REMAll.cpp
r41777 r41783 40 40 * Records a invlpg instruction for replaying upon REM entry. 41 41 * 42 * @param pVM The VM handle.42 * @param pVM Pointer to the VM. 43 43 * @param GCPtrPage The 44 44 */ … … 205 205 * This is for avoiding trouble in RC when changing CR3. 206 206 * 207 * @param pVM The VM handle.207 * @param pVM Pointer to the VM. 208 208 * @param pVCpu The virtual CPU handle of the calling EMT. 209 209 */ -
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r41727 r41783 1092 1092 * Gets the hypervisor code selector (CS). 1093 1093 * @returns CS selector. 1094 * @param pVM The VM handle.1094 * @param pVM Pointer to the VM. 1095 1095 */ 1096 1096 VMMDECL(RTSEL) SELMGetHyperCS(PVM pVM) … … 1103 1103 * Gets the 64-mode hypervisor code selector (CS64). 1104 1104 * @returns CS selector. 1105 * @param pVM The VM handle.1105 * @param pVM Pointer to the VM. 1106 1106 */ 1107 1107 VMMDECL(RTSEL) SELMGetHyperCS64(PVM pVM) … … 1114 1114 * Gets the hypervisor data selector (DS). 1115 1115 * @returns DS selector. 1116 * @param pVM The VM handle.1116 * @param pVM Pointer to the VM. 1117 1117 */ 1118 1118 VMMDECL(RTSEL) SELMGetHyperDS(PVM pVM) … … 1125 1125 * Gets the hypervisor TSS selector. 1126 1126 * @returns TSS selector. 1127 * @param pVM The VM handle.1127 * @param pVM Pointer to the VM. 1128 1128 */ 1129 1129 VMMDECL(RTSEL) SELMGetHyperTSS(PVM pVM) … … 1136 1136 * Gets the hypervisor TSS Trap 8 selector. 1137 1137 * @returns TSS Trap 8 selector. 1138 * @param pVM The VM handle.1138 * @param pVM Pointer to the VM. 1139 1139 */ 1140 1140 VMMDECL(RTSEL) SELMGetHyperTSSTrap08(PVM pVM) … … 1147 1147 * 1148 1148 * @returns The GDT address. 1149 * @param pVM The VM handle.1149 * @param pVM Pointer to the VM. 1150 1150 * @remark This is intended only for very special use, like in the world 1151 1151 * switchers. Don't exploit this API! … … 1170 1170 * @retval VERR_SELM_NO_TSS if we haven't got a TSS (rather unlikely). 1171 1171 * 1172 * @param pVM The VM handle.1172 * @param pVM Pointer to the VM. 1173 1173 * @param pVCpu VMCPU Handle. 1174 1174 * @param pGCPtrTss Where to store the TSS address. -
trunk/src/VBox/VMM/VMMAll/TMAll.cpp
r41777 r41783 78 78 * 79 79 * @returns The warp drive percent. 80 * @param pVM The VM handle.80 * @param pVM Pointer to the VM. 81 81 */ 82 82 VMMDECL(uint32_t) TMGetWarpDrive(PVM pVM) … … 226 226 * Raise the timer force action flag and notify the dedicated timer EMT. 227 227 * 228 * @param pVM The VM handle.228 * @param pVM Pointer to the VM. 229 229 */ 230 230 DECLINLINE(void) tmScheduleNotify(PVM pVM) … … 1090 1090 * @returns VBox status code. 1091 1091 * 1092 * @param pVM The VM handle.1092 * @param pVM Pointer to the VM. 1093 1093 * @param pTimer The timer handle. 1094 1094 * @param u64Expire The new expire time. … … 1133 1133 * 1134 1134 * @returns VBox status code 1135 * @param pVM The VM handle.1135 * @param pVM Pointer to the VM. 1136 1136 * @param pTimer The timer handle. 1137 1137 * @param u64Expire The expiration time. … … 1359 1359 * 1360 1360 * @returns Current time. 1361 * @param pVM The VM handle.1361 * @param pVM Pointer to the VM. 1362 1362 * @param enmClock The clock to query. 1363 1363 * @param pu64Now Optional pointer where to store the return time … … 1392 1392 * @returns VBox status code. 1393 1393 * 1394 * @param pVM The VM handle.1394 * @param pVM Pointer to the VM. 1395 1395 * @param pTimer The timer handle. 1396 1396 * @param cTicksToNext Clock ticks until the next time expiration. … … 1431 1431 * 1432 1432 * @returns VBox status code 1433 * @param pVM The VM handle.1433 * @param pVM Pointer to the VM. 1434 1434 * @param cTicksToNext Clock ticks until the next time expiration. 1435 1435 * @param pu64Now Where to return the current time stamp used. … … 1760 1760 * 1761 1761 * @returns VBox status code 1762 * @param pVM The VM handle.1762 * @param pVM Pointer to the VM. 1763 1763 * @param pTimer The timer handle. 1764 1764 */ … … 2433 2433 * 2434 2434 * @returns The highest frequency. 0 if no timers care. 2435 * @param pVM The VM handle.2435 * @param pVM Pointer to the VM. 2436 2436 */ 2437 2437 static uint32_t tmGetFrequencyHint(PVM pVM) … … 2503 2503 * 2504 2504 * @returns The highest frequency. 0 if no important timers around. 2505 * @param pVM The VM handle.2505 * @param pVM Pointer to the VM. 2506 2506 * @param pVCpu The current CPU. 2507 2507 */ -
trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp
r39402 r41783 104 104 * Used by TMCpuTickCanUseRealTSC and TMCpuTickGetDeadlineAndTscOffset. 105 105 * 106 * @param pVM The VM handle.106 * @param pVM Pointer to the VM. 107 107 * @param pVCpu The current CPU. 108 108 */ … … 363 363 * 364 364 * @returns VBox status code. 365 * @param pVM The VM handle.365 * @param pVM Pointer to the VM. 366 366 * @param pVCpu The virtual CPU to operate on. 367 367 * @param u64Tick The new timestamp value. -
trunk/src/VBox/VMM/VMMAll/TMAllReal.cpp
r39078 r41783 31 31 * 32 32 * @returns Real time. 33 * @param pVM The VM handle.33 * @param pVM Pointer to the VM. 34 34 */ 35 35 VMM_INT_DECL(uint64_t) TMRealGet(PVM pVM) … … 44 44 * 45 45 * @returns frequency. 46 * @param pVM The VM handle.46 * @param pVM Pointer to the VM. 47 47 */ 48 48 VMM_INT_DECL(uint64_t) TMRealGetFreq(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r40274 r41783 108 108 * 109 109 * @returns Nanosecond timestamp. 110 * @param pVM The VM handle.110 * @param pVM Pointer to the VM. 111 111 */ 112 112 static uint64_t tmVirtualGetRawNanoTS(PVM pVM) … … 283 283 * 284 284 * @returns The timestamp. 285 * @param pVM The VM handle.285 * @param pVM Pointer to the VM. 286 286 */ 287 287 static uint64_t tmVirtualGetRawNonNormal(PVM pVM) … … 311 311 * 312 312 * @returns The current time stamp. 313 * @param pVM The VM handle.313 * @param pVM Pointer to the VM. 314 314 */ 315 315 DECLINLINE(uint64_t) tmVirtualGetRaw(PVM pVM) … … 404 404 * 405 405 * @returns Host nano second count. 406 * @param pVM The VM handle.406 * @param pVM Pointer to the VM. 407 407 * @param cVirtTicksToDeadline The TMCLOCK_VIRTUAL interval. 408 408 */ … … 533 533 * 534 534 * @returns timesamp. 535 * @param pVM The VM handle.535 * @param pVM Pointer to the VM. 536 536 * @param u64 The virtual clock timestamp. 537 537 * @param pcNsToDeadline Where to return the number of nano seconds to … … 977 977 * 978 978 * @returns VINF_SUCCESS or VERR_TM_VIRTUAL_TICKING_IPE (asserted). 979 * @param pVM The VM handle.979 * @param pVM Pointer to the VM. 980 980 */ 981 981 int tmVirtualPauseLocked(PVM pVM) … … 997 997 * 998 998 * @returns VINF_SUCCESS or VERR_TM_VIRTUAL_TICKING_IPE (asserted). 999 * @param pVM The VM handle.999 * @param pVM Pointer to the VM. 1000 1000 */ 1001 1001 int tmVirtualResumeLocked(PVM pVM) … … 1019 1019 * 1020 1020 * @returns nanoseconds. 1021 * @param pVM The VM handle.1021 * @param pVM Pointer to the VM. 1022 1022 * @param u64VirtualTicks The virtual ticks to convert. 1023 1023 * @remark There could be rounding errors here. We just do a simple integer divide … … 1036 1036 * 1037 1037 * @returns microseconds. 1038 * @param pVM The VM handle.1038 * @param pVM Pointer to the VM. 1039 1039 * @param u64VirtualTicks The virtual ticks to convert. 1040 1040 * @remark There could be rounding errors here. We just do a simple integer divide … … 1053 1053 * 1054 1054 * @returns milliseconds. 1055 * @param pVM The VM handle.1055 * @param pVM Pointer to the VM. 1056 1056 * @param u64VirtualTicks The virtual ticks to convert. 1057 1057 * @remark There could be rounding errors here. We just do a simple integer divide … … 1070 1070 * 1071 1071 * @returns virtual ticks. 1072 * @param pVM The VM handle.1072 * @param pVM Pointer to the VM. 1073 1073 * @param u64NanoTS The nanosecond value ticks to convert. 1074 1074 * @remark There could be rounding and overflow errors here. … … 1086 1086 * 1087 1087 * @returns virtual ticks. 1088 * @param pVM The VM handle.1088 * @param pVM Pointer to the VM. 1089 1089 * @param u64MicroTS The microsecond value ticks to convert. 1090 1090 * @remark There could be rounding and overflow errors here. … … 1102 1102 * 1103 1103 * @returns virtual ticks. 1104 * @param pVM The VM handle.1104 * @param pVM Pointer to the VM. 1105 1105 * @param u64MilliTS The millisecond value ticks to convert. 1106 1106 * @remark There could be rounding and overflow errors here. -
trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp
r41732 r41783 754 754 * @retval VINF_EM_RESCHEDULE_REM if the exception was dispatched and cannot be executed in raw-mode. 755 755 * 756 * @param pVM The VM handle.756 * @param pVM Pointer to the VM. 757 757 * @param pCtxCore The CPU context core. 758 758 * @param enmXcpt The exception. … … 780 780 * @retval VINF_EM_RESCHEDULE_REM if the exception was dispatched and cannot be executed in raw-mode. 781 781 * 782 * @param pVM The VM handle.782 * @param pVM Pointer to the VM. 783 783 * @param pCtxCore The CPU context core. 784 784 * @param enmXcpt The exception. … … 807 807 * @retval VINF_EM_RESCHEDULE_REM if the exception was dispatched and cannot be executed in raw-mode. 808 808 * 809 * @param pVM The VM handle.809 * @param pVM Pointer to the VM. 810 810 * @param pCtxCore The CPU context core. 811 811 * @param enmXcpt The exception. -
trunk/src/VBox/VMM/VMMAll/VMAll.cpp
r39078 r41783 185 185 * propagated up the stack. 186 186 * 187 * @param pVM The VM handle.187 * @param pVM Pointer to the VM. 188 188 * 189 189 * @param fFlags Flags indicating which actions to take. … … 221 221 * propagated up the stack. 222 222 * 223 * @param pVM The VM handle.223 * @param pVM Pointer to the VM. 224 224 * @param fFlags Flags indicating which actions to take. See 225 225 * VMSETRTERR_FLAGS_*. -
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r41417 r41783 185 185 * @returns The CPU ID. NIL_VMCPUID if the thread isn't an EMT. 186 186 * 187 * @param pVM The VM handle.187 * @param pVM Pointer to the VM. 188 188 */ 189 189 VMMDECL(VMCPUID) VMMGetCpuId(PVM pVM) … … 236 236 * @returns The VMCPU pointer. NULL if not an EMT. 237 237 * 238 * @param pVM The VM handle.238 * @param pVM Pointer to the VM. 239 239 */ 240 240 VMMDECL(PVMCPU) VMMGetCpu(PVM pVM) … … 290 290 * 291 291 * @returns The VMCPU pointer. 292 * @param pVM The VM handle.292 * @param pVM Pointer to the VM. 293 293 */ 294 294 VMMDECL(PVMCPU) VMMGetCpu0(PVM pVM) … … 304 304 * @returns The VMCPU pointer. NULL if idCpu is invalid. 305 305 * 306 * @param pVM The VM handle.306 * @param pVM Pointer to the VM. 307 307 * @param idCpu The ID of the virtual CPU. 308 308 */ … … 332 332 * 333 333 * @returns active switcher 334 * @param pVM The VM handle.334 * @param pVM Pointer to the VM. 335 335 */ 336 336 VMMDECL(VMMSWITCHER) VMMGetSwitcher(PVM pVM)
Note:
See TracChangeset
for help on using the changeset viewer.