Changeset 41800 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 17, 2012 4:18:26 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78618
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r41783 r41800 2370 2370 * 2371 2371 * @returns boolean 2372 * @param pVM VM handle.2372 * @param pVM Pointer to the VM. 2373 2373 */ 2374 2374 VMMDECL(bool) CPUMIsGuestDebugStateActive(PVMCPU pVCpu) … … 2381 2381 * 2382 2382 * @returns boolean 2383 * @param pVM VM handle.2383 * @param pVM Pointer to the VM. 2384 2384 */ 2385 2385 VMMDECL(bool) CPUMIsHyperDebugStateActive(PVMCPU pVCpu) … … 2393 2393 * 2394 2394 * @returns boolean 2395 * @param pVM VM handle.2395 * @param pVM Pointer to the VM. 2396 2396 */ 2397 2397 VMMDECL(void) CPUMDeactivateGuestDebugState(PVMCPU pVCpu) … … 2405 2405 * 2406 2406 * @returns boolean 2407 * @param pVM VM handle.2407 * @param pVM Pointer to the VM. 2408 2408 */ 2409 2409 VMMDECL(void) CPUMDeactivateHyperDebugState(PVMCPU pVCpu) … … 2433 2433 * 2434 2434 * @returns cpl 2435 * @param pVM VM Handle.2435 * @param pVM Pointer to the VM. 2436 2436 * @param pRegFrame Trap register frame. 2437 2437 */ -
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r41799 r41800 203 203 * Locks REM execution to a single VCpu 204 204 * 205 * @param pVM VM handle.205 * @param pVM Pointer to the VM. 206 206 */ 207 207 VMMDECL(void) EMRemLock(PVM pVM) … … 222 222 * Unlocks REM execution 223 223 * 224 * @param pVM VM handle.224 * @param pVM Pointer to the VM. 225 225 */ 226 226 VMMDECL(void) EMRemUnlock(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r41783 r41800 215 215 * @retval VINF_IOM_R3_IOPORT_READ Defer the read to ring-3. (R0/GC only) 216 216 * 217 * @param pVM VM handle.217 * @param pVM Pointer to the VM. 218 218 * @param Port The port to read. 219 219 * @param pu32Value Where to store the value read. … … 388 388 * @retval VINF_IOM_R3_IOPORT_READ Defer the read to ring-3. (R0/GC only) 389 389 * 390 * @param pVM VM handle.390 * @param pVM Pointer to the VM. 391 391 * @param Port The port to read. 392 392 * @param pGCPtrDst Pointer to the destination buffer (GC, incremented appropriately). … … 540 540 * @retval VINF_IOM_R3_IOPORT_WRITE Defer the write to ring-3. (R0/GC only) 541 541 * 542 * @param pVM VM handle.542 * @param pVM Pointer to the VM. 543 543 * @param Port The port to write to. 544 544 * @param u32Value The value to write. … … 688 688 * @retval VINF_IOM_R3_IOPORT_WRITE Defer the write to ring-3. (R0/GC only) 689 689 * 690 * @param pVM VM handle.690 * @param pVM Pointer to the VM. 691 691 * @param Port The port to write. 692 692 * @param pGCPtrSrc Pointer to the source buffer (GC, incremented appropriately). … … 841 841 * @retval VINF_EM_RESCHEDULE_REM The exception was dispatched and cannot be executed in raw-mode. (TRPMRaiseXcptErr) 842 842 * 843 * @param pVM VM handle.843 * @param pVM Pointer to the VM. 844 844 * @param pCtxCore Pointer to register frame. 845 845 * @param Port The I/O port number. -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r41783 r41800 1430 1430 * 1431 1431 * @returns VBox status code (appropriate for GC return). 1432 * @param pVM VM Handle.1432 * @param pVM Pointer to the VM. 1433 1433 * @param uErrorCode CPU Error code. This is UINT32_MAX when we don't have 1434 1434 * any error code (the EPT misconfig hack). … … 1667 1667 * 1668 1668 * @returns VBox status code (appropriate for GC return). 1669 * @param pVM VM Handle.1669 * @param pVM Pointer to the VM. 1670 1670 * @param uErrorCode CPU Error code. 1671 1671 * @param pCtxCore Trap register frame. … … 1686 1686 * 1687 1687 * @returns VBox status code (appropriate for GC return). 1688 * @param pVM VM Handle.1688 * @param pVM Pointer to the VM. 1689 1689 * @param uErrorCode CPU Error code. 1690 1690 * @param pCtxCore Trap register frame. … … 1710 1710 * @returns VINF_SUCCESS if the handler have carried out the operation. 1711 1711 * @returns VINF_PGM_HANDLER_DO_DEFAULT if the caller should carry out the access operation. 1712 * @param pVM VM Handle.1712 * @param pVM Pointer to the VM. 1713 1713 * @param GCPhys The physical address the guest is writing to. 1714 1714 * @param pvPhys The HC mapping of that address. … … 1769 1769 * @returns VBox status code. 1770 1770 * 1771 * @param pVM VM handle.1771 * @param pVM Pointer to the VM. 1772 1772 * @param GCPhys The physical address to read. 1773 1773 * @param pu32Value Where to store the value read. … … 1898 1898 * @returns VBox status code. 1899 1899 * 1900 * @param pVM VM handle.1900 * @param pVM Pointer to the VM. 1901 1901 * @param GCPhys The physical address to write to. 1902 1902 * @param u32Value The value to write. -
trunk/src/VBox/VMM/VMMAll/MMAllHyper.cpp
r41783 r41800 1205 1205 /** 1206 1206 * Dumps the hypervisor heap to Log. 1207 * @param pVM VM Handle.1207 * @param pVM Pointer to the VM. 1208 1208 */ 1209 1209 VMMDECL(void) MMHyperHeapDump(PVM pVM) … … 1251 1251 * 1252 1252 * @returns Base address of the hypervisor area. 1253 * @param pVM VM Handle.1253 * @param pVM Pointer to the VM. 1254 1254 * @param pcb Where to store the size of the hypervisor area. (out) 1255 1255 */ … … 1267 1267 * @returns true if inside. 1268 1268 * @returns false if outside. 1269 * @param pVM VM handle.1269 * @param pVM Pointer to the VM. 1270 1270 * @param GCPtr The pointer to check. 1271 1271 */ -
trunk/src/VBox/VMM/VMMAll/MMAllPagePool.cpp
r35346 r41800 81 81 * 82 82 * @returns VBox status code. 83 * @param pVM VM handle.83 * @param pVM Pointer to the VM. 84 84 * @param HCPhysPage The physical address of a page. 85 85 * @param ppvPage Where to store the address corresponding to HCPhysPage. … … 112 112 * 113 113 * @returns Pointer to the page at that physical address. 114 * @param pVM VM handle.114 * @param pVM Pointer to the VM. 115 115 * @param HCPhysPage The physical address of a page. 116 116 * @thread The Emulation Thread. … … 138 138 * 139 139 * @returns VBox status code. 140 * @param pVM VM handle.140 * @param pVM Pointer to the VM. 141 141 * @param HCPhysPage The physical address of a page. 142 142 * @param ppvPage Where to store the address corresponding to HCPhysPage. … … 203 203 * 204 204 * @returns Physical address for the specified page table. 205 * @param pVM VM handle.205 * @param pVM Pointer to the VM. 206 206 * @param pvPage Page which physical address we query. 207 207 * @thread The Emulation Thread. -
trunk/src/VBox/VMM/VMMAll/PATMAll.cpp
r41783 r41800 43 43 * IF and IOPL eflags bits, the caller will enforce those to set and 0 respectively. 44 44 * 45 * @param pVM VM handle.45 * @param pVM Pointer to the VM. 46 46 * @param pCtxCore The cpu context core. 47 47 * @see pg_raw … … 113 113 ** @note Only here we are allowed to switch back to guest code (without a special reason such as a trap in patch code)!! 114 114 * 115 * @param pVM VM handle.115 * @param pVM Pointer to the VM. 116 116 * @param pCtxCore The cpu context core. 117 117 * @param rawRC Raw mode return code … … 237 237 * Check if we must use raw mode (patch code being executed) 238 238 * 239 * @param pVM VM handle.239 * @param pVM Pointer to the VM. 240 240 * @param pAddrGC Guest context address 241 241 */ -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r41783 r41800 100 100 * 101 101 * @returns VBox status code. 102 * @param pVM VM handle.102 * @param pVM Pointer to the VM. 103 103 * @param u8Irq The IRQ line. 104 104 * @param u8Level The new level. … … 157 157 * 158 158 * @returns VBox status code. 159 * @param pVM VM handle.159 * @param pVM Pointer to the VM. 160 160 * @param u8Irq The IRQ line. 161 161 * @param u8Level The new level. … … 179 179 * 180 180 * @returns VBox status code. 181 * @param pVM VM handle.181 * @param pVM Pointer to the VM. 182 182 * @param GCAddr Request address. 183 183 * @param u8Value Request value. … … 203 203 * 204 204 * @returns VBox true if IO-APIC is present 205 * @param pVM VM handle.205 * @param pVM Pointer to the VM. 206 206 */ 207 207 VMMDECL(bool) PDMHasIoApic(PVM pVM) … … 215 215 * 216 216 * @returns VBox status code. 217 * @param pVM VM handle.217 * @param pVM Pointer to the VM. 218 218 * @param u64Base The new base. 219 219 */ … … 236 236 * 237 237 * @returns VBox status code. 238 * @param pVM VM handle.238 * @param pVM Pointer to the VM. 239 239 * @param pu64Base Where to store the APIC base. 240 240 */ … … 328 328 * 329 329 * @returns VBox status code. 330 * @param pVM VM handle.330 * @param pVM Pointer to the VM. 331 331 * @param iCpu Target CPU. 332 332 * @param u32Reg MSR to write. … … 348 348 * 349 349 * @returns VBox status code. 350 * @param pVM VM handle.350 * @param pVM Pointer to the VM. 351 351 * @param iCpu Target CPU. 352 352 * @param u32Reg MSR to read. … … 413 413 * 414 414 * @returns VBox status code. 415 * @param pVM VM handle.415 * @param pVM Pointer to the VM. 416 416 * @param pv Ring-3 pointer. 417 417 * @param pGCPhys GC phys address (out). … … 435 435 * 436 436 * @returns dev heap enabled status (true/false) 437 * @param pVM VM handle.437 * @param pVM Pointer to the VM. 438 438 */ 439 439 VMMDECL(bool) PDMVMMDevHeapIsEnabled(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r41391 r41800 614 614 * @returns true if bits were flushed. 615 615 * @returns false if bits weren't flushed. 616 * @param pVM VM handle.616 * @param pVM Pointer to the VM. 617 617 * @param pPDSrc The page directory. 618 618 * @param cr4 The cr4 register value. -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r41783 r41800 67 67 * one. A debug assertion is raised. 68 68 * 69 * @param pVM VM Handle.69 * @param pVM Pointer to the VM. 70 70 * @param enmType Handler type. Any of the PGMPHYSHANDLERTYPE_PHYSICAL* enums. 71 71 * @param GCPhys Start physical address. … … 253 253 * 254 254 * @returns VBox status code. 255 * @param pVM VM Handle.255 * @param pVM Pointer to the VM. 256 256 * @param GCPhys Start physical address. 257 257 */ … … 536 536 * For all return codes other than VERR_PGM_HANDLER_NOT_FOUND and VINF_SUCCESS the range is deregistered 537 537 * and a new registration must be performed! 538 * @param pVM VM handle.538 * @param pVM Pointer to the VM. 539 539 * @param GCPhysCurrent Current location. 540 540 * @param GCPhys New location. … … 643 643 * 644 644 * @returns VBox status code. 645 * @param pVM VM Handle.645 * @param pVM Pointer to the VM. 646 646 * @param GCPhys Start physical address. 647 647 * @param pfnHandlerR3 The R3 handler. … … 694 694 * 695 695 * @returns VBox status code. 696 * @param pVM VM Handle.696 * @param pVM Pointer to the VM. 697 697 * @param GCPhys Start physical address of the handler. 698 698 * @param GCPhysSplit The split address. … … 760 760 * 761 761 * @returns VBox status code. 762 * @param pVM VM Handle.762 * @param pVM Pointer to the VM. 763 763 * @param GCPhys1 Start physical address of the first handler. 764 764 * @param GCPhys2 Start physical address of the second handler. … … 842 842 * 843 843 * @returns VBox status code. 844 * @param pVM VM Handle844 * @param pVM Pointer to the VM 845 845 * @param GCPhys The start address of the handler regions, i.e. what you 846 846 * passed to PGMR3HandlerPhysicalRegister(), … … 951 951 * 952 952 * @returns VBox status code. 953 * @param pVM VM Handle953 * @param pVM Pointer to the VM 954 954 * @param GCPhys The start address of the access handler. This 955 955 * must be a fully page aligned range or we risk … … 1240 1240 * 1241 1241 * @returns boolean 1242 * @param pVM VM Handle.1242 * @param pVM Pointer to the VM. 1243 1243 * @param GCPhys Start physical address earlier passed to PGMR3HandlerPhysicalRegister(). 1244 1244 * @remarks Caller must take the PGM lock... … … 1304 1304 * 1305 1305 * @returns true or false 1306 * @param pVM VM handle.1306 * @param pVM Pointer to the VM. 1307 1307 * @param GCPtr Virtual address. 1308 1308 * @remarks Will acquire the PGM lock. -
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r41783 r41800 117 117 * 118 118 * @returns VBox status. 119 * @param pVM VM handle.119 * @param pVM Pointer to the VM. 120 120 * @param GCPtr Virtual address of the first page in the range. 121 121 * @param cb Size (in bytes) of the range to apply the modification to. … … 134 134 * 135 135 * @returns VBox status code. 136 * @param pVM VM handle.136 * @param pVM Pointer to the VM. 137 137 * @param GCPtr Virtual address of the first page in the range. 138 138 * @param cb Size (in bytes) of the range to apply the modification to. -
trunk/src/VBox/VMM/VMMAll/REMAll.cpp
r41783 r41800 80 80 * Insert pending notification 81 81 * 82 * @param pVM VM Handle.82 * @param pVM Pointer to the VM. 83 83 * @param pRec Notification record to insert 84 84 */ … … 132 132 * Notification about a successful PGMR3HandlerPhysicalRegister() call. 133 133 * 134 * @param pVM VM Handle.134 * @param pVM Pointer to the VM. 135 135 * @param enmType Handler type. 136 136 * @param GCPhys Handler range address. … … 153 153 * Notification about a successful PGMR3HandlerPhysicalDeregister() operation. 154 154 * 155 * @param pVM VM Handle.155 * @param pVM Pointer to the VM. 156 156 * @param enmType Handler type. 157 157 * @param GCPhys Handler range address. … … 176 176 * Notification about a successful PGMR3HandlerPhysicalModify() call. 177 177 * 178 * @param pVM VM Handle.178 * @param pVM Pointer to the VM. 179 179 * @param enmType Handler type. 180 180 * @param GCPhysOld Old handler range address. -
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
r41783 r41800 45 45 * 46 46 * @returns Flat address. 47 * @param pVM VM Handle.47 * @param pVM Pointer to the VM. 48 48 * @param Sel Selector part. 49 49 * @param Addr Address part. … … 77 77 * 78 78 * @returns Flat address. 79 * @param pVM VM Handle.79 * @param pVM Pointer to the VM. 80 80 * @param SelReg Selector register 81 81 * @param pCtxCore CPU context … … 689 689 * 690 690 * @returns VBox status code. 691 * @param pVM VM Handle.691 * @param pVM Pointer to the VM. 692 692 * @param pVCpu The virtual CPU handle. 693 693 * @param SelCPL Current privilege level. Get this from SS - CS might be conforming! … … 893 893 * 894 894 * @returns DISCPUMODE according to the selector type (16, 32 or 64 bits) 895 * @param pVM VM Handle.895 * @param pVM Pointer to the VM. 896 896 * @param pVCpu The virtual CPU handle. 897 897 * @param Sel The selector. … … 956 956 * 957 957 * @returns Hypervisor's Trap 08 (\#DF) selector. 958 * @param pVM VM Handle.958 * @param pVM Pointer to the VM. 959 959 */ 960 960 VMMDECL(RTSEL) SELMGetTrap8Selector(PVM pVM) … … 967 967 * Sets EIP of Hypervisor's Trap 08 (\#DF) TSS. 968 968 * 969 * @param pVM VM Handle.969 * @param pVM Pointer to the VM. 970 970 * @param u32EIP EIP of Trap 08 handler. 971 971 */ … … 979 979 * Sets ss:esp for ring1 in main Hypervisor's TSS. 980 980 * 981 * @param pVM VM Handle.981 * @param pVM Pointer to the VM. 982 982 * @param ss Ring1 SS register value. Pass 0 if invalid. 983 983 * @param esp Ring1 ESP register value. … … 998 998 * 999 999 * @returns VBox status code. 1000 * @param pVM VM Handle.1000 * @param pVM Pointer to the VM. 1001 1001 * @param pSS Ring1 SS register value. 1002 1002 * @param pEsp Ring1 ESP register value. … … 1079 1079 * 1080 1080 * @returns Pointer to the guest TSS, RTRCPTR_MAX if not being monitored. 1081 * @param pVM VM Handle.1081 * @param pVM Pointer to the VM. 1082 1082 */ 1083 1083 VMMDECL(RTGCPTR) SELMGetGuestTSS(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/TMAll.cpp
r41783 r41800 529 529 * Checks that the timer queues are sane. 530 530 * 531 * @param pVM VM handle.531 * @param pVM Pointer to the VM. 532 532 * 533 533 * @remarks Called while owning the lock. -
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r41783 r41800 370 370 * 371 371 * @returns The timestamp. 372 * @param pVM VM handle.372 * @param pVM Pointer to the VM. 373 373 * 374 374 * @remark While the flow of time will never go backwards, the speed of the … … 390 390 * 391 391 * @returns The timestamp. 392 * @param pVM VM handle.392 * @param pVM Pointer to the VM. 393 393 * 394 394 * @remarks See TMVirtualGet. … … 419 419 * 420 420 * @returns The timestamp. 421 * @param pVM VM handle.421 * @param pVM Pointer to the VM. 422 422 * @param u64 raw virtual time. 423 423 * @param off offVirtualSync. … … 620 620 * 621 621 * @returns The timestamp. 622 * @param pVM VM handle.622 * @param pVM Pointer to the VM. 623 623 * @param fCheckTimers Check timers or not 624 624 * @param pcNsToDeadline Where to return the number of nano seconds to … … 858 858 * 859 859 * @returns The timestamp. 860 * @param pVM VM handle.860 * @param pVM Pointer to the VM. 861 861 * @thread EMT. 862 862 * @remarks May set the timer and virtual sync FFs. … … 873 873 * 874 874 * @returns The timestamp. 875 * @param pVM VM handle.875 * @param pVM Pointer to the VM. 876 876 * @thread EMT. 877 877 * @remarks May set the timer and virtual sync FFs. … … 887 887 * 888 888 * @returns The timestamp. 889 * @param pVM VM handle.889 * @param pVM Pointer to the VM. 890 890 * @param fCheckTimers Check timers on the virtual clock or not. 891 891 * @thread EMT. … … 903 903 * 904 904 * @returns The timestamp. 905 * @param pVM VM handle.905 * @param pVM Pointer to the VM. 906 906 * @param pcNsToDeadline Where to return the number of nano seconds to 907 907 * the next virtual sync timer deadline. … … 922 922 * 923 923 * @returns The number of TMCLOCK_VIRTUAL ticks. 924 * @param pVM VM handle.924 * @param pVM Pointer to the VM. 925 925 * @thread EMT. 926 926 * @remarks May set the timer and virtual sync FFs. … … 938 938 * 939 939 * @return The current lag. 940 * @param pVM VM handle.940 * @param pVM Pointer to the VM. 941 941 */ 942 942 VMM_INT_DECL(uint64_t) TMVirtualSyncGetLag(PVM pVM) … … 950 950 * 951 951 * @return The current catch0up percent. 0 means running at the same speed as the virtual clock. 952 * @param pVM VM handle.952 * @param pVM Pointer to the VM. 953 953 */ 954 954 VMM_INT_DECL(uint32_t) TMVirtualSyncGetCatchUpPct(PVM pVM) … … 964 964 * 965 965 * @returns The frequency. 966 * @param pVM VM handle.966 * @param pVM Pointer to the VM. 967 967 */ 968 968 VMM_INT_DECL(uint64_t) TMVirtualGetFreq(PVM pVM) -
trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp
r41783 r41800 314 314 * probably also use this facility to save the original trap. 315 315 * 316 * @param pVM VM handle.316 * @param pVM Pointer to the VM. 317 317 */ 318 318 VMMDECL(void) TRPMSaveTrap(PVMCPU pVCpu) … … 330 330 * Multiple restores of a saved trap is possible. 331 331 * 332 * @param pVM VM handle.332 * @param pVM Pointer to the VM. 333 333 */ 334 334 VMMDECL(void) TRPMRestoreTrap(PVMCPU pVCpu) -
trunk/src/VBox/VMM/VMMAll/VMAll.cpp
r41783 r41800 42 42 * return VM_SET_ERROR(pVM, VERR_OF_YOUR_CHOICE, "descriptive message"); 43 43 * @endcode 44 * @param pVM VM handle. Must be non-NULL.44 * @param pVM Pointer to the VM. Must be non-NULL. 45 45 * @param rc VBox status code. 46 46 * @param RT_SRC_POS_DECL Use RT_SRC_POS. … … 66 66 * return VM_SET_ERROR(pVM, VERR_OF_YOUR_CHOICE, "descriptive message"); 67 67 * @endcode 68 * @param pVM VM handle. Must be non-NULL.68 * @param pVM Pointer to the VM. Must be non-NULL. 69 69 * @param rc VBox status code. 70 70 * @param RT_SRC_POS_DECL Use RT_SRC_POS. … … 103 103 * APIs for retrieving the VMERROR copy later. 104 104 * 105 * @param pVM VM handle. Must be non-NULL.105 * @param pVM Pointer to the VM. Must be non-NULL. 106 106 * @param rc VBox status code. 107 107 * @param RT_SRC_POS_DECL Use RT_SRC_POS. … … 298 298 * APIs for retrieving the VMRUNTIMEERROR copy later. 299 299 * 300 * @param pVM VM handle. Must be non-NULL.300 * @param pVM Pointer to the VM. Must be non-NULL. 301 301 * @param fFlags The error flags. 302 302 * @param pszErrorId Error ID string.
Note:
See TracChangeset
for help on using the changeset viewer.