[edk2-devel] [PATCH v3 2/3] MdePkg: Update IndustryStandard/SmBios.h with processor status data
Leif Lindholm
leif at nuviainc.com
Thu Nov 19 12:05:45 UTC 2020
On Tue, Nov 10, 2020 at 17:17:47 -0700, Rebecca Cran wrote:
> Add a bitfield that describes the structure of the byte in the Status
> field of the SMBIOS Type 4 Processor Information table.
>
> Signed-off-by: Rebecca Cran <rebecca at nuviainc.com>
Reviewed-by: Leif Lindholm <leif at nuviainc.com>
> ---
> MdePkg/Include/IndustryStandard/SmBios.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
> index 1ee01645679a..bb4a3a8dc0d3 100644
> --- a/MdePkg/Include/IndustryStandard/SmBios.h
> +++ b/MdePkg/Include/IndustryStandard/SmBios.h
> @@ -875,6 +875,19 @@ typedef struct {
> UINT16 ProcessorReserved2 :6;
> } PROCESSOR_CHARACTERISTIC_FLAGS;
>
> +///
> +/// Processor Information - Status
> +///
> +typedef union {
> + struct {
> + UINT8 CpuStatus :3; // Indicates the status of the processor.
> + UINT8 Reserved1 :3; // Reserved for future use. Should be set to zero.
> + UINT8 SocketPopulated :1; // Indicates if the processor socket is populated or not.
> + UINT8 Reserved2 :1; // Reserved for future use. Should be set to zero.
> + } Bits;
> + UINT8 Data;
> +} PROCESSOR_STATUS_DATA;
> +
> typedef struct {
> PROCESSOR_SIGNATURE Signature;
> PROCESSOR_FEATURE_FLAGS FeatureFlags;
> --
> 2.26.2
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67713): https://edk2.groups.io/g/devel/message/67713
Mute This Topic: https://groups.io/mt/78172732/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list