From nobody Wed Apr 24 15:40:04 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+69640+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+69640+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1609801123; cv=none; d=zohomail.com; s=zohoarc; b=RPRvq/zszonMt6aMoM6SwTiWMNP3TJeMGww4zCQq/T1//A1ue8rumSr4c0c8r6g0L8NenQxMm5tBitAGeGL39+Rlhj6JjntBUQyd2c8kaN0ih1x0WksI87rQlRxPWeZxVk4Xk1hkfGaeJ+63BTkbr89oT+cCkhcbTdIrzIGzQjA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609801123; 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=8DJOy9i5wu7LJ5LkPfFTRDeBfszthreOYg7Q+BbQlb0=; b=cu+qsq71PRjXX2a0jf4uaIEua5jZx4YyUQcOLZWQmAru8+f8HwEO3IZJPmuRBik4Vf0S3Maj2ztopMcfWH3aTjF11bDaLHcq7oshJMw9LumEMB1UIq4nIARnAeuSXYwx6Lbn8XV9fmm6cGkvRR4diLyXF8ZHRX/C5zEsEguaqYM= 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+69640+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1609801123215297.1838575443304; Mon, 4 Jan 2021 14:58:43 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8cHMYY1788612xzHkjTLvT1x; Mon, 04 Jan 2021 14:58:42 -0800 X-Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web12.73.1609801122311017417 for ; Mon, 04 Jan 2021 14:58:42 -0800 X-Received: by mail-pl1-f180.google.com with SMTP id be12so15345426plb.4 for ; Mon, 04 Jan 2021 14:58:42 -0800 (PST) X-Gm-Message-State: 4oXT5DgvAOw6SStSC8k2HVE4x1787277AA= X-Google-Smtp-Source: ABdhPJw6rz9IQlm0m5USvLvgQ69jiqwDRXWzAFmrkP9R8nRwd0nT0ANrEUgViBIqZ/jOb+AgTyZZiA== X-Received: by 2002:a17:902:b7c3:b029:da:76bc:2aa9 with SMTP id v3-20020a170902b7c3b02900da76bc2aa9mr74647758plz.21.1609801121558; Mon, 04 Jan 2021 14:58:41 -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 x143sm64185289pgx.66.2021.01.04.14.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 14:58:41 -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 v5 02/23] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Mon, 4 Jan 2021 15:58:09 -0700 Message-Id: <20210104225830.12606-3-rebecca@nuviainc.com> In-Reply-To: <20210104225830.12606-1-rebecca@nuviainc.com> References: <20210104225830.12606-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=1609801122; bh=blLs0nUEhPt8mkoe9wxzmYNsPb06JyYO3BFWTMmqFyc=; h=Cc:Date:From:Reply-To:Subject:To; b=nryl81OGZL/L02FoXLEkyE3idkMF6kNx8UMmXWmSurBTZEQ/OIkztcGtqRb+jXZxwJ0 SKN8rHeT7WnJFM1w+oD27E5TAAnFkrH4IOe4OCZxvwQX4vBBE+JWD9D3Ao0MWRS9s7U3l D1q5YXkkbkArNGLHsUSI5a5J5Cw+IVjjW34= 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 --- 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 (#69640): https://edk2.groups.io/g/devel/message/69640 Mute This Topic: https://groups.io/mt/79438403/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-