51e0599536
EmbeddedPkg/AcpiLib: Fix code formatting errors
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4046
This package did not have CI enabled so code changes were merged
that fail uncrustify formatting. This change updates those files
to include uncustify formatting.
Cc: Leif Lindholm <quic_llindhol@quicinc.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Daniel Schaefer <git@danielschaefer.me >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
2022-10-03 18:22:03 +00:00
c63a10ecb7
EmbeddedPkg/AcpiLib: Add more helper functions
...
This adds more helper functions that assist in calculating the checksum,
locating an ACPI table by signature, and updating an AML integer object.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Daniel Schaefer <daniel.schaefer@hpe.com >
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com >
Acked-by: Leif Lindholm <leif@nuviainc.com >
Reviewed-by: Abner Chang <abner.chang@hpe.com >
2021-12-17 15:53:06 +00:00
e7108d0e96
EmbeddedPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the EmbeddedPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Andrew Fish <afish@apple.com >
2021-12-07 17:24:28 +00:00
a1878955b2
EmbeddedPkg: Change use of EFI_D_* to DEBUG_*
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739
Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Ard Biesheuvel <ardb@kernel.org >
2021-12-07 17:24:28 +00:00
878b807a43
EmbeddedPkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
2019-04-09 10:57:58 -07:00
da7dd714aa
EmbeddedPkg/AcpiLib: Introduced LocateAndInstallAcpiFromFvConditional()
...
This new helper function allows to install ACPI Table on condition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com >
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17540 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-29 14:39:41 +00:00
3356211b9c
EmbeddedPkg: Introduced AcpiLib
...
AcpiLib is a library to help working with ACPI Tables.
In this initial implementation, the library provides:
- a helper function to locate and install the ACPI Tables within
a Firmware Volume
- Some helper macros to initialize some ACPI structures
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com >
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16650 6f19259b-4bc3-4df7-8a09-765794883524
2015-01-23 15:59:27 +00:00