public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Richardson, Brian" <brian.richardson@intel.com>
To: "Ni, Ruiyu" <ruiyu.ni@intel.com>,
	"Zhu, Yonghong" <yonghong.zhu@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Wu, Hao A" <hao.a.wu@intel.com>, Andrew Fish <afish@apple.com>
Subject: Re: [Patch 2/4] DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined
Date: Thu, 3 Aug 2017 18:26:34 +0000	[thread overview]
Message-ID: <80AC2BAA3152784F98F581129E5CF5AF8E97894D@ORSMSX114.amr.corp.intel.com> (raw)
In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5B9C9580@SHSMSX104.ccr.corp.intel.com>

I thought we considered this an obsolete package.
https://github.com/tianocore/tianocore.github.io/wiki/DuetPkg 

If this package is obsolete, the readme needs to be updated to reflect this information.
https://github.com/tianocore/edk2/tree/master/DuetPkg 

Thanks ... br
---
Brian Richardson, Senior Technical Marketing Engineer, Intel Software
brian.richardson@intel.com -- @intel_brian (Twitter & WeChat)
https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson 

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ni, Ruiyu
Sent: Wednesday, August 2, 2017 9:42 PM
To: Zhu, Yonghong <yonghong.zhu@intel.com>; edk2-devel@lists.01.org
Cc: Wu, Hao A <hao.a.wu@intel.com>; Andrew Fish <afish@apple.com>
Subject: Re: [edk2] [Patch 2/4] DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined

I am surprised DuetPkg is still being used.

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

Regards,
Ray

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Yonghong Zhu
>Sent: Wednesday, August 2, 2017 5:28 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu <ruiyu.ni@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Andrew Fish <afish@apple.com>
>Subject: [edk2] [Patch 2/4] DuetPkg: Fix Xcode 9 Beta treating 32-bit left shift as undefined
>
>Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=635
>
>Cc: Ruiyu Ni <ruiyu.ni@intel.com>
>Cc: Hao Wu <hao.a.wu@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Andrew Fish <afish@apple.com>
>---
> DuetPkg/EfiLdr/TianoDecompress.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/DuetPkg/EfiLdr/TianoDecompress.c b/DuetPkg/EfiLdr/TianoDecompress.c
>index b504e8e..86d82fc 100644
>--- a/DuetPkg/EfiLdr/TianoDecompress.c
>+++ b/DuetPkg/EfiLdr/TianoDecompress.c
>@@ -91,15 +91,15 @@ Arguments:
>
> Returns: (VOID)
>
> --*/
> {
>-  Sd->mBitBuf = (UINT32) (Sd->mBitBuf << NumOfBits);
>+  Sd->mBitBuf = (UINT32) (((UINT64)Sd->mBitBuf) << NumOfBits);
>
>   while (NumOfBits > Sd->mBitCount) {
>
>-    Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount)));
>+    Sd->mBitBuf |= (UINT32) (((UINT64)Sd->mSubBitBuf) << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount)));
>
>     if (Sd->mCompSize > 0) {
>       //
>       // Get 1 byte into SubBitBuf
>       //
>--
>2.6.1.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-08-03 18:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1501666085-21208-1-git-send-email-yonghong.zhu@intel.com>
2017-08-02  9:28 ` [Patch 1/4] BaseTools: Fix Xcode 9 Beta treating 32-bit left shift as undefined Yonghong Zhu
2017-08-02  9:28 ` [Patch 2/4] DuetPkg: " Yonghong Zhu
2017-08-03  1:42   ` Ni, Ruiyu
2017-08-03 18:26     ` Richardson, Brian [this message]
2017-08-02  9:28 ` [Patch 3/4] IntelFrameworkModulePkg: " Yonghong Zhu
2017-08-02  9:28 ` [Patch 4/4] MdePkg: " Yonghong Zhu
2017-08-02 14:04   ` Marvin H?user
2017-08-02 13:47 ` [Patch 0/4] Fix Xcode 9 Beta treating 32-bit left shift as undefined behavior Zhu, Yonghong

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=80AC2BAA3152784F98F581129E5CF5AF8E97894D@ORSMSX114.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