public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: evan.lloyd@arm.com
To: edk2-devel@lists.01.org
Cc: "ard.biesheuvel@linaro.org"@arm.com,
	"leif.lindholm@linaro.org"@arm.com,
	"Matteo.Carlini@arm.com"@arm.com, "nd@arm.com"@arm.com,
	"Arvind.Chauhan@arm.com"@arm.com,
	"Daniil.Egranov@arm.com"@arm.com,
	"thomas.abraham@arm.com"@arm.com,
	"Stephanie.Hughes-Fitt@arm.com"@arm.com
Subject: [PATCH 0/2] Dynamic Tables
Date: Mon,  2 Oct 2017 20:47:51 +0100	[thread overview]
Message-ID: <20171002194753.4316-1-evan.lloyd@arm.com> (raw)

From: EvanLloyd <evan.lloyd@arm.com>

Historically, ACPI code, SMBIOS tables, and UEFI firmware were
often developed in isolation from each other.  This introduced
several problems, not least of which was duplication of platform
information between the various source trees.
In addition, variants of platforms introduced a plethora of
alternative builds of ACPI, SMBIOS and EDK2, with the concomitant
risk of getting the mixture wrong in a build.

In the effort to resolve these problems, the solution prototyped
here was devised.  The basic idea is to obtain the "variant"
information from a management node.  That means the firmware image
can be platform independent, with ACPI, SMBIOS (and potentially
other) tables generated with information from the management
node.  This example has the framework for that, but the
configuration information is supplied directly, as an interim solution
until a suitable management node implementation exists yet.


Sami Mujawar (1):
  MdeModulePkg: Dynamic Tables Framework

 MdeModulePkg/MdeModulePkg.dec                                                                       |  13 +
 MdeModulePkg/Universal/DynamicTables/DynamicTables.dsc.inc                                          |  45 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf                       |  49 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/AcpiFadtLibArm.inf                       |  47 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdtLibArm.inf                       |  46 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/AcpiMadtLibArm.inf                       |  47 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/AcpiMcfgLibArm.inf                       |  47 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/AcpiRawLibArm.inf                         |  44 ++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcrLibArm.inf                       |  44 ++
 MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelperLib.inf                         |  39 ++
 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactoryDxe.inf              |  57 ++
 MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/DynamicTableManagerDxe.inf              |  47 ++
 MdeModulePkg/Include/DynamicTables/AcpiTableGenerator.h                                             | 280 ++++++++
 MdeModulePkg/Include/DynamicTables/ArmNameSpaceObjects.h                                            | 367 ++++++++++
 MdeModulePkg/Include/DynamicTables/ConfigurationManagerHelper.h                                     | 112 +++
 MdeModulePkg/Include/DynamicTables/ConfigurationManagerObject.h                                     | 158 +++++
 MdeModulePkg/Include/DynamicTables/SmbiosTableGenerator.h                                           | 235 +++++++
 MdeModulePkg/Include/DynamicTables/StandardNameSpaceObjects.h                                       |  93 +++
 MdeModulePkg/Include/DynamicTables/TableGenerator.h                                                 | 235 +++++++
 MdeModulePkg/Include/Library/TableHelperLib.h                                                       |  67 ++
 MdeModulePkg/Include/Protocol/ConfigurationManagerProtocol.h                                        | 121 ++++
 MdeModulePkg/Include/Protocol/DynamicTableFactoryProtocol.h                                         | 113 +++
 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactory.h                   |  91 +++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c                          | 440 ++++++++++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/FadtGenerator.c                          | 562 +++++++++++++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c                          | 652 +++++++++++++++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c                          | 732 ++++++++++++++++++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/McfgGenerator.c                          | 336 +++++++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/RawGenerator.c                            | 177 +++++
 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c                          | 323 +++++++++
 MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelper.c                              | 165 +++++
 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/AcpiTableFactory/AcpiTableFactory.c     | 227 ++++++
 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactoryDxe.c                |  84 +++
 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c | 227 ++++++
 MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/DynamicTableManagerDxe.c                | 531 ++++++++++++++
 MdeModulePkg/Universal/DynamicTables/DynamicTables.fdf.inc                                          |  35 +
 36 files changed, 6888 insertions(+)
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTables.dsc.inc
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/AcpiFadtLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdtLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/AcpiMadtLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/AcpiMcfgLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/AcpiRawLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcrLibArm.inf
 create mode 100644 MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelperLib.inf
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactoryDxe.inf
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/DynamicTableManagerDxe.inf
 create mode 100644 MdeModulePkg/Include/DynamicTables/AcpiTableGenerator.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/ArmNameSpaceObjects.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/ConfigurationManagerHelper.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/ConfigurationManagerObject.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/SmbiosTableGenerator.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/StandardNameSpaceObjects.h
 create mode 100644 MdeModulePkg/Include/DynamicTables/TableGenerator.h
 create mode 100644 MdeModulePkg/Include/Library/TableHelperLib.h
 create mode 100644 MdeModulePkg/Include/Protocol/ConfigurationManagerProtocol.h
 create mode 100644 MdeModulePkg/Include/Protocol/DynamicTableFactoryProtocol.h
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactory.h
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/FadtGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/McfgGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/RawGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c
 create mode 100644 MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelper.c
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/AcpiTableFactory/AcpiTableFactory.c
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/DynamicTableFactoryDxe.c
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/SmbiosTableFactory/SmbiosTableFactory.c
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/DynamicTableManagerDxe.c
 create mode 100644 MdeModulePkg/Universal/DynamicTables/DynamicTables.fdf.inc

-- 
Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")



             reply	other threads:[~2017-10-02 19:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 19:47 evan.lloyd [this message]
2017-10-02 19:47 ` [PATCH 1/2] MdeModulePkg: Dynamic Tables Framework evan.lloyd
2017-10-03 14:34   ` Zeng, Star
2017-10-03 16:03     ` Leif Lindholm
2017-10-03 18:44       ` Sean Brogan
2017-10-03 17:03     ` Evan Lloyd
2017-10-02 19:47 ` [PATCH 2/2] [edk2-platforms] Platform/ARM: Dynamic Tables support for FVP evan.lloyd
2017-10-03 17:12 ` [PATCH 0/2] Dynamic Tables Evan Lloyd
2017-10-10  2:29 ` Yao, Jiewen
2017-10-10 18:52   ` Evan Lloyd
2017-10-10 19:57     ` Laszlo Ersek
2017-10-11  1:25     ` Yao, Jiewen
2017-10-12 15:43     ` Leif Lindholm
2017-10-12 15:46       ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171002194753.4316-1-evan.lloyd@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox