Changeset 65561 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 1, 2017 9:08:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/GIMHvInternal.h
r63648 r65561 442 442 #define MSR_GIM_HV_GUEST_OS_ID_IS_OPENSOURCE(a) RT_BOOL((a) & RT_BIT_64(63)) 443 443 /** Vendor ID. */ 444 #define MSR_GIM_HV_GUEST_OS_ID_VENDOR(a) ( ((a) >> 48) & 0xfff)444 #define MSR_GIM_HV_GUEST_OS_ID_VENDOR(a) (uint32_t)(((a) >> 48) & 0xfff) 445 445 /** Guest OS variant, depending on the vendor ID. */ 446 #define MSR_GIM_HV_GUEST_OS_ID_OS_VARIANT(a) ( ((a) >> 40) & 0xff)446 #define MSR_GIM_HV_GUEST_OS_ID_OS_VARIANT(a) (uint32_t)(((a) >> 40) & 0xff) 447 447 /** Guest OS major version. */ 448 #define MSR_GIM_HV_GUEST_OS_ID_MAJOR_VERSION(a) ( ((a) >> 32) & 0xff)448 #define MSR_GIM_HV_GUEST_OS_ID_MAJOR_VERSION(a) (uint32_t)(((a) >> 32) & 0xff) 449 449 /** Guest OS minor version. */ 450 #define MSR_GIM_HV_GUEST_OS_ID_MINOR_VERSION(a) ( ((a) >> 24) & 0xff)450 #define MSR_GIM_HV_GUEST_OS_ID_MINOR_VERSION(a) (uint32_t)(((a) >> 24) & 0xff) 451 451 /** Guest OS service version (e.g. service pack number in case of Windows). */ 452 #define MSR_GIM_HV_GUEST_OS_ID_SERVICE_VERSION(a) ( ((a) >> 16) & 0xff)452 #define MSR_GIM_HV_GUEST_OS_ID_SERVICE_VERSION(a) (uint32_t)(((a) >> 16) & 0xff) 453 453 /** Guest OS build number. */ 454 #define MSR_GIM_HV_GUEST_OS_ID_BUILD(a) ( (a) & 0xffff)454 #define MSR_GIM_HV_GUEST_OS_ID_BUILD(a) (uint32_t)((a) & 0xffff) 455 455 /** @} */ 456 456
Note:
See TracChangeset
for help on using the changeset viewer.