VirtualBox

Changeset 58123 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Oct 8, 2015 6:09:45 PM (9 years ago)
Author:
vboxsync
Message:

VMM: Made @param pVCpu more uniform and to the point.

Location:
trunk/src/VBox/VMM/VMMRC
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/CPUMRC.cpp

    r58122 r58123  
    113113 *
    114114 * @returns CPL
    115  * @param   pVCpu       The current virtual CPU.
     115 * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
    116116 * @param   pRegFrame   Pointer to the register frame.
    117117 *
     
    173173 * Used by emInterpretIret() after the new state has been loaded.
    174174 *
    175  * @param   pVCpu       Pointer to the VMCPU.
     175 * @param   pVCpu       The cross context virtual CPU structure.
    176176 * @param   pCtxCore    The context core (for trap usage).
    177177 * @see     @ref pg_raw
  • trunk/src/VBox/VMM/VMMRC/CSAMRC.cpp

    r58122 r58123  
    4949
    5050/**
     51 * @callback_method_impl{FNPGMRCVIRTPFHANDLER,
    5152 * \#PF Handler callback for virtual access handler ranges. (CSAM self-modifying
    52  * code monitor)
     53 * code monitor)}
    5354 *
    5455 * Important to realize that a physical page in a range can have aliases, and
    5556 * 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 calling
    60  *                      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).
    6857 */
    6958DECLEXPORT(VBOXSTRICTRC) csamRCCodePageWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
  • trunk/src/VBox/VMM/VMMRC/IOMRC.cpp

    r58122 r58123  
    7979 *
    8080 * @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.
    8282 * @param   pRegFrame   Pointer to CPUMCTXCORE guest registers structure.
    8383 * @param   pCpu        Disassembler CPU state.
     
    140140 *
    141141 * @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.
    143143 * @param   pRegFrame   Pointer to CPUMCTXCORE guest registers structure.
    144144 * @param   pCpu        Disassembler CPU state.
     
    194194 *
    195195 * @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.
    197197 * @param   pRegFrame   Pointer to CPUMCTXCORE guest registers structure.
    198198 * @param   pCpu        Disassembler CPU state.
     
    248248 *
    249249 * @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.
    251251 * @param   pRegFrame   Pointer to CPUMCTXCORE guest registers structure.
    252252 * @param   pCpu        Disassembler CPU state.
     
    309309 *
    310310 * @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.
    312312 * @param   pRegFrame   Pointer to CPUMCTXCORE guest registers structure.
    313313 * @param   pCpu        Disassembler CPU state.
  • trunk/src/VBox/VMM/VMMRC/SELMRC.cpp

    r58122 r58123  
    6060 *
    6161 * @param   pVM         The cross context VM structure.
    62  * @param   pVCpu       The current virtual CPU.
     62 * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
    6363 * @param   pCtx        CPU context for the current CPU.
    6464 * @param   iGDTEntry   The GDT entry to sync.
     
    181181 *
    182182 * @param   pVM         The cross context VM structure.
    183  * @param   pVCpu       The current virtual CPU.
     183 * @param   pVCpu       The cross context virtual CPU structure of the calling EMT.
    184184 * @param   pCtx        The CPU context.
    185185 * @param   iGDTEntry   The GDT entry to sync.
     
    230230 *
    231231 * @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.
    233233 * @param   offGuestTss     The offset into the TSS of the write that was made.
    234234 * @param   cbWrite         The number of bytes written.
     
    259259 *
    260260 * @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.
    262262 * @param   offGuestTss     The offset into the TSS of the write that was made.
    263263 * @param   cbWrite         The number of bytes written.
     
    393393 * @returns Strict VBox status code appropriate for raw-mode returns.
    394394 * @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.
    396396 * @param   offGuestTss     The offset into the TSS of the write that was made.
    397397 * @param   cbWrite         The number of bytes written.
     
    546546#ifdef SELM_TRACK_SHADOW_GDT_CHANGES
    547547/**
    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.}
    561550 */
    562551DECLEXPORT(VBOXSTRICTRC) selmRCShadowGDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     
    572561#ifdef SELM_TRACK_SHADOW_LDT_CHANGES
    573562/**
    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.}
    587565 */
    588566DECLEXPORT(VBOXSTRICTRC) selmRCShadowLDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     
    599577#ifdef SELM_TRACK_SHADOW_TSS_CHANGES
    600578/**
    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.}
    614581 */
    615582DECLEXPORT(VBOXSTRICTRC) selmRCShadowTSSWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
  • trunk/src/VBox/VMM/VMMRC/TRPMRC.cpp

    r58122 r58123  
    9191
    9292/**
    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.}
    10695 */
    10796DECLEXPORT(VBOXSTRICTRC) trpmRCGuestIDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     
    157146
    158147/**
    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.}
    172150 */
    173151DECLEXPORT(VBOXSTRICTRC) trpmRCShadowIDTWritePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r58122 r58123  
    152152 *          happened.
    153153 * @param   pVM         The cross context VM structure.
    154  * @param   pVCpu       Pointer to the VMCPU.
     154 * @param   pVCpu       The cross context virtual CPU structure.
    155155 * @param   rc          The VBox status code to return.
    156156 * @param   pRegFrame   Pointer to the register frame for the trap.
     
    790790 *
    791791 * @param   pVM         The cross context VM structure.
    792  * @param   pVCpu       Pointer to the VMCPU.
     792 * @param   pVCpu       The cross context virtual CPU structure.
    793793 * @param   pRegFrame   Pointer to the register frame for the trap.
    794794 * @param   pCpu        The opcode info.
     
    898898 *
    899899 * @param   pVM         The cross context VM structure.
    900  * @param   pVCpu       Pointer to the VMCPU.
     900 * @param   pVCpu       The cross context virtual CPU structure.
    901901 * @param   pRegFrame   Pointer to the register frame for the trap.
    902902 * @param   pCpu        The opcode info.
     
    10041004 *
    10051005 * @param   pVM         The cross context VM structure.
    1006  * @param   pVCpu       Pointer to the VMCPU.
     1006 * @param   pVCpu       The cross context virtual CPU structure.
    10071007 * @param   pRegFrame   Pointer to the register frame for the trap.
    10081008 *                      This will be updated on successful return.
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