From nobody Tue Feb 10 07:23:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+66669+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66669+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1603819826; cv=none; d=zohomail.com; s=zohoarc; b=VCHXRTGNSJ28VIWUSEucE7nq9PZRPAhqWIVSfvp4XQ1KB5DgnAproYKBLXB1qbNbjy7FIN1R9uYpwlXgOo5IDEPpEnj+d7W3SMEpYvjO4XQdFtS3zNMft99sY17oZGN2zu5rifEZno1NM2G5HekoIRUPD8HuOsE0lFyUPD7JfHw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603819826; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=yJRUsqAb4taqlbg6TTx1NKrb4MmD2i0qubHSwKNocDw=; b=DD3w8dx8xOjyXkpZtc8PI2P/X8Dcnnb32/DEf0Nu/FUyWgcBuTsJnZkeojhUeYyiqH9vLhP9erSm97K5xVLfgWvfI2iwJoD1qc4XiY6Mq0pRxjQawbgn+tRnByXhxFFGLtFdfx+gnF+UNwb1Np8jJQlGEaXjomzt5iw2fh8lo7E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66669+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1603819826667394.75633358222683; Tue, 27 Oct 2020 10:30:26 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VJvOYY1788612xtQJDrIrfDo; Tue, 27 Oct 2020 10:30:25 -0700 X-Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by mx.groups.io with SMTP id smtpd.web11.458.1603819815255225303 for ; Tue, 27 Oct 2020 10:30:15 -0700 X-Received: by mail-pj1-f67.google.com with SMTP id m3so1092140pjf.4 for ; Tue, 27 Oct 2020 10:30:15 -0700 (PDT) X-Gm-Message-State: 2NBwXAFRRAlFrLvlGwxw6HqAx1787277AA= X-Google-Smtp-Source: ABdhPJxQUPuOoGBxO8JGjKiBUFt9+gDke0Ad92VLgIncWXSlKp5B3hphxQDO4i/pH+u3/Y9YXbEtRA== X-Received: by 2002:a17:90a:341:: with SMTP id 1mr2970589pjf.189.1603819814483; Tue, 27 Oct 2020 10:30:14 -0700 (PDT) X-Received: from cube.nuviainc.com (muon.bluestop.org. [65.103.231.193]) by smtp.gmail.com with ESMTPSA id z6sm2982755pfj.48.2020.10.27.10.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 10:30:13 -0700 (PDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Liming Gao , Zhiguang Liu , Ray Ni , Zhichao Gao Subject: [edk2-devel] [PATCH v2 5/5] MdePkg: Fix SmBios.h PROCESSOR_CHARACTERISTIC_FLAGS to be UINT16 Date: Tue, 27 Oct 2020 11:29:31 -0600 Message-Id: <20201027172931.27297-6-rebecca@nuviainc.com> In-Reply-To: <20201027172931.27297-1-rebecca@nuviainc.com> References: <20201027172931.27297-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1603819825; bh=YlTVdPXcTZ6NdwAB/ei+VVZkSvXwS5kGG6NwRh+Zqx0=; h=Cc:Date:From:Reply-To:Subject:To; b=qdO3v/Ai69VgYn0llUaKY0qg+cCtCv6EJrnZYWio7t/3NI3wx3bCstUZK75sad5ZZe7 s6Z/KIZvpFkqwX2VbXl/YfbzOfuXRlfsq5809nQF//GwCr2IVoYTm5Kdnxnp1R3U9qb4t bg9zHaKDBXwhe0xIZDGFNuvoMMvTlQRR/GE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The ProcessorCharacteristics is a UINT16 field, so the PROCESSOR_CHARACTERISTIC_FLAGS bitfield should be UINT16 too. Signed-off-by: Rebecca Cran Reviewed-by: Zhiguang Liu --- MdePkg/Include/IndustryStandard/SmBios.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/Indu= stryStandard/SmBios.h index c495c48f3b47..1ee01645679a 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -862,17 +862,17 @@ typedef struct { } PROCESSOR_FEATURE_FLAGS; =20 typedef struct { - UINT32 ProcessorReserved1 :1; - UINT32 ProcessorUnknown :1; - UINT32 Processor64BitCapble :1; - UINT32 ProcessorMultiCore :1; - UINT32 ProcessorHardwareThread :1; - UINT32 ProcessorExecuteProtection :1; - UINT32 ProcessorEnhancedVirtulization :1; - UINT32 ProcessorPowerPerformanceCtrl :1; - UINT32 Processor128bitCapble :1; - UINT32 ProcessorArm64SocId :1; - UINT32 ProcessorReserved2 :6; + UINT16 ProcessorReserved1 :1; + UINT16 ProcessorUnknown :1; + UINT16 Processor64BitCapble :1; + UINT16 ProcessorMultiCore :1; + UINT16 ProcessorHardwareThread :1; + UINT16 ProcessorExecuteProtection :1; + UINT16 ProcessorEnhancedVirtulization :1; + UINT16 ProcessorPowerPerformanceCtrl :1; + UINT16 Processor128bitCapble :1; + UINT16 ProcessorArm64SocId :1; + UINT16 ProcessorReserved2 :6; } PROCESSOR_CHARACTERISTIC_FLAGS; =20 typedef struct { --=20 2.26.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#66669): https://edk2.groups.io/g/devel/message/66669 Mute This Topic: https://groups.io/mt/77843796/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-