summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2020-08-05 16:19:26 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-13 18:00:06 +0000
commit095db69d4c156eb4f81307d471339a60ca0a9a09 (patch)
treef38b6734fd80c8dfa362352e0ca5e1ddb239edf7 /DynamicTablesPkg/DynamicTablesPkg.ci.yaml
parentc85ac5245c0c47836fb9b599caff0b949066a412 (diff)
downloadedk2-095db69d4c156eb4f81307d471339a60ca0a9a09.zip
edk2-095db69d4c156eb4f81307d471339a60ca0a9a09.tar.gz
edk2-095db69d4c156eb4f81307d471339a60ca0a9a09.tar.bz2
DynamicTablesPkg: Dynamic AML: Add AmlLib library
ACPI Definition blocks are implemented using AML which has a complex grammar making run-time generation of definition blocks difficult. Dynamic AML is a feature of Dynamic Tables framework that provides a solution for dynamic generation of ACPI Definition block tables. Since, AML bytecode represents complex AML grammar, an AmlLib library is introduced to assist parsing and traversing of the AML bytecode at run-time. The AmlLib library parses a definition block and represents it as an AML tree. The AML objects, methods and data are represented as tree nodes. Since the AML data is represented as tree nodes, it is possible to traverse the tree, locate a node and modify the node data. The tree can then be serialized to a buffer (that represents the definition block). This definition block containing the fixed-up AML code can then be installed as an ACPI Definition Block table. Dynamic AML introduces the following techniques: * AML Fixup * AML Codegen * AML Fixup + Codegen AML Fixup is a technique that involves compiling an ASL template file to generate AML bytecode. This template AML bytecode can be parsed at run-time and a fixup code can update the required fields in the AML template. AML Codegen employs generating small segments of AML code. AmlLib provides a rich set of APIs to operate on AML data for AML Fixup and Codegen. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'DynamicTablesPkg/DynamicTablesPkg.ci.yaml')
-rw-r--r--DynamicTablesPkg/DynamicTablesPkg.ci.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
index f39b801..5ee2035 100644
--- a/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
+++ b/DynamicTablesPkg/DynamicTablesPkg.ci.yaml
@@ -1,7 +1,7 @@
## @file
# CI configuration for DynamicTablesPkg
#
-# Copyright (c) 2020, ARM Limited. All rights reserved.<BR>
+# Copyright (c) 2020, Arm Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
@@ -69,11 +69,15 @@
"IgnoreFiles": [], # use gitignore syntax to ignore errors
# in matching files
"ExtendWords": [
+ "EISAID",
"CCIDX",
"CCSIDR",
"countof",
"EOBJECT",
+ "invoc",
"GTBLOCK",
+ "lgreater",
+ "lless",
"MPIDR",
"pytool",
"Roadmap",