public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] CorebootPayloadPkg: fixed GCC49 and GCC5 hang in PeiCore
       [not found] ` <97ae23986a9bdaba3ae51984f3a63ba1662baeb2.1471457662.git.prince.agyeman@intel.com>
@ 2016-08-18  2:55   ` Ma, Maurice
  0 siblings, 0 replies; 2+ messages in thread
From: Ma, Maurice @ 2016-08-18  2:55 UTC (permalink / raw)
  To: Agyeman, Prince; +Cc: Leahy, Leroy P, edk2-devel@lists.01.org

Reviewed by: Maurice Ma <maurice.ma@intel.com>

-----Original Message-----
From: Agyeman, Prince 
Sent: Wednesday, August 17, 2016 1:16 PM
To: edk2-devel@lists.01.org
Cc: Ma, Maurice; Leahy, Leroy P
Subject: [PATCH 2/2] CorebootPayloadPkg: fixed GCC49 and GCC5 hang in PeiCore

Section alignment of .data in GCC49 and GCC5 are 0x40 rather than 0x20 in GCC48 and below.
This causes a hang in PeiCore.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Prince Agyeman <prince.agyeman@intel.com>
---
 CorebootPayloadPkg/CorebootPayloadPkg.fdf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CorebootPayloadPkg/CorebootPayloadPkg.fdf b/CorebootPayloadPkg/CorebootPayloadPkg.fdf
index 481f343..d07fd30 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkg.fdf
+++ b/CorebootPayloadPkg/CorebootPayloadPkg.fdf
@@ -219,7 +219,7 @@ INF CorebootPayloadPkg/FbGop/FbGop.inf
 
 [Rule.Common.PEI_CORE]
   FILE PEI_CORE = $(NAMED_GUID) {
-    PE32     PE32   Align=32    $(INF_OUTPUT)/$(MODULE_NAME).efi
+    PE32     PE32   Align=Auto    $(INF_OUTPUT)/$(MODULE_NAME).efi
     UI       STRING ="$(MODULE_NAME)" Optional
     VERSION  STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
   }
@@ -227,7 +227,7 @@ INF CorebootPayloadPkg/FbGop/FbGop.inf
 [Rule.Common.PEIM]
   FILE PEIM = $(NAMED_GUID) {
      PEI_DEPEX PEI_DEPEX Optional        $(INF_OUTPUT)/$(MODULE_NAME).depex
-     PE32      PE32   Align=32           $(INF_OUTPUT)/$(MODULE_NAME).efi
+     PE32      PE32   Align=Auto           $(INF_OUTPUT)/$(MODULE_NAME).efi
      UI       STRING="$(MODULE_NAME)" Optional
      VERSION  STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
   }
--
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] CorebootPayloadPkg : Added MpInitLib to CorebootPayloadPkg.dsc
       [not found] <de35aeeba5ea531a649f9317dccdf2af403769c4.1471457662.git.prince.agyeman@intel.com>
       [not found] ` <97ae23986a9bdaba3ae51984f3a63ba1662baeb2.1471457662.git.prince.agyeman@intel.com>
@ 2016-08-18  2:56 ` Ma, Maurice
  1 sibling, 0 replies; 2+ messages in thread
From: Ma, Maurice @ 2016-08-18  2:56 UTC (permalink / raw)
  To: Agyeman, Prince, edk2-devel@lists.01.org

Reviewed by: Maurice Ma <maurice.ma@intel.com>


-----Original Message-----
From: Agyeman, Prince 
Sent: Wednesday, August 17, 2016 1:16 PM
To: edk2-devel@lists.01.org
Cc: Ma, Maurice; Leahy, Leroy P
Subject: [PATCH 1/2] CorebootPayloadPkg : Added MpInitLib to CorebootPayloadPkg.dsc

MpInitLib is consumed by CpuDxe

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Prince Agyeman <prince.agyeman@intel.com>
---
 CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc    | 1 +
 CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
index 3950c00..4357433 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
+++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
@@ -224,6 +224,7 @@
   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
+  MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
 
 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
index 73582f7..3ddc81b 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
+++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
@@ -226,6 +226,7 @@
   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
+  MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
 
 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-18  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <de35aeeba5ea531a649f9317dccdf2af403769c4.1471457662.git.prince.agyeman@intel.com>
     [not found] ` <97ae23986a9bdaba3ae51984f3a63ba1662baeb2.1471457662.git.prince.agyeman@intel.com>
2016-08-18  2:55   ` [PATCH 2/2] CorebootPayloadPkg: fixed GCC49 and GCC5 hang in PeiCore Ma, Maurice
2016-08-18  2:56 ` [PATCH 1/2] CorebootPayloadPkg : Added MpInitLib to CorebootPayloadPkg.dsc Ma, Maurice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox