VirtualBox

Changeset 39060 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Oct 20, 2011 2:53:51 PM (13 years ago)
Author:
vboxsync
Message:

DevApic,PDM: Combine the two read functions (MSR/MMIO); renamed debug info handler from lapic -> apic so it matches the device name; misc cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdev.h

    r38847 r39060  
    7676 *
    7777 * @returns VBox status.
    78  * @param   pDevIns     The device instance data. 
    79  * 
    80  * @remarks The device critical section is not entered.  The routine may delete 
     78 * @param   pDevIns     The device instance data.
     79 *
     80 * @remarks The device critical section is not entered.  The routine may delete
    8181 *          the critical section, so the caller cannot exit it.
    8282 */
     
    100100 *
    101101 * @remarks A relocation CANNOT fail.
    102  * 
    103  * @remarks The device critical section is not entered.  The relocations should 
     102 *
     103 * @remarks The device critical section is not entered.  The relocations should
    104104 *          not normally require any locking.
    105105 */
     
    123123 * @param   cbOut       Size of output data.
    124124 * @param   pcbOut      Where to store the actual size of the output data.
    125  * 
     125 *
    126126 * @remarks Not used.
    127127 */
     
    137137 * @returns VBox status.
    138138 * @param   pDevIns     The device instance data.
    139  * 
     139 *
    140140 * @remarks Caller enters the device critical section.
    141141 */
     
    149149 * @returns VBox status.
    150150 * @param   pDevIns     The device instance data.
    151  * 
     151 *
    152152 * @remarks Caller enters the device critical section.
    153153 */
     
    162162 * @param   pDevIns     The device instance data.
    163163 * @thread  EMT(0)
    164  * 
     164 *
    165165 * @remarks Caller enters the device critical section.
    166166 */
     
    174174 * @returns VBox status.
    175175 * @param   pDevIns     The device instance data.
    176  * 
     176 *
    177177 * @remarks Caller enters the device critical section.
    178178 */
     
    190190 * @param   pDevIns     The device instance data.
    191191 * @thread  EMT(0)
    192  * 
     192 *
    193193 * @remarks Caller enters the device critical section.
    194194 */
     
    210210 * @param   iLUN        The logical unit which is being detached.
    211211 * @param   fFlags      Flags, combination of the PDM_TACH_FLAGS_* \#defines.
    212  * 
     212 *
    213213 * @remarks Caller enters the device critical section.
    214214 */
     
    229229 * @param   iLUN        The logical unit which is being detached.
    230230 * @param   fFlags      Flags, combination of the PDMDEVATT_FLAGS_* \#defines.
    231  * 
     231 *
    232232 * @remarks Caller enters the device critical section.
    233233 */
     
    243243 * @param   iLUN        The logicial unit to query.
    244244 * @param   ppBase      Where to store the pointer to the base interface of the LUN.
    245  * 
     245 *
    246246 * @remarks The device critical section is not entered.
    247247 */
     
    257257 * @returns VBOX status code.
    258258 * @param   pDevIns     The device instance.
    259  * 
     259 *
    260260 * @remarks Caller enters the device critical section.
    261261 */
     
    303303    PFNPDMDEVDESTRUCT   pfnDestruct;
    304304    /** Relocation command - optional.
    305      * Critical section NOT entered. */ 
     305     * Critical section NOT entered. */
    306306    PFNPDMDEVRELOCATE   pfnRelocate;
    307307    /** I/O Control interface - optional.
     
    309309    PFNPDMDEVIOCTL      pfnIOCtl;
    310310    /** Power on notification - optional.
    311      * Critical section is entered. */ 
     311     * Critical section is entered. */
    312312    PFNPDMDEVPOWERON    pfnPowerOn;
    313     /** Reset notification - optional. 
    314      * Critical section is entered. */ 
     313    /** Reset notification - optional.
     314     * Critical section is entered. */
    315315    PFNPDMDEVRESET      pfnReset;
    316     /** Suspend notification  - optional. 
    317      * Critical section is entered. */ 
     316    /** Suspend notification  - optional.
     317     * Critical section is entered. */
    318318    PFNPDMDEVSUSPEND    pfnSuspend;
    319     /** Resume notification - optional. 
    320      * Critical section is entered. */ 
     319    /** Resume notification - optional.
     320     * Critical section is entered. */
    321321    PFNPDMDEVRESUME     pfnResume;
    322     /** Attach command - optional. 
    323      * Critical section is entered. */ 
     322    /** Attach command - optional.
     323     * Critical section is entered. */
    324324    PFNPDMDEVATTACH     pfnAttach;
    325     /** Detach notification - optional. 
    326      * Critical section is entered. */ 
     325    /** Detach notification - optional.
     326     * Critical section is entered. */
    327327    PFNPDMDEVDETACH     pfnDetach;
    328328    /** Query a LUN base interface - optional.
    329      * Critical section is NOT entered. */ 
     329     * Critical section is NOT entered. */
    330330    PFNPDMDEVQUERYINTERFACE pfnQueryInterface;
    331     /** Init complete notification - optional. 
    332      * Critical section is entered. */ 
     331    /** Init complete notification - optional.
     332     * Critical section is entered. */
    333333    PFNPDMDEVINITCOMPLETE   pfnInitComplete;
    334     /** Power off notification - optional. 
    335      * Critical section is entered. */ 
     334    /** Power off notification - optional.
     335     * Critical section is entered. */
    336336    PFNPDMDEVPOWEROFF   pfnPowerOff;
    337337    /** @todo */
     
    11331133     * @param   u32Reg          MSR to read.
    11341134     * @param   pu64Value       Where to return the read value.
     1135     *
     1136     * @remarks Unlike the other callbacks, the PDM lock is not taken before
     1137     *          calling this method.
    11351138     */
    11361139    DECLR3CALLBACKMEMBER(int, pfnReadMSRR3, (PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t *pu64Value));
     
    39013904    /** The critical section for the device.
    39023905     *
    3903      * TM and IOM will enter this critical section before calling into the device 
    3904      * code.  PDM will when doing power on, power off, reset, suspend and resume 
    3905      * notifications.  SSM will currently not, but this will be changed later on. 
     3906     * TM and IOM will enter this critical section before calling into the device
     3907     * code.  PDM will when doing power on, power off, reset, suspend and resume
     3908     * notifications.  SSM will currently not, but this will be changed later on.
    39063909     *
    39073910     * The device gets a critical section automatically assigned to it before
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