From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by mx.groups.io with SMTP id smtpd.web09.152.1607363682473219598 for ; Mon, 07 Dec 2020 09:54:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=teom5Q3l; spf=pass (domain: nuviainc.com, ip: 209.85.216.65, mailfrom: rebecca@nuviainc.com) Received: by mail-pj1-f65.google.com with SMTP id hk16so31709pjb.4 for ; Mon, 07 Dec 2020 09:54: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=teom5Q3lBGCOihpy692v8sTBacvt/j4PGyInLav5Qw7lW2MRn1M50hUBixS1OUFqdj 7JdBdiEyhfhnOGcvXq50QDmyX297v5fxbx269HFVRV+XqhMql1YkX8EhHbUQCm+ovC1/ 2YGQ2YmD8oZ8lDN2AzinARv4tBFjqCX6v+3Qi3XIYeRsPZ+Ba7R7NtfWyBnXdOl6JHnZ UdQ1iUdzo2deybrZLKWXpGs7Iafg3UAhPDiB+qY5vmSxfex8tQ2A9lIlJ8ZoQvuLcF+q hh3xXkxz8x5XDbpDZh0QAJww/P3fBeVhLiw2UCNg30Al5Skl8KKM/HJECVOX0jyY4CD+ zvmA== 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=PVqe0a4gL4OjkiDaPST52rjfgV0Jk6uVz/IQmkNBpUAh8JtZ5S0Q+a6Mfy133ftgfX myMw5USZoZim5uiX9fAJTSLwfIy+KC0pSCscR5ve2UYmOomFABKg+de2wH6IzXubWiAy bP/BN7YizeDjP4g5Wtz3gKrV28/SL4TWN/1gYY+NDMnL+5agzaub+8sRxE3HHtgO0elc Blh7A19jCx4coFMP+NBMuGY5jnKb9nlRCcagxvcOq6MQKjCoR51O5xjsQPdbWANs5LZ0 vVNjGa0zXgBYYviuCAnNCp6FMMrx3GKF2gjEX1fSpcVfErGU+s0zQX+Rw6WbVTZYWh8c g/vw== X-Gm-Message-State: AOAM532D2zR2s29cI427aA0KwsSz58C1R21XcMdhJRnWPVMnb4BIOHG4 +x3O0W0Dbw2ll/F1H9bEpjNcQRK7QXXGORyaArUuy05NXP8SswSUuRAvoDPgSI3GgPs5PIYDaDi lDWY0iJS/zCC+3ItzHK9DoMtG4HFc7OyWa4veFVOFt8fEeAxz4Huv4UqAtm0jIYdt838WUgaP X-Google-Smtp-Source: ABdhPJxPtJan9mZE9JJnB81YGh9vJAyYkCB46zYtGjHYYGvlAPdse8Qb1IVsrqOJ6iSfQivvkMQnOA== X-Received: by 2002:a17:90a:8589:: with SMTP id m9mr17290399pjn.190.1607363681572; Mon, 07 Dec 2020 09:54: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 nm6sm2369pjb.25.2020.12.07.09.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 09:54:41 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Liming Gao , Zhiguang Liu , Leif Lindholm , Ard Biesheuvel , Sami Mujawar Subject: [PATCH v4 02/10] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Mon, 7 Dec 2020 10:54:19 -0700 Message-Id: <20201207175427.28712-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201207175427.28712-1-rebecca@nuviainc.com> References: <20201207175427.28712-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