From: "Gao, Liming" <liming.gao@intel.com>
To: "Ruffin, Chris" <chris.ruffin@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH] MdePkg/Include: fix incorrect structure definition
Date: Fri, 27 Oct 2017 01:55:04 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1716E9@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20171027010429.41540-1-chris.ruffin@intel.com>
Chris:
Ni, Ruiyu has sent this patch yesterday.
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Chris Ruffin
>Sent: Friday, October 27, 2017 9:04 AM
>To: edk2-devel@lists.01.org
>Subject: [edk2] [PATCH] MdePkg/Include: fix incorrect structure definition
>
>Fix incorrect structure definitions for PCI_REG_PCIE_SLOT_CONTROL in
>PciExpress21.h.
>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Chris Ruffin <chris.ruffin@intel.com>
>---
> MdePkg/Include/IndustryStandard/PciExpress21.h | 24 ++++++++++++-------
>-----
> 1 file changed, 12 insertions(+), 12 deletions(-)
>
>diff --git a/MdePkg/Include/IndustryStandard/PciExpress21.h
>b/MdePkg/Include/IndustryStandard/PciExpress21.h
>index ce9c06a7c6..d90b5975ba 100644
>--- a/MdePkg/Include/IndustryStandard/PciExpress21.h
>+++ b/MdePkg/Include/IndustryStandard/PciExpress21.h
>@@ -182,18 +182,18 @@ typedef union {
>
> typedef union {
> struct {
>- UINT32 AttentionButtonPressed : 1;
>- UINT32 PowerFaultDetected : 1;
>- UINT32 MrlSensorChanged : 1;
>- UINT32 PresenceDetectChanged : 1;
>- UINT32 CommandCompletedInterrupt : 1;
>- UINT32 HotPlugInterrupt : 1;
>- UINT32 AttentionIndicator : 2;
>- UINT32 PowerIndicator : 2;
>- UINT32 PowerController : 1;
>- UINT32 ElectromechanicalInterlock : 1;
>- UINT32 DataLinkLayerStateChanged : 1;
>- UINT32 Reserved : 3;
>+ UINT16 AttentionButtonPressed : 1;
>+ UINT16 PowerFaultDetected : 1;
>+ UINT16 MrlSensorChanged : 1;
>+ UINT16 PresenceDetectChanged : 1;
>+ UINT16 CommandCompletedInterrupt : 1;
>+ UINT16 HotPlugInterrupt : 1;
>+ UINT16 AttentionIndicator : 2;
>+ UINT16 PowerIndicator : 2;
>+ UINT16 PowerController : 1;
>+ UINT16 ElectromechanicalInterlock : 1;
>+ UINT16 DataLinkLayerStateChanged : 1;
>+ UINT16 Reserved : 3;
> } Bits;
> UINT16 Uint16;
> } PCI_REG_PCIE_SLOT_CONTROL;
>--
>2.13.3.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
prev parent reply other threads:[~2017-10-27 1:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-27 1:04 [PATCH] MdePkg/Include: fix incorrect structure definition Chris Ruffin
2017-10-27 1:55 ` Gao, Liming [this message]
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=4A89E2EF3DFEDB4C8BFDE51014F606A14E1716E9@SHSMSX104.ccr.corp.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