From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=bCAfjwMA; spf=pass (domain: nuviainc.com, ip: 209.85.166.43, mailfrom: rebecca@nuviainc.com) Received: by mail-io1-f43.google.com with SMTP id o6so12315870iob.10 for ; Thu, 14 Jan 2021 08:36:38 -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=bCAfjwMAbQnleZTxL8KmzQbQOveXzKCiqDp2AQss71tN8O775/WAAKdjlqZmynSYVr foa9bDr/5Nb+WYZt2ZkFcwBtNLkglaVel4oX/bfMEXmLxkByKxHwEw7j2VzBjCLcooaU 78ibPpTUK8FO7wtKEqKilApxp+kXUReJ1SkYbF5GMGZY/W597TxSKTov1tRvPva+mj6L AUlZTpV95PNZs/20w1XlsHEODQuIm42B929PbRs265lYP6HugQAhKbKmf9k7SY2yQ9rp 1dYfCjyYyQNFGVvr/QAgiLjQg5BPz5XI0MKPlpq5WBdTWcPGVpzqD6HfrzxubMQioC/U 3OaA== 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=bMrNtR4c48Jniy1I1ikvwFhrcLluXLZA9ILDTNhR7ExZTUg1G3SKTaq0Ao5Nr4qXwj l1VIyfLzsr1gCwwdykGKc+4WhR5ldRWT1/Nn0BP2UyG9zhWh1rtx1eZ2V+G/UT2NzFDo AtaB7BCE7elrQ13hAUOH8Hk2ecXXNRvpFZ6k5QKz3tFsZUU7+FoDSt+LbZGfjje9KAX6 UPUc+HGgbXCzt+MfmwLLpOOneVtGZ2gD9ZcdRBD8DQphAyK9J+s2RXLi91OlcvVv4psh OLYQsqgPtcaoYCSmm4+mOAebxsPfoyT/wl9mtbe3oFOb0DwSIQYxDe15sQwawIhjVzo2 pTfQ== X-Gm-Message-State: AOAM531tPrMfK1cLVbXTA9HiAG0+grbLhSInn1wVtXcB+vcpjgeNzS/d D01p2DL6V2luKaLJ9x+pKeeSCDdH62bt23K9gYUhtqup8vWWjbIBNXRy6IKRGu8wQcbpEdx0ALL QloqV51sLxu9M5Wg5VMR/NA3H63vtkKirqLR88HBFUYyE5bJ+ZpZTFdZXK+5uV/HSEBe7+ob0 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) 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 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: [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> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210114163628.31952-1-rebecca@nuviainc.com> References: <20210114163628.31952-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