From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mx.groups.io with SMTP id smtpd.web08.8321.1605787549174593670 for ; Thu, 19 Nov 2020 04:05:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=Oyezb2Ig; spf=pass (domain: nuviainc.com, ip: 209.85.221.68, mailfrom: leif@nuviainc.com) Received: by mail-wr1-f68.google.com with SMTP id c17so6121916wrc.11 for ; Thu, 19 Nov 2020 04:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yr37RSfhN4xjhn9NODl0tR1lB5DDo0WMO02d0A/mQss=; b=Oyezb2Ig8ghsxO2kyxb3u1mCJuH9J1BzCSZNJnInLftTYMh/bz0tVKx8w5tEPjFsLH ygvPP6z7Gzj7uElFhJEWr7TB5vSbReC/nQkOJ2TlmJrI1vEh4m+M+y8KZgeJux7ZVvrZ jfMl3j+LvHg4dTeRldo9YeXwyTs9NoMQukbyYRfuqXuJ1knl/9FX2fmma6H9QIlLlPoL 95iV6xEtRtby0GsJIKiVpMRp3B22Eww1LXgjvtIlJLozaDEnPDoODdwYvwwYmkIyQBx7 dcIXK6JQedlaY4UthlGEXtHve0FyuDsgtxSSBpTWJ7/5Xd9IP+C6KIo3Ct+CAEHsc79Y 1CHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yr37RSfhN4xjhn9NODl0tR1lB5DDo0WMO02d0A/mQss=; b=A6x0cUzOMRfJcp3A9Y9n0ElINfgLSUuo2kIWHWoNwk20r/5h4wyKHRQ82P7nvXzUQb vxviyId1OGb80JuXze3C2jNPHBBKIGRst7uwFAccnq/PvHgeVL+GMRD0mmgCbFo09V3j Zc/ZCiJV+EyztJ/9IuSdAZtwD1fruKzUK38/heNDh6Jdco3BpcQDZNiUTluBPksCKiuJ K2XNZEEQpfO4+a6mXRVUi+4CrGy7Yf0UlaqFBVx1c5lx2GLsBMGoyB03TZcpWoAGjTvd jkBt8Jlo+t5IBtvKF4rI7mXqnBscgyXPSJh4dY9wC4uQDj6NloawhOC8RiGiptLp4uBv c5oA== X-Gm-Message-State: AOAM532daPyn/E1Y1cbSMm3GQ5/G9dOef+pleLFipSV9MHoP0ULpkP99 nkYvIhgOGwUdBpuUa3Y8fE97cA== X-Google-Smtp-Source: ABdhPJw3OnXiYpczKuoV4pnqlN7VV5JVXkTvNTRmsaekvC0n+SABIqHh2DoUAWAC2WTi32p3zw1vmA== X-Received: by 2002:adf:f2ce:: with SMTP id d14mr9667422wrp.94.1605787547511; Thu, 19 Nov 2020 04:05:47 -0800 (PST) Return-Path: Received: from vanye (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id b14sm37860382wrs.46.2020.11.19.04.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 04:05:47 -0800 (PST) Date: Thu, 19 Nov 2020 12:05:45 +0000 From: "Leif Lindholm" To: Rebecca Cran Cc: devel@edk2.groups.io, Ard Biesheuvel , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: Re: [PATCH v3 2/3] MdePkg: Update IndustryStandard/SmBios.h with processor status data Message-ID: <20201119120545.GK1664@vanye> References: <20201111001748.20217-1-rebecca@nuviainc.com> <20201111001748.20217-3-rebecca@nuviainc.com> MIME-Version: 1.0 In-Reply-To: <20201111001748.20217-3-rebecca@nuviainc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 10, 2020 at 17:17:47 -0700, Rebecca Cran wrote: > 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 > --- > 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 >