Changeset 58123 in vbox for trunk/src/VBox/VMM/VMMRC
- Timestamp:
- Oct 8, 2015 6:09:45 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM/VMMRC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRC/CPUMRC.cpp
r58122 r58123 113 113 * 114 114 * @returns CPL 115 * @param pVCpu The c urrent virtual CPU.115 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 116 116 * @param pRegFrame Pointer to the register frame. 117 117 * … … 173 173 * Used by emInterpretIret() after the new state has been loaded. 174 174 * 175 * @param pVCpu Pointer to the VMCPU.175 * @param pVCpu The cross context virtual CPU structure. 176 176 * @param pCtxCore The context core (for trap usage). 177 177 * @see @ref pg_raw -
trunk/src/VBox/VMM/VMMRC/CSAMRC.cpp
r58122 r58123 49 49 50 50 /** 51 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 51 52 * \#PF Handler callback for virtual access handler ranges. (CSAM self-modifying 52 * code monitor) 53 * code monitor)} 53 54 * 54 55 * Important to realize that a physical page in a range can have aliases, and 55 56 * for ALL and WRITE handlers these will also trigger. 56 *57 * @returns VBox status code (appropriate for GC return).58 * @param pVM The cross context VM structure.59 * @param pVCpu Pointer to the cross context CPU context for the calling60 * EMT.61 * @param uErrorCode CPU Error code.62 * @param pRegFrame Trap register frame.63 * @param pvFault The fault address (cr2).64 * @param pvRange The base address of the handled virtual range.65 * @param offRange The offset of the access into this range.66 * (If it's a EIP range this is the EIP, if not it's pvFault.)67 * @param pvUser Ignored (NIL).68 57 */ 69 58 DECLEXPORT(VBOXSTRICTRC) csamRCCodePageWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, -
trunk/src/VBox/VMM/VMMRC/IOMRC.cpp
r58122 r58123 79 79 * 80 80 * @param pVM The cross context VM structure. 81 * @param pVCpu Pointer to the virtual CPU structure of the caller.81 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 82 82 * @param pRegFrame Pointer to CPUMCTXCORE guest registers structure. 83 83 * @param pCpu Disassembler CPU state. … … 140 140 * 141 141 * @param pVM The cross context VM structure. 142 * @param pVCpu Pointer to the virtual CPU structure of the caller.142 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 143 143 * @param pRegFrame Pointer to CPUMCTXCORE guest registers structure. 144 144 * @param pCpu Disassembler CPU state. … … 194 194 * 195 195 * @param pVM The cross context VM structure. 196 * @param pVCpu Pointer to the virtual CPU structure of the caller.196 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 197 197 * @param pRegFrame Pointer to CPUMCTXCORE guest registers structure. 198 198 * @param pCpu Disassembler CPU state. … … 248 248 * 249 249 * @param pVM The cross context VM structure. 250 * @param pVCpu Pointer to the virtual CPU structure of the caller.250 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 251 251 * @param pRegFrame Pointer to CPUMCTXCORE guest registers structure. 252 252 * @param pCpu Disassembler CPU state. … … 309 309 * 310 310 * @param pVM The cross context VM structure. 311 * @param pVCpu Pointer to the virtual CPU structure of the caller.311 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 312 312 * @param pRegFrame Pointer to CPUMCTXCORE guest registers structure. 313 313 * @param pCpu Disassembler CPU state. -
trunk/src/VBox/VMM/VMMRC/SELMRC.cpp
r58122 r58123 60 60 * 61 61 * @param pVM The cross context VM structure. 62 * @param pVCpu The c urrent virtual CPU.62 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 63 63 * @param pCtx CPU context for the current CPU. 64 64 * @param iGDTEntry The GDT entry to sync. … … 181 181 * 182 182 * @param pVM The cross context VM structure. 183 * @param pVCpu The c urrent virtual CPU.183 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 184 184 * @param pCtx The CPU context. 185 185 * @param iGDTEntry The GDT entry to sync. … … 230 230 * 231 231 * @param pVM The cross context VM structure. 232 * @param pVCpu Pointer to the cross context virtual CPU structure.232 * @param pVCpu The cross context virtual CPU structure. 233 233 * @param offGuestTss The offset into the TSS of the write that was made. 234 234 * @param cbWrite The number of bytes written. … … 259 259 * 260 260 * @param pVM The cross context VM structure. 261 * @param pVCpu Pointer to the cross context virtual CPU structure.261 * @param pVCpu The cross context virtual CPU structure. 262 262 * @param offGuestTss The offset into the TSS of the write that was made. 263 263 * @param cbWrite The number of bytes written. … … 393 393 * @returns Strict VBox status code appropriate for raw-mode returns. 394 394 * @param pVM The cross context VM structure. 395 * @param pVCpu Pointer to the cross context virtual CPU structure.395 * @param pVCpu The cross context virtual CPU structure. 396 396 * @param offGuestTss The offset into the TSS of the write that was made. 397 397 * @param cbWrite The number of bytes written. … … 546 546 #ifdef SELM_TRACK_SHADOW_GDT_CHANGES 547 547 /** 548 * \#PF Virtual Handler callback for Guest write access to the VBox shadow GDT. 549 * 550 * @returns VBox status code (appropriate for trap handling and GC return). 551 * @param pVM The cross context VM structure. 552 * @param pVCpu Pointer to the cross context CPU context for the 553 * calling EMT. 554 * @param uErrorCode CPU Error code. 555 * @param pRegFrame Trap register frame. 556 * @param pvFault The fault address (cr2). 557 * @param pvRange The base address of the handled virtual range. 558 * @param offRange The offset of the access into this range. 559 * (If it's a EIP range this is the EIP, if not it's pvFault.) 560 * @param pvUser Unused. 548 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 549 * \#PF Virtual Handler callback for Guest write access to the VBox shadow GDT.} 561 550 */ 562 551 DECLEXPORT(VBOXSTRICTRC) selmRCShadowGDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, … … 572 561 #ifdef SELM_TRACK_SHADOW_LDT_CHANGES 573 562 /** 574 * \#PF Virtual Handler callback for Guest write access to the VBox shadow LDT. 575 * 576 * @returns VBox status code (appropriate for trap handling and GC return). 577 * @param pVM The cross context VM structure. 578 * @param pVCpu Pointer to the cross context CPU context for the 579 * calling EMT. 580 * @param uErrorCode CPU Error code. 581 * @param pRegFrame Trap register frame. 582 * @param pvFault The fault address (cr2). 583 * @param pvRange The base address of the handled virtual range. 584 * @param offRange The offset of the access into this range. 585 * (If it's a EIP range this is the EIP, if not it's pvFault.) 586 * @param pvUser Unused. 563 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 564 * \#PF Virtual Handler callback for Guest write access to the VBox shadow LDT.} 587 565 */ 588 566 DECLEXPORT(VBOXSTRICTRC) selmRCShadowLDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, … … 599 577 #ifdef SELM_TRACK_SHADOW_TSS_CHANGES 600 578 /** 601 * \#PF Virtual Handler callback for Guest write access to the VBox shadow TSS. 602 * 603 * @returns VBox status code (appropriate for trap handling and GC return). 604 * @param pVM The cross context VM structure. 605 * @param pVCpu Pointer to the cross context CPU context for the 606 * calling EMT. 607 * @param uErrorCode CPU Error code. 608 * @param pRegFrame Trap register frame. 609 * @param pvFault The fault address (cr2). 610 * @param pvRange The base address of the handled virtual range. 611 * @param offRange The offset of the access into this range. 612 * (If it's a EIP range this is the EIP, if not it's pvFault.) 613 * @param pvUser Unused. 579 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 580 * \#PF Virtual Handler callback for Guest write access to the VBox shadow TSS.} 614 581 */ 615 582 DECLEXPORT(VBOXSTRICTRC) selmRCShadowTSSWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, -
trunk/src/VBox/VMM/VMMRC/TRPMRC.cpp
r58122 r58123 91 91 92 92 /** 93 * \#PF Virtual Handler callback for Guest write access to the Guest's own current IDT. 94 * 95 * @returns VBox status code (appropriate for trap handling and GC return). 96 * @param pVM The cross context VM structure. 97 * @param pVCpu Pointer to the cross context CPU context for the 98 * calling EMT. 99 * @param uErrorCode CPU Error code. 100 * @param pRegFrame Trap register frame. 101 * @param pvFault The fault address (cr2). 102 * @param pvRange The base address of the handled virtual range. 103 * @param offRange The offset of the access into this range. 104 * (If it's a EIP range this is the EIP, if not it's pvFault.) 105 * @param pvUser Unused. 93 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 94 * \#PF Virtual Handler callback for Guest write access to the Guest's own current IDT.} 106 95 */ 107 96 DECLEXPORT(VBOXSTRICTRC) trpmRCGuestIDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, … … 157 146 158 147 /** 159 * \#PF Virtual Handler callback for Guest write access to the VBox shadow IDT. 160 * 161 * @returns VBox status code (appropriate for trap handling and GC return). 162 * @param pVM The cross context VM structure. 163 * @param pVCpu Pointer to the cross context CPU context for the 164 * calling EMT. 165 * @param uErrorCode CPU Error code. 166 * @param pRegFrame Trap register frame. 167 * @param pvFault The fault address (cr2). 168 * @param pvRange The base address of the handled virtual range. 169 * @param offRange The offset of the access into this range. 170 * (If it's a EIP range this is the EIP, if not it's pvFault.) 171 * @param pvUser Unused. 148 * @callback_method_impl{FNPGMRCVIRTPFHANDLER, 149 * \#PF Virtual Handler callback for Guest write access to the VBox shadow IDT.} 172 150 */ 173 151 DECLEXPORT(VBOXSTRICTRC) trpmRCShadowIDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, -
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp
r58122 r58123 152 152 * happened. 153 153 * @param pVM The cross context VM structure. 154 * @param pVCpu Pointer to the VMCPU.154 * @param pVCpu The cross context virtual CPU structure. 155 155 * @param rc The VBox status code to return. 156 156 * @param pRegFrame Pointer to the register frame for the trap. … … 790 790 * 791 791 * @param pVM The cross context VM structure. 792 * @param pVCpu Pointer to the VMCPU.792 * @param pVCpu The cross context virtual CPU structure. 793 793 * @param pRegFrame Pointer to the register frame for the trap. 794 794 * @param pCpu The opcode info. … … 898 898 * 899 899 * @param pVM The cross context VM structure. 900 * @param pVCpu Pointer to the VMCPU.900 * @param pVCpu The cross context virtual CPU structure. 901 901 * @param pRegFrame Pointer to the register frame for the trap. 902 902 * @param pCpu The opcode info. … … 1004 1004 * 1005 1005 * @param pVM The cross context VM structure. 1006 * @param pVCpu Pointer to the VMCPU.1006 * @param pVCpu The cross context virtual CPU structure. 1007 1007 * @param pRegFrame Pointer to the register frame for the trap. 1008 1008 * This will be updated on successful return.
Note:
See TracChangeset
for help on using the changeset viewer.