From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web11.29129.1612745587374390991 for ; Sun, 07 Feb 2021 16:53:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=hEDOdQul; spf=pass (domain: nuviainc.com, ip: 209.85.215.169, mailfrom: rebecca@nuviainc.com) Received: by mail-pg1-f169.google.com with SMTP id z21so9158068pgj.4 for ; Sun, 07 Feb 2021 16:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DjEiIXYOB+r3LUC289j9ygbjeMc/tvy1FPkDEPezeM0=; b=hEDOdQulu8CMxy2LqbQG3Sf1rtliZNVflBG29bp57Pc0pOy+102oIFH3HzzyoeGXYO v0QMCToxumwCbECEmL5p2VG/baJQwIK1iNBdvM3a69QCubJTY4i+QkgtpfHrtj2xARp3 G5YPFvj/9dIfYkgxsKP5fvDpN2RBOofFJGXQe5pbT3siRFPPfKPh5Tlsej4FT4ycR5/0 3GdyGb47SyrL4oxiJi5uea6hF8L7TzS+BoocHrH81Hxm5bcunn023CZLKblaAvzRa3Fx ZHpdhgEYD7mC5SXSpLOqrVftD77TfOEmou4hDvBhxoDqb9UVcp9spuX1+y/tBk8hb/D2 s8qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DjEiIXYOB+r3LUC289j9ygbjeMc/tvy1FPkDEPezeM0=; b=s8t9T5Zt6vIXZKVp4DnuHpc9VXu6YW+70iOwe3LmBGcLJzHHrnYM14Kme+TDR5E6Lv uMyGVWs7P0Wrmmy9zPFXSN4EA/RApnLk6cGoOXlIAlbpyMhu2zDeKPeZdajMFQeUY2f1 ZAg2Qgo6O3aN3qnWA7IevqA8bt/IUDpTtB7XB5OAntD1OIsyyyL/oLFjgjI/dBAazJYq TUGd9CsBPUpCUEQ3d9Fc3vNxZWCdhZjJMgolEC7Js4Hzou3mY3LmVBOYXo1SRo3Q3Ujf iZDOky/Y7Ue3HIrWsbzVn4geP029mttk5FLfSqUfAm7WTbwbwXqSbU4N+XxYoaQ+4Vxy TBzw== X-Gm-Message-State: AOAM53274s+3Vt0CNrdnjtVByqezSTaR5GXzZqEiXrDxS+5rH5WiKEz6 qVXRqo9+qJaa6Vd3zWgg+bO4/I/4RRADBJbXksLEOSL3Bvqz1ZIJ9+N++33khY9Gp0VyRPMS31P 51hnaQcRdQMVsLkcErUlfOxQKtedaT11PFxfvtktmReCXbSvI4+z1uBEu0LkxpnCma4KuOg== X-Google-Smtp-Source: ABdhPJx5lSGPM9b/vwfxzBKjSo0mIztautu0fWtm7xMOjfvmqppThFj5cDQ4geez/qxPylzopDcu2Q== X-Received: by 2002:a05:6a00:138f:b029:1b8:b9d5:3a2c with SMTP id t15-20020a056a00138fb02901b8b9d53a2cmr15558821pfg.10.1612745586549; Sun, 07 Feb 2021 16:53:06 -0800 (PST) Return-Path: Received: from cube.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id c6sm11095883pjd.21.2021.02.07.16.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 16:53:06 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , leif@nuviainc.com, Ard Biesheuvel , nd@arm.com, Sami Mujawar , Liming Gao , Michael D Kinney , Zhiguang Liu , Samer El-Haj-Mahmoud , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sami Mujawar Subject: [PATCH v8 02/21] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Sun, 7 Feb 2021 17:52:35 -0700 Message-Id: <20210208005254.12176-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210208005254.12176-1-rebecca@nuviainc.com> References: <20210208005254.12176-1-rebecca@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Leif Lindholm Acked-by: Sami Mujawar --- 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 3bc8732eef99..cc023b73692a 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. 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 { PROCESSOR_SIGNATURE Signature; PROCESSOR_FEATURE_FLAGS FeatureFlags; -- 2.26.2