From: Evan Lloyd <Evan.Lloyd@arm.com>
To: Evan Lloyd <Evan.Lloyd@arm.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "\"Matteo.Carlini@arm.com\"@arm.com"
<"Matteo.Carlini@arm.com"@arm.com>,
"\"nd@arm.com\"@arm.com" <"nd@arm.com"@arm.com>,
"\"ard.biesheuvel@linaro.org\"@arm.com"
<"ard.biesheuvel@linaro.org"@arm.com>,
"\"thomas.abraham@arm.com\"@arm.com"
<"thomas.abraham@arm.com"@arm.com>,
"\"Arvind.Chauhan@arm.com\"@arm.com"
<"Arvind.Chauhan@arm.com"@arm.com>,
"\"leif.lindholm@linaro.org\"@arm.com"
<"leif.lindholm@linaro.org"@arm.com>,
"\"Daniil.Egranov@arm.com\"@arm.com"
<"Daniil.Egranov@arm.com"@arm.com>
Subject: Re: [PATCH 0/2] Dynamic Tables
Date: Tue, 3 Oct 2017 17:12:22 +0000 [thread overview]
Message-ID: <AM4PR0801MB144415B5C9EA1A159BB7B68F8B720@AM4PR0801MB1444.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20171002194753.4316-1-evan.lloyd@arm.com>
I omitted some info here.
The code can be examined at:
https://github.com/EvanLloyd/tianocore/tree/139_dynamic_tables_v1
and
https://github.com/EvanLloyd/edk2-platforms/tree/139_dynamic_tables_v1
Evan
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> evan.lloyd@arm.com
> Sent: 02 October 2017 20:48
> To: edk2-devel@lists.01.org
> Cc: "Matteo.Carlini@arm.com"@arm.com; "nd@arm.com"@arm.com;
> "ard.biesheuvel@linaro.org"@arm.com; "Stephanie.Hughes-
> Fitt@arm.com"@arm.com; "thomas.abraham@arm.com"@arm.com;
> "Arvind.Chauhan@arm.com"@arm.com;
> "leif.lindholm@linaro.org"@arm.com;
> "Daniil.Egranov@arm.com"@arm.com
> Subject: [edk2] [PATCH 0/2] Dynamic Tables
>
> 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.
[[Evan Lloyd]] Oops, sorry about the superfluous 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/AcpiDbg
> 2LibArm.inf | 49 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/AcpiFadt
> LibArm.inf | 47 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdt
> LibArm.inf | 46 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/AcpiMa
> dtLibArm.inf | 47 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/AcpiMcf
> gLibArm.inf | 47 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/AcpiRaw
> LibArm.inf | 44 ++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcr
> LibArm.inf | 44 ++
>
> MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelp
> erLib.inf | 39 ++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Dynami
> cTableFactoryDxe.inf | 57 ++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/Dyna
> micTableManagerDxe.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/Dynami
> cTableFactory.h | 91 +++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/Dbg2Ge
> nerator.c | 440 ++++++++++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/FadtGen
> erator.c | 562 +++++++++++++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/GtdtGen
> erator.c | 652 +++++++++++++++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/MadtGe
> nerator.c | 732 ++++++++++++++++++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/McfgGe
> nerator.c | 336 +++++++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/RawGen
> erator.c | 177 +++++
>
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/SpcrGen
> erator.c | 323 +++++++++
>
> MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelp
> er.c | 165 +++++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/AcpiTa
> bleFactory/AcpiTableFactory.c | 227 ++++++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Dynami
> cTableFactoryDxe.c | 84 +++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Smbios
> TableFactory/SmbiosTableFactory.c | 227 ++++++
>
> MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/Dyna
> micTableManagerDxe.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/AcpiDbg
> 2LibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/AcpiFadt
> LibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdt
> LibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/AcpiMa
> dtLibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/AcpiMcf
> gLibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/AcpiRaw
> LibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcr
> LibArm.inf
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelp
> erLib.inf
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Dynami
> cTableFactoryDxe.inf
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/Dyna
> micTableManagerDxe.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/Dynami
> cTableFactory.h
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiDbg2LibArm/Dbg2Ge
> nerator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiFadtLibArm/FadtGen
> erator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiGtdtLibArm/GtdtGen
> erator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMadtLibArm/MadtGe
> nerator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiMcfgLibArm/McfgGe
> nerator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiRawLibArm/RawGen
> erator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Acpi/Arm/AcpiSpcrLibArm/SpcrGen
> erator.c
> create mode 100644
> MdeModulePkg/Library/DynamicTables/Common/TableHelperLib/TableHelp
> er.c
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/AcpiTa
> bleFactory/AcpiTableFactory.c
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Dynami
> cTableFactoryDxe.c
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableFactoryDxe/Smbios
> TableFactory/SmbiosTableFactory.c
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTableManagerDxe/Dyna
> micTableManagerDxe.c
> create mode 100644
> MdeModulePkg/Universal/DynamicTables/DynamicTables.fdf.inc
>
> --
> Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
next prev parent reply other threads:[~2017-10-03 17:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 19:47 [PATCH 0/2] Dynamic Tables evan.lloyd
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 ` Evan Lloyd [this message]
2017-10-10 2:29 ` [PATCH 0/2] Dynamic Tables 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=AM4PR0801MB144415B5C9EA1A159BB7B68F8B720@AM4PR0801MB1444.eurprd08.prod.outlook.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