From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mx.groups.io with SMTP id smtpd.web08.28.1605053899366872030 for ; Tue, 10 Nov 2020 16:18:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=FuonCmnr; spf=pass (domain: nuviainc.com, ip: 209.85.215.193, mailfrom: rebecca@nuviainc.com) Received: by mail-pg1-f193.google.com with SMTP id 62so154212pgg.12 for ; Tue, 10 Nov 2020 16:18:19 -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=eSdeaFh8UCMLWrzPuXyYoVUfAUS4FcKjgpSJ58v15pg=; b=FuonCmnrx5T4RABlYShdhr69przWixBcmjYBgWEKcQ5//X6mHFYLFKTtqpRSR+6mii ApKnY1r2hBE8grBtEwNF5Tt80XJby5CuWkdC1YUc9VwxQyVzpBj5LSDnXB0NaZN7uxeI CdOKpTOYQ3m8ODr0GFo6NSJjLPHeWel/V+4bOezRpUV0IKJkmn7eabA/FQhUkff3mZrz yOUHWhTolrSAMZkwzC+JechZ0YgEF74q1HzyYcA0kNu5Kg/kjNPKIF4lDoaRyMiEUJjt yrtMrAoXOTsaJl1Q0EFBRsyaHvbpdKKhAAkccLtXeylnpueQloMvmm4DcVHN2HfMI0XB +SQw== 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=eSdeaFh8UCMLWrzPuXyYoVUfAUS4FcKjgpSJ58v15pg=; b=JnR/KLEID3+bOBReAB7r8mMvJFgUgsMdXJ9xppvYVXo2c3YRbs23nq81b9v6JEszkd +eUM6e4ZB5XDxOWFPp3iDXP9MDwt+IJSPftOV6u/LnXu+7T4Xvus5chN7z92hwHYeeY5 Qk762SjVieoi0KRQiXfIB7UdSQLAuFcIQb3pY31UzLC45qNFIivUwGXtAB8nsxPzyLPN ORrno1u3wA8h2t0vk+67ZsFgwhAs9bTKyMC290OCfoEROYZO25ZG8hdGKHnyA646Hixz Ciez7kmGQ0pHr1ic0t7ISXlWsilB08ttZ8W/x+e1FzV88chM9h2cva97nuOmEPvHyQ6R DpWw== X-Gm-Message-State: AOAM531IOXYi998RBPMSMAmiSPTQVKkOqtoPhuaJx8J4NbHwQ0Of4CtA tEu1Z+a9Ud/I87LVvU+6aqiBkzTo8RK2CtLEFCrU+7rwVZyTpwt6NTo0CXzEAaYCPi0JZMAm12g xmZK+4qWV4kntsCGKb1p6UG7d5RJFgjNxvrAYkqipqHcobFV5Lif75hAo2O+rBnsFfFftM8gg X-Google-Smtp-Source: ABdhPJwLh4GI7M/OdasikbcNNA64+5GettRzDczqqLc4YUccOu1KtaECypHbnSbLtzeQI8LplNXO5w== X-Received: by 2002:a17:90a:c7c3:: with SMTP id gf3mr840597pjb.140.1605053898553; Tue, 10 Nov 2020 16:18:18 -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 f7sm270705pfe.30.2020.11.10.16.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 16:18:17 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Leif Lindholm , Ard Biesheuvel , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v3 2/3] MdePkg: Update IndustryStandard/SmBios.h with processor status data Date: Tue, 10 Nov 2020 17:17:47 -0700 Message-Id: <20201111001748.20217-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201111001748.20217-1-rebecca@nuviainc.com> References: <20201111001748.20217-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 --- 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..bb4a3a8dc0d3 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. Should be set to zero. + UINT8 SocketPopulated :1; // Indicates if the processor socket is populated or not. + UINT8 Reserved2 :1; // Reserved for future use. Should be set to zero. + } Bits; + UINT8 Data; +} PROCESSOR_STATUS_DATA; + typedef struct { PROCESSOR_SIGNATURE Signature; PROCESSOR_FEATURE_FLAGS FeatureFlags; -- 2.26.2