Series-Reviewed-by: Pedro Falcato <pedro.falcato@gmail.com>

On Tue, Sep 13, 2022 at 10:32 PM Theo Jehl <theojehl76@gmail.com> wrote:
QemuOpenBoardPkg adds a MinPlatform port to Qemu x86_64
It can boots UEFI Linux and Windows, and works on PIIX4 and Q35
This board port provides a simple starting place for investigating edk2 and
MinPlatform Arch.
Currently we implement up to stage 4 of the MinPlatform spec and can boot
Windows/Linux.

V2 splits the package into several commits.
Each commit corresponding to a MinPlatform architecture stage.

The V3 removes specials characters in "Theo" from file headers.
Cleaned up whitespace, punctuation, commenting to better match coding style and conventions
Fixed Visual Studio build issue converting UINT64 to UINT32.
Fixed build issues related to sync with latest master.

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>

Signed-off-by: Theo Jehl <theojehl76@gmail.com>

Theo Jehl (4):
  QemuOpenBoardPkg: Add QemuOpenBoardPkg
  QemuOpenBoardPkg: Enable stage 2
  QemuOpenBoardPkg: Enable stage 3
  QemuOpenBoardPkg: Enable stage 4

 .../QemuOpenBoardPkg/QemuOpenBoardPkg.dec     |  33 ++
 .../Include/Dsc/Stage1.dsc.inc                |  55 +++
 .../Include/Dsc/Stage2.dsc.inc                |  31 ++
 .../Include/Dsc/Stage3.dsc.inc                | 101 ++++++
 .../Include/Dsc/Stage4.dsc.inc                |  56 +++
 .../QemuOpenBoardPkg/QemuOpenBoardPkg.dsc     | 169 +++++++++
 .../QemuOpenBoardPkg/QemuOpenBoardPkg.fdf     | 328 ++++++++++++++++++
 .../BoardBootManagerLib.inf                   |  39 +++
 .../Library/BoardInitLib/BoardInitLib.inf     |  29 ++
 .../Library/PeiReportFvLib/PeiReportFvLib.inf |  63 ++++
 .../Library/PlatformSecLib/PlatformSecLib.inf |  49 +++
 .../QemuOpenFwCfgLib/QemuOpenFwCfgLib.inf     |  23 ++
 .../PlatformInitPei/PlatformInitPei.inf       |  59 ++++
 .../Include/Library/QemuOpenFwCfgLib.h        | 105 ++++++
 .../PlatformInitPei/PlatformInit.h            |  59 ++++
 .../BoardBootManagerLib/BoardBootManager.c    | 105 ++++++
 .../Library/BoardInitLib/BoardInitLib.c       | 231 ++++++++++++
 .../Library/PeiReportFvLib/PeiReportFvLib.c   | 285 +++++++++++++++
 .../Library/PlatformSecLib/PlatformSecLib.c   | 140 ++++++++
 .../QemuOpenFwCfgLib/QemuOpenFwCfgLib.c       | 136 ++++++++
 .../QemuOpenBoardPkg/PlatformInitPei/Cpu.c    |  64 ++++
 .../QemuOpenBoardPkg/PlatformInitPei/Memory.c | 254 ++++++++++++++
 .../QemuOpenBoardPkg/PlatformInitPei/Pci.c    |  70 ++++
 .../QemuOpenBoardPkg/PlatformInitPei/Pcie.c   | 106 ++++++
 .../PlatformInitPei/PlatformInit.c            |  75 ++++
 .../Include/Fdf/FlashMap.fdf.inc              |  94 +++++
 .../Library/PlatformSecLib/Ia32/SecEntry.nasm | 117 +++++++
 Platform/Qemu/QemuOpenBoardPkg/README.md      |  53 +++
 28 files changed, 2929 insertions(+)
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/QemuOpenBoardPkg.dec
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Dsc/Stage1.dsc.inc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Dsc/Stage2.dsc.inc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Dsc/Stage3.dsc.inc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Dsc/Stage4.dsc.inc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/QemuOpenBoardPkg.dsc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/QemuOpenBoardPkg.fdf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/BoardInitLib/BoardInitLib.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvLib.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/PlatformSecLib/PlatformSecLib.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/QemuOpenFwCfgLib/QemuOpenFwCfgLib.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/PlatformInitPei.inf
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Library/QemuOpenFwCfgLib.h
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/PlatformInit.h
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/BoardBootManagerLib/BoardBootManager.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/BoardInitLib/BoardInitLib.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvLib.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/PlatformSecLib/PlatformSecLib.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/QemuOpenFwCfgLib/QemuOpenFwCfgLib.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/Cpu.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/Memory.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/Pci.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/Pcie.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/PlatformInitPei/PlatformInit.c
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Include/Fdf/FlashMap.fdf.inc
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/Library/PlatformSecLib/Ia32/SecEntry.nasm
 create mode 100644 Platform/Qemu/QemuOpenBoardPkg/README.md

--
2.37.0 (Apple Git-136)



--
Pedro Falcato