From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by mx.groups.io with SMTP id smtpd.web12.16686.1603305739441893598 for ; Wed, 21 Oct 2020 11:42:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=NaI2nLDm; spf=pass (domain: nuviainc.com, ip: 209.85.216.67, mailfrom: rebecca@nuviainc.com) Received: by mail-pj1-f67.google.com with SMTP id m3so508941pjf.4 for ; Wed, 21 Oct 2020 11:42:19 -0700 (PDT) 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=/mb1intyLpU49Cfxp++AYsCvKRJTXWD0kyTVuMB1H2I=; b=NaI2nLDmheezfGJ2NfSq0jyz9YWwkIi5XqQ9YIMv4ys5E1umH/GAOK15I4hJBWg9eo NhltiWnM+oHftYkQixWxpWghstUjigB4WsT9mn+IzGX5oGOpTFSwAeF5PK6zn8yQ5+q+ XRSBKs5BW8luXwH+P5VGK+E3Ns2BKgYO37ym7oyc1B3OQWmUaiqebcrm+d9FuHwu64ve nHw2PXAbUmm5HZ1EImSQxmb84vyU6wcQPepXDoNmvFJXjxm6lDSECHQ+gKXArQgPDzBq McWsITWR5+FT/aFw8RYL44z9ZKE6PrNicd6yaF0q5NMiWTWAbBqfG95k64+rdSVCh2uH RhRA== 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=/mb1intyLpU49Cfxp++AYsCvKRJTXWD0kyTVuMB1H2I=; b=UKU19lfCPFNSx598u9gQWRRs1dY7Gdu2qkNX5pjZLw6Rhtz9/p0H7zp5yo0L7pgfhL M6CXHTP1Au9MEoLKZB7Lf/Cy/aWQgRgY6mvxmYMoJ/oSQ8bhq9E5omJVMSHM5nO5o7D1 z/hdiRdijCwh0vq6TpVLuTJWF/oqivBjEN1teK2vUM5m9k7F84nF3/YC4h3muFj1FhRz iKZi/S+ffxZfa9cqaaK6UyaBcGp3L1oqSc7ZbHcO0CXhLmBLnBQDSa3XglXw6xzSoAEj yV+bXMZjU/kTXNq2VAmeUtJcpGjnP+G+nfGVXCYekWZ5T3XaoCoRypoi+NWzZ0skTyUn Avug== X-Gm-Message-State: AOAM532xykF8HY+JpiiqeXvihwIZ8erYzbBFj6miMuF6htHT2vtK9G98 oQTpOpmIzMT4H3+CGYb2bryUbADJRIjzzIJIXE5JeyNVYoKo2qiOeuiLjO2xs75++N9nBfuw33J x8rhTYxYTQkv1/xElo4FBsiuUdqZI+sOTDcnR3rjMsiODJ+fxKk2MQGCIz5W+zvvkszR++NiS X-Google-Smtp-Source: ABdhPJzlBcQNTWOOPUSI9zoninkaUqkRNclkQplprK1n+goAigV/+7ZvTxOy7/08Q8GNJGbhAbdVaA== X-Received: by 2002:a17:90a:8c8a:: with SMTP id b10mr4668014pjo.127.1603305738626; Wed, 21 Oct 2020 11:42:18 -0700 (PDT) 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 q8sm3174963pff.18.2020.10.21.11.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 11:42:17 -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: [PATCH 5/6] MdePkg: Update SmBios.h to fix PROCESSOR_CHARACTERISTIC_FLAGS Date: Wed, 21 Oct 2020 12:41:14 -0600 Message-Id: <20201021184115.25712-6-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201021184115.25712-1-rebecca@nuviainc.com> References: <20201021184115.25712-1-rebecca@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ProcessorCharacteristics field is a UINT16, so the PROCESSOR_CHARACTERISTIC_FLAGS bitfield should be too. Signed-off-by: Rebecca Cran --- MdePkg/Include/IndustryStandard/SmBios.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 1981e551187b..400bdef90b4f 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -862,17 +862,17 @@ typedef struct { } PROCESSOR_FEATURE_FLAGS; typedef struct { - UINT32 ProcessorReserved1 :1; - UINT32 ProcessorUnknown :1; - UINT32 Processor64BitCapable :1; - UINT32 ProcessorMultiCore :1; - UINT32 ProcessorHardwareThread :1; - UINT32 ProcessorExecuteProtection :1; - UINT32 ProcessorEnhancedVirtualization :1; - UINT32 ProcessorPowerPerformanceCtrl :1; - UINT32 Processor128BitCapable :1; - UINT32 ProcessorArm64SocId :1; - UINT32 ProcessorReserved2 :6; + UINT16 ProcessorReserved1 :1; + UINT16 ProcessorUnknown :1; + UINT16 Processor64BitCapable :1; + UINT16 ProcessorMultiCore :1; + UINT16 ProcessorHardwareThread :1; + UINT16 ProcessorExecuteProtection :1; + UINT16 ProcessorEnhancedVirtualization :1; + UINT16 ProcessorPowerPerformanceCtrl :1; + UINT16 Processor128BitCapable :1; + UINT16 ProcessorArm64SocId :1; + UINT16 ProcessorReserved2 :6; } PROCESSOR_CHARACTERISTIC_FLAGS; typedef struct { -- 2.26.2