public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel][edk2-platforms][PATCH V3 0/4] QemuOpenBoardPkg: Add QemuOpenBoardPkg
@ 2022-09-13 21:31 Théo Jehl
  2022-09-13 21:31 ` [edk2-devel][edk2-platforms][PATCH V3 1/4] " Théo Jehl
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Théo Jehl @ 2022-09-13 21:31 UTC (permalink / raw)
  To: devel
  Cc: Leif Lindholm, Michael D Kinney, Isaac Oram, Pedro Falcato,
	Gerd Hoffmann, Stefan Hajnoczi

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)


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

end of thread, other threads:[~2022-09-15 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13 21:31 [edk2-devel][edk2-platforms][PATCH V3 0/4] QemuOpenBoardPkg: Add QemuOpenBoardPkg Théo Jehl
2022-09-13 21:31 ` [edk2-devel][edk2-platforms][PATCH V3 1/4] " Théo Jehl
2022-09-13 21:31 ` [edk2-devel][edk2-platforms][PATCH V3 2/4] QemuOpenBoardPkg: Enable stage 2 Théo Jehl
2022-09-13 21:31 ` [edk2-devel][edk2-platforms][PATCH V3 3/4] QemuOpenBoardPkg: Enable stage 3 Théo Jehl
2022-09-13 21:31 ` [edk2-devel][edk2-platforms][PATCH V3 4/4] QemuOpenBoardPkg: Enable stage 4 Théo Jehl
2022-09-13 21:45 ` [edk2-devel][edk2-platforms][PATCH V3 0/4] QemuOpenBoardPkg: Add QemuOpenBoardPkg Isaac Oram
2022-09-13 21:51   ` Michael D Kinney
2022-09-14 20:14     ` Isaac Oram
2022-09-15 10:16       ` Leif Lindholm
2022-09-15 15:53         ` Isaac Oram
2022-09-13 21:53 ` Pedro Falcato

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