From nobody Mon Nov 25 12:20:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+70298+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70298+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1610642204; cv=none; d=zohomail.com; s=zohoarc; b=BvEv0umGWkjK2V3K/k3h93Iu+AdTvfQsAL1Gn/bXd4Ujuwo0x1tdDtpdh5GQzWfRjxcxI5wjKf1VgyIKOsU73fy25QNOX5CttuYY66ZA7yUA62an2ZefClPdkWlbbwQoy0OBLA3UQIJQInP5AlxBcXMHj4lvcY+isNs7BLbAgmo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610642204; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=/O8K8FZYNjykbLwoGe/Rq+jzem6PIwdp9Rf64N6pIVM=; b=Lkc9Z8IQzA1LMIM7WMB56JrESfJUsi0Cg7hFDIn6RqA9Ik9QF3PDQMeQ2cGTyX+jTYXgo/U1I6rdCBeyMQTWxQsaSCYyp3qqF+nEsYy7iifCMvWBZujcvV/X7ZhLXxq2IiIDO9Z9PECI/aSAcTql0xIZcDtFRzYC7m2pJY/96NU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70298+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1610642204913727.7298857954979; Thu, 14 Jan 2021 08:36:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6sWiYY1788612x0nvdq8nbGQ; Thu, 14 Jan 2021 08:36:44 -0800 X-Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by mx.groups.io with SMTP id smtpd.web10.4041.1610642198606479117 for ; Thu, 14 Jan 2021 08:36:38 -0800 X-Received: by mail-io1-f43.google.com with SMTP id o6so12315870iob.10 for ; Thu, 14 Jan 2021 08:36:38 -0800 (PST) X-Gm-Message-State: zllFf9joZC1E13t2BzDKDx7qx1787277AA= X-Google-Smtp-Source: ABdhPJxso7z3zRmk7kkAeWf87dfEjofcA7ZFzJznFa+ddRCeHIOV9B2oPT5qKi/hOEMmf5vBUIlwQA== X-Received: by 2002:a5d:824b:: with SMTP id n11mr5705191ioo.27.1610642197811; Thu, 14 Jan 2021 08:36:37 -0800 (PST) X-Received: from cube.nuviainc.com (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id y5sm3711920ilj.35.2021.01.14.08.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 08:36:37 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Leif Lindholm , Ard Biesheuvel , nd@arm.com, Sami Mujawar , Liming Gao , Michael D Kinney , Zhiguang Liu , Sami Mujawar Subject: [edk2-devel] [PATCH v6 03/22] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Thu, 14 Jan 2021 09:36:09 -0700 Message-Id: <20210114163628.31952-4-rebecca@nuviainc.com> In-Reply-To: <20210114163628.31952-1-rebecca@nuviainc.com> References: <20210114163628.31952-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610642204; bh=Cg+9pe3Q5Z5W8r7ElVSHNKM7rafiofpjrz7CYA8CPXY=; h=Cc:Date:From:Reply-To:Subject:To; b=ul22Yy0oglKt3S9T3jBTVufLMcN0rkZ9mqc9B8M5iphOwxUNQLcvRGui0ST7IZ/tqvb rn+myRPEYyCokS8mpvJ3TujzHafgGPuQANjHhOaRAK3092XuSPRhBOx81YIwCNStCpvI4 rGFA90Vm9geA5CUjwFc/le3m4wTcm7yVXQM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" 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 Acked-by: Samer El-Haj-Mahmoud Reviewed-by: Liming Gao --- MdePkg/Include/IndustryStandard/SmBios.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/Indu= stryStandard/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; =20 +/// +/// 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 po= pulated 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; --=20 2.26.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70298): https://edk2.groups.io/g/devel/message/70298 Mute This Topic: https://groups.io/mt/79679238/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-