mbox series

[edk2,0/7] ArmPlatformPkg/PrePi: stop exposing internal code via HOBs

Message ID 20171130152453.19205-1-ard.biesheuvel@linaro.org
Headers show
Series ArmPlatformPkg/PrePi: stop exposing internal code via HOBs | expand

Message

Ard Biesheuvel Nov. 30, 2017, 3:24 p.m. UTC
This removes the code from PrePi and MemoryInitPeiLib that keeps the primary
FV around forever so that DXE phase code can reuse some of the code inside
the PrePi module.

Cc: Udit Kumar <udit.kumar@nxp.com>
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Cc: Sakar Arora <Sakar.Arora@arm.com>


Ard Biesheuvel (6):
  EmbeddedPkg BeagleBoardPkg: move special HOB reuse libraries into
    platform
  BeagleBoardPkg: create private PrePi implementation
  BeagleBoardPkg: clone MemoryInitPeiLib
  ArmPlatformPkg/PrePi: don't expose PE/COFF and LZMA libraries via HOBs
  ArmPlatformPkg/PrePi; call all constructors by hand
  ArmPlatformPkg/PrePi: remove bogus IntelFrameworkModulePkg reference

Meenakshi Aggarwal (1):
  ArmPlatformPkg/MemoryInitPeiLib: don't reserve primary FV in memory

 ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c                                                   |  69 -------
 ArmPlatformPkg/PrePi/PeiMPCore.inf                                                                |   2 -
 ArmPlatformPkg/PrePi/PeiUniCore.inf                                                               |   2 -
 ArmPlatformPkg/PrePi/PrePi.c                                                                      |  24 +--
 BeagleBoardPkg/BeagleBoardPkg.dsc                                                                 |  14 +-
 BeagleBoardPkg/BeagleBoardPkg.fdf                                                                 |   2 +-
 {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoff.c                            |   0
 {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf                       |   0
 {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.c   |   0
 {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf |   0
 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.c                                        | 198 ++++++++++++++++++++
 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf                                      |  64 +++++++
 BeagleBoardPkg/PrePi/Arm/ArchPrePi.c                                                              |  29 +++
 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.S                                                       | 130 +++++++++++++
 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.asm                                                     | 148 +++++++++++++++
 {ArmPlatformPkg => BeagleBoardPkg}/PrePi/LzmaDecompress.h                                         |   0
 BeagleBoardPkg/PrePi/MainUniCore.c                                                                |  39 ++++
 BeagleBoardPkg/PrePi/PeiUniCore.inf                                                               | 104 ++++++++++
 BeagleBoardPkg/PrePi/PrePi.c                                                                      | 198 ++++++++++++++++++++
 BeagleBoardPkg/PrePi/PrePi.h                                                                      |  90 +++++++++
 EmbeddedPkg/EmbeddedPkg.dsc                                                                       |   2 -
 21 files changed, 1012 insertions(+), 103 deletions(-)
 rename {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoff.c (100%)
 rename {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf (100%)
 rename {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.c (100%)
 rename {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf (100%)
 create mode 100644 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.c
 create mode 100644 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf
 create mode 100644 BeagleBoardPkg/PrePi/Arm/ArchPrePi.c
 create mode 100644 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.S
 create mode 100644 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.asm
 rename {ArmPlatformPkg => BeagleBoardPkg}/PrePi/LzmaDecompress.h (100%)
 create mode 100644 BeagleBoardPkg/PrePi/MainUniCore.c
 create mode 100644 BeagleBoardPkg/PrePi/PeiUniCore.inf
 create mode 100644 BeagleBoardPkg/PrePi/PrePi.c
 create mode 100644 BeagleBoardPkg/PrePi/PrePi.h

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel