VirtualBox

Ignore:
Timestamp:
Oct 9, 2015 7:48:10 PM (9 years ago)
Author:
vboxsync
Message:

VMMDEVFACILITYSTATUSENTRY: Use enums, there isn't any space to save here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevState.h

    r58161 r58164  
    9393typedef struct VMMDEVFACILITYSTATUSENTRY
    9494{
    95     /** The facility, see VBoxGuestFacilityType. */
    96     uint32_t    uFacility;
    97     /** The status, see VBoxGuestFacilityStatus. */
    98     /** @todo r=andy uint16_t vs. uint32_t (VBoxGuestFacilityStatus enum). */
    99     uint16_t    uStatus;
     95    /** The facility (may contain values other than the defined ones). */
     96    VBoxGuestFacilityType       enmFacility;
     97    /** The status (may contain values other than the defined ones). */
     98    VBoxGuestFacilityStatus     enmStatus;
    10099    /** Whether this entry is fixed and cannot be reused when inactive. */
    101     bool        fFixed;
     100    bool                        fFixed;
    102101    /** Explicit alignment padding / reserved for future use. MBZ. */
    103     bool        fPadding;
     102    bool                        afPadding[3];
    104103    /** The facility flags (yet to be defined). */
    105     uint32_t    fFlags;
    106     /** Explicit alignment padding / reserved for future use. MBZ. */
    107     uint32_t    uPadding;
     104    uint32_t                    fFlags;
    108105    /** Last update timestamp. */
    109     RTTIMESPEC  TimeSpecTS;
     106    RTTIMESPEC                  TimeSpecTS;
    110107} VMMDEVFACILITYSTATUSENTRY;
    111108/** Pointer to a facility status entry. */
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