mirror of https://github.com/acidanthera/audk.git
MdePkg: Update IndustryStandard/SmBios.h with processor status data
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@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Acked-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
9e7621c05e
commit
4e1f316cec
|
@ -875,6 +875,19 @@ typedef struct {
|
||||||
UINT16 ProcessorReserved2 :6;
|
UINT16 ProcessorReserved2 :6;
|
||||||
} PROCESSOR_CHARACTERISTIC_FLAGS;
|
} 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. Must be set to zero.
|
||||||
|
UINT8 SocketPopulated :1; ///< Indicates if the processor socket is populated or not.
|
||||||
|
UINT8 Reserved2 :1; ///< Reserved for future use. Must be set to zero.
|
||||||
|
} Bits;
|
||||||
|
UINT8 Data;
|
||||||
|
} PROCESSOR_STATUS_DATA;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PROCESSOR_SIGNATURE Signature;
|
PROCESSOR_SIGNATURE Signature;
|
||||||
PROCESSOR_FEATURE_FLAGS FeatureFlags;
|
PROCESSOR_FEATURE_FLAGS FeatureFlags;
|
||||||
|
|
Loading…
Reference in New Issue