public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Oram, Isaac W" <isaac.w.oram@intel.com>
To: devel@edk2.groups.io
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>,
	Chasel Chiu <chasel.chiu@intel.com>
Subject: [edk2-devel][edk2-platforms][PATCH V1 1/1] WhitleySiliconPkg/PchPolicyPpi: Fix binary structure layout
Date: Fri, 27 May 2022 14:47:05 -0700	[thread overview]
Message-ID: <0ff4a7949acbaf1fe3ef51ba358bd6b8358339f9.1653687365.git.isaac.w.oram@intel.com> (raw)
In-Reply-To: <cover.1653687365.git.isaac.w.oram@intel.com>

Disambiguate the PCH_DMI_CONFIG and PCH_TRACE_HUB_CONFIG structure
definitions such that compilers generate same binary layouts.

Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Signed-off-by: Isaac Oram <isaac.w.oram@intel.com>
---
 .../Pch/SouthClusterLbg/Include/PchPolicyCommon.h              | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Silicon/Intel/WhitleySiliconPkg/Pch/SouthClusterLbg/Include/PchPolicyCommon.h b/Silicon/Intel/WhitleySiliconPkg/Pch/SouthClusterLbg/Include/PchPolicyCommon.h
index 0e10d0b8f0..c95481bf1d 100644
--- a/Silicon/Intel/WhitleySiliconPkg/Pch/SouthClusterLbg/Include/PchPolicyCommon.h
+++ b/Silicon/Intel/WhitleySiliconPkg/Pch/SouthClusterLbg/Include/PchPolicyCommon.h
@@ -1351,7 +1351,9 @@ typedef struct {
   **/
   UINT32     DmiAspm           :  1;
   UINT32     PwrOptEnable      :  1;    ///< <b>0: Disable</b>; 1: Enable DMI Power Optimizer on PCH side.
+  UINT32     Rsvdbits1         : 30;
   BOOLEAN    DmiStopAndScreamEnable : 1;
+  BOOLEAN    Rsvdbits2              : 7;
   UINT32     DmiLinkDownHangBypass  : 1;
   UINT32     Rsvdbits               : 29;
   UINT32     Rsvd0[6];                  ///< Reserved bytes
@@ -1447,6 +1449,7 @@ typedef struct {
   TRACE_HUB_CONFIG            TraceHub;
   UINT32                      AetEnableMode      :  2;
   UINT32                      PchTraceHubHide    :  1;
+  UINT32                      Rsvdbits           : 29;
 } PCH_TRACE_HUB_CONFIG;
 
 
-- 
2.36.1.windows.1


       reply	other threads:[~2022-05-27 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1653687365.git.isaac.w.oram@intel.com>
2022-05-27 21:47 ` Oram, Isaac W [this message]
2022-06-07 20:59   ` [edk2-devel][edk2-platforms][PATCH V1 1/1] WhitleySiliconPkg/PchPolicyPpi: Fix binary structure layout Nate DeSimone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ff4a7949acbaf1fe3ef51ba358bd6b8358339f9.1653687365.git.isaac.w.oram@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox