From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=w6TvKGuJ; spf=pass (domain: nuviainc.com, ip: 209.85.214.180, mailfrom: rebecca@nuviainc.com) Received: by mail-pl1-f180.google.com with SMTP id be12so15345426plb.4 for ; Mon, 04 Jan 2021 14:58:42 -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=w6TvKGuJ4K5hV50fM66iOITFiqrlnhTRvGl2EPcbsg5B9cZ6Dgruxw44oHLYQAkapj TGZIJIaN9+4bAYUhH6zMMhD7NEYjzUP6GFFrpjym9jaHKRrSSWCUG1aou7Kr3ryv0RjJ sRNpTyNXF3TeYn6JIv/O+RuSDl5NEFenfZVYhbwmjI8Ue7Y4ya9805n2Pd1sk366f+0b s3OYDPpr0mZqJ2gPsX4Z3vFAG4Ft4wGLgCF/unKXUxu5PFZVAR7CLw7GME1A2TWq+YmG gSPZ+uojUOeahMQHziz/mLkGdxhkZCddrqUyUELg49/TpatMjl8xXpW0LvyWhjk+U4il 4A8A== 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=sPKM5cji+CLV3FZJzmtGcKmKqlUoUdNdt7SJ9Vzw3hUhvmVwYVFppegUL/aZtgVwzM 6n9FqNRqUnlwJpynSjuQ/Z0xiPBmL4ZcsDV//OjCBezhR3TuEPCLW7j/+lnFXPjXi834 27ImPPpsmS2RPN63hoX9psKOYRxTed7RSBM8Kh72BsPFFwQ2lpvOx9m9X1oT4MokNdq9 U7chO3aHe5ortzSAfyRMSsHjLCkbe3yimLr3WvaYGHxW/vOZbDbIfbT/AWnKr6+KkMik jOMVV5GgxPVC1mjsreSNg4mNTFpcZR2MhfE83r8doj4zR/vmIXWlg7hEjoP9Qw9otOyO 1/fQ== X-Gm-Message-State: AOAM531/8s2zwpPe4bzHzDkiJmzrS7B5HMLEDhYlo6I3NoYY6PC/Rr3O x7jVDRqEEeHIdkIbDIKzVP6gHNyVwsw9T1igG2Uw03/WUCYFJXTTwRBgZuwmU1WDbEjdUTIvnQE AnDYvzTwT9NwO6okYv2PPO9vCMwsj0Lu2O3A3X1PT4kE4kxJGsnPXJeVFfgYgDwg4IcRaflHN 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) Return-Path: 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: [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> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210104225830.12606-1-rebecca@nuviainc.com> References: <20210104225830.12606-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