From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mx.groups.io with SMTP id smtpd.web11.3032.1606782863394014650 for ; Mon, 30 Nov 2020 16:34:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=IAmuKhT5; spf=pass (domain: nuviainc.com, ip: 209.85.210.195, mailfrom: rebecca@nuviainc.com) Received: by mail-pf1-f195.google.com with SMTP id b6so11532226pfp.7 for ; Mon, 30 Nov 2020 16:34:23 -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=dY0BUTL3k8Ejkd1oyh26Cycygqwn4S4U5ZYXbTu81w0=; b=IAmuKhT5NUGi4TxbMN+S/7fxEF6Z8Lfo4zGqoRKrTCgL3D/EQjTGdtxQc0qdaX8Vi6 AB2AQWPaLSSFIYc+I7WbtlHyqS1s4M44uNoYa3qDwdGSwhVwkWsTGha2tSdUyyvUemTg jWTnooqn5O8dR4APxk2UgdgEMCkI6b6p1GCADSuZw36Xy+CsYBmR3ULOCTSAJjzhdtXS KQT26foO1vpVBsawF7encG+uUtczW2uS5jFQz/wa3K7/oW5HUjpliG204utC/H066808 EJBVbR3fzHOPCB8OzBN5HiWukFYWYSadJ7IDdh8Ew/2D8a6a1FYqWi5xc3d2hryILrt5 Di/g== 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=dY0BUTL3k8Ejkd1oyh26Cycygqwn4S4U5ZYXbTu81w0=; b=imk6ASIcK+VXZ5u+EAKl0xetW+u0FyZcMI4VMBCviNyyffGO7QDgTrjGUOddr3xLH4 dRyoB9g9O5P3shdLB6cfkMNl171AGE3FOoERNS0d+ic9Gnd27n7dRoXqfkJOzrjaJzrK qe5zmgI7ym7FnnNc3pWu/qG6F9Utgz6r9ZE9K89I7xpn+c8f6W/WjH10XCfgzNeyB2TR kJ6oQH8mUF+bVrEccD+qba/KElhNC23sr3YDotHZBcQrEdIuafnsqSVA8xzx+6XFM14o gS7qLZi0pxiAzZoHovYae+D4mNo95STNSlXlrDyu5vyTDmMGN5L2I/avm+9aS6k/pwDy IwWA== X-Gm-Message-State: AOAM533tKcdVUCmLIlbRm8JLBhwbq/+v5dOSUCLWM3VOX9Vhy4oYryf1 +Hk8Drdkdbzp83GkC/cWAkQlXhHDeOv7OobQQV5ffZt31cpdjvCC6I/GbDRMYoDhYvS8ZHKNcKl BSwZYyGew6r6eKwLLZqOJPKUZmo9yXeFNF8Dtor1YRp1mSBcQgsA4LBX0X0dh6tr/A1Go54Ks X-Google-Smtp-Source: ABdhPJwLHTftC81tE1TAYXc0oTnjhfYL34FTW0N26LeKFzabUJ3XWYz8hgWMLzGhKH17VgR7AK6wmA== X-Received: by 2002:a63:6e87:: with SMTP id j129mr14622813pgc.304.1606782862546; Mon, 30 Nov 2020 16:34:22 -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 22sm57899pjb.40.2020.11.30.16.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 16:34:21 -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 , Sami Mujawar Subject: [PATCH v4 02/11] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Mon, 30 Nov 2020 17:33:49 -0700 Message-Id: <20201201003358.8780-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201201003358.8780-1-rebecca@nuviainc.com> References: <20201201003358.8780-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 1ee01645679a..34b4a1cc923f 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