From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mx.groups.io with SMTP id smtpd.web08.26161.1612135521664137599 for ; Sun, 31 Jan 2021 15:25:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=ZR38WMzt; spf=pass (domain: nuviainc.com, ip: 209.85.160.173, mailfrom: rebecca@nuviainc.com) Received: by mail-qt1-f173.google.com with SMTP id l23so11018343qtq.13 for ; Sun, 31 Jan 2021 15:25:21 -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=ZR38WMztEOdvBdOVBqESlIzEktcfgA6yn9RdDj7jmcEw5Navi8J7T5+SbIYYDiSaBm 9EGlo08b1p7U0ZCdjc7k5QvQqD5lJSZY20qOT12rxxEmlBAI4/sl0m3Iw2NrhjPQqdRs BHgKQ/7k4nQn/o9Df+rMdEWT2cMqht97WTCOSW8TsH1EzxKxuousdlwWCydd7eSqYd+9 wDechzttorzFUHygpJEaVIF+gtKYRDQK2+Y9Lfq73WhqDyva6E9mN5FgWBZOtI5ZuNQf x6iM9Hq9UykXb/rmXfK9FaU46papE49y9/c2IcYgVugGaMnH4ROsAGiIs19IYj314biM FK3A== 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=hA8YvqCK4LLPowFcuccSDk2j5QLgBcPRf9bKyZVJa9IDZT5WShE6pWvCoDpqq0gXeW AEZD4RcZrr95udFHhYWE/IhmqByjMLRDtfkCDE3esGMaLeSYqKSwsx0IfvYN7pAlaTlH R12KU0INPpM6C4RxxW0nPE1oRIuYQFkpv/BO9MkAaXYvuIaqXNU5ltYacJwywkceUfSK 1Giz/F7P7SMwowuTIT9y5DzLE00ZUwfiIshoN5DmweN+8mQpZ6ltt5N65jWi0GOxAegC CNh0VF7LGIS4+WgbRnW5jEsDgnnWNr8/FN5ZitNlo7O1Zzg7OaUvObM+c22EoiqMb6nM FJiQ== X-Gm-Message-State: AOAM531y81320ynHqg2qWDpQDPjKXJ9cplolgaUMrdhe+j+xDFg/RXdI fYnSJzPCCK76gqpE5PXKfIHhchfAvACdYl4QSdCiQv40bjqs9tnSBW+EZtGz+eZXBTIifnTDzFE ZkY1Q1qcu7TIjAFOCxtcMnjY4jwUkam23PeURLMOGEyPO8uBPOGVK5GSlW58f8Gjax647Sg== X-Google-Smtp-Source: ABdhPJxqiNHbnnNGVeNKf9mFn2f5h+3HXJGQxOyGysm/aMCn6ywsA9VMhHzxkMYMK1wOs9PTHtfOoQ== X-Received: by 2002:ac8:5315:: with SMTP id t21mr5792229qtn.345.1612135520633; Sun, 31 Jan 2021 15:25:20 -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 12sm11809361qkg.39.2021.01.31.15.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 15:25:20 -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 v7 02/21] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Sun, 31 Jan 2021 16:24:52 -0700 Message-Id: <20210131232511.18340-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210131232511.18340-1-rebecca@nuviainc.com> References: <20210131232511.18340-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