VirtualBox

Changeset 54701 in vbox for trunk


Ignore:
Timestamp:
Mar 9, 2015 4:42:11 PM (10 years ago)
Author:
vboxsync
Message:

VMM/GIM: nits.

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp

    r54654 r54701  
    8282 * MSR read handler for Hyper-V.
    8383 *
    84  * @returns Strict VBox status code like CPUMQueryGuestMsr.
     84 * @returns Strict VBox status code like CPUMQueryGuestMsr().
    8585 * @retval  VINF_CPUM_R3_MSR_READ
    8686 * @retval  VERR_CPUM_RAISE_GP_0
     
    170170 * MSR write handler for Hyper-V.
    171171 *
    172  * @returns Strict VBox status code like CPUMSetGuestMsr.
     172 * @returns Strict VBox status code like CPUMSetGuestMsr().
    173173 * @retval  VINF_CPUM_R3_MSR_WRITE
    174174 * @retval  VERR_CPUM_RAISE_GP_0
  • trunk/src/VBox/VMM/VMMR3/GIMHv.cpp

    r54667 r54701  
    320320 *
    321321 * @param   pVM     Pointer to the VM.
     322 * @thread EMT(0).
    322323 */
    323324VMMR3_INT_DECL(void) gimR3HvReset(PVM pVM)
    324325{
     326    VM_ASSERT_EMT0(pVM);
     327
    325328    /*
    326329     * Unmap MMIO2 pages that the guest may have setup.
  • trunk/src/VBox/VMM/VMMR3/GIMMinimal.cpp

    r54654 r54701  
    107107
    108108/**
    109  * Applies relocations to data and code managed by this component. This function
    110  * will be called at init and whenever the VMM need to relocate itself inside
    111  * the GC.
     109 * Applies relocations to data and code managed by this component.
     110 *
     111 * This function will be called at init and whenever the VMM need to relocate
     112 * itself inside the GC.
    112113 *
    113114 * @param   pVM         Pointer to the VM.
  • trunk/src/VBox/VMM/include/GIMHvInternal.h

    r54654 r54701  
    452452
    453453/**
    454  * GIM Hyper-V VM Instance data.
     454 * GIM Hyper-V VM instance data.
    455455 * Changes to this must checked against the padding of the gim union in VM!
    456456 */
    457457typedef struct GIMHV
    458458{
     459    /** @name MSRs.
     460     *  { */
    459461    /** Guest OS identity MSR. */
    460462    uint64_t                    u64GuestOsIdMsr;
     
    463465    /** Reference TSC page MSR. */
    464466    uint64_t                    u64TscPageMsr;
    465 
     467    /** @}  */
     468
     469    /** @name CPUID features.
     470     *  { */
    466471    /** Basic features. */
    467472    uint32_t                    uBaseFeat;
    468473    /** Partition flags. */
    469474    uint32_t                    uPartFlags;
    470     /** Power management features. */
     475    /** Power management. */
    471476    uint32_t                    uPowMgmtFeat;
    472     /** Miscellaneous features. */
     477    /** Miscellaneous. */
    473478    uint32_t                    uMiscFeat;
    474479    /** Hypervisor hints to the guest. */
     
    476481    /** Hypervisor capabilities. */
    477482    uint32_t                    uHyperCaps;
     483    /** @} */
    478484
    479485    /** Per-VM R0 Spinlock for protecting EMT writes to the TSC page. */
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