From: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>,
"Ma, Maurice" <maurice.ma@intel.com>,
"Yarlagadda, Satya P" <satya.p.yarlagadda@intel.com>
Subject: Re: [PATCH 3/3] IntelFsp2WrapperPkg: Update pragma to use push and pop
Date: Mon, 29 Aug 2016 23:43:29 +0000 [thread overview]
Message-ID: <4666AEFED60F8E4198B42BB01DCEABDF76EC11A0@ORSMSX113.amr.corp.intel.com> (raw)
In-Reply-To: <E92EE9817A31E24EB0585FDF735412F5648048E0@ORSMSX113.amr.corp.intel.com>
Thanks Mike, sent updated patch v2 removing the push, pop change.
Thanks,
-Giri
> -----Original Message-----
> From: Kinney, Michael D
> Sent: Monday, August 29, 2016 11:45 AM
> To: Mudusuru, Giri P <giri.p.mudusuru@intel.com>; edk2-devel@lists.01.org;
> Kinney, Michael D <michael.d.kinney@intel.com>
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Ma, Maurice
> <maurice.ma@intel.com>; Yarlagadda, Satya P
> <satya.p.yarlagadda@intel.com>
> Subject: RE: [edk2] [PATCH 3/3] IntelFsp2WrapperPkg: Update pragma to use
> push and pop
>
> Giri,
>
> Just leave this as #pragma pack(1) and #pragma pack() to follow the
> style used everywhere else.
>
> EDK II sources assume the default packing is natural packing. The compiler
> Configuration in tools_def.txt need to make sure natural packing is the default.
>
> Mike
>
> > -----Original Message-----
> > From: Mudusuru, Giri P
> > Sent: Monday, August 29, 2016 11:14 AM
> > To: edk2-devel@lists.01.org
> > Cc: Yao, Jiewen <jiewen.yao@intel.com>; Ma, Maurice
> <maurice.ma@intel.com>; Yarlagadda,
> > Satya P <satya.p.yarlagadda@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>
> > Subject: [edk2] [PATCH 3/3] IntelFsp2WrapperPkg: Update pragma to use push
> and pop
> >
> > Cc: Jiewen Yao <jiewen.yao@intel.com>
> > Cc: Maurice Ma <maurice.ma@intel.com>
> > Cc: Satya Yarlagadda <satya.p.yarlagadda@intel.com>
> > Cc: Michael Kinney <michael.d.kinney@intel.com>
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> > ---
> > .../Library/BaseFspWrapperApiLib/X64/DispatchExecute.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git
> a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
> >
> b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
> > index 061d381..5f4b75e 100644
> > ---
> a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
> > +++
> b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c
> > @@ -18,7 +18,7 @@
> > #include <Library/BaseLib.h>
> > #include <FspEas.h>
> >
> > -#pragma pack(1)
> > +#pragma pack(push, 1)
> > typedef union {
> > struct {
> > UINT32 LimitLow : 16;
> > @@ -37,7 +37,7 @@ typedef union {
> > } Bits;
> > UINT64 Uint64;
> > } IA32_GDT;
> > -#pragma pack()
> > +#pragma pack(pop)
> >
> > GLOBAL_REMOVE_IF_UNREFERENCED IA32_GDT mGdtEntries[] = {
> > {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 0x0: reserve */
> > --
> > 2.9.0.windows.1
prev parent reply other threads:[~2016-08-29 23:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1472493871.git.giri.p.mudusuru@intel.com>
2016-08-29 18:13 ` [PATCH 1/3] IntelFsp2Pkg: Remove pragma usage to align with UEFI Spec Giri P Mudusuru
2016-08-29 18:13 ` [PATCH 2/3] IntelFsp2Pkg: Fix typo and comments Giri P Mudusuru
2016-08-29 23:29 ` Yao, Jiewen
2016-08-29 18:14 ` [PATCH 3/3] IntelFsp2WrapperPkg: Update pragma to use push and pop Giri P Mudusuru
2016-08-29 18:45 ` Kinney, Michael D
2016-08-29 23:43 ` Mudusuru, Giri P [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=4666AEFED60F8E4198B42BB01DCEABDF76EC11A0@ORSMSX113.amr.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