DuetPkg: fix unresolved external symbol __allshl with MSFT IA32 NOOPT build

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <[email protected]>
---

Index: DuetPkg/DxeIpl/HobGeneration.c
===================================================================
--- DuetPkg/DxeIpl/HobGeneration.c      (revision 16340)
+++ DuetPkg/DxeIpl/HobGeneration.c      (working copy)
@@ -609,7 +609,7 @@
   // Prepare Low Memory
   // 0x18 pages is 72 KB.
   //
-  EbdaAddress = ((UINT64)(*(UINT16 *)(UINTN)(EBDA_VALUE_ADDRESS))) << 4;
+  EbdaAddress = (UINT64)((*(UINT16 *)(UINTN)(EBDA_VALUE_ADDRESS)) << 4);
   if (EbdaAddress < 0x9A000 || EbdaAddress > EFI_MEMORY_BELOW_1MB_END) {
     //
     // EBDA should not go below 0x9A000 in any implementation,

-- 
Thanks,
Scott

Attachment: duet-noopt-fix_11-12-2014.patch
Description: Binary data

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to