<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/DynamicTablesPkg/Library/Common/AmlLib, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-23T12:23:44+00:00</updated>
<entry>
<title>DynamicTablesPkg/AmlLib: Fix root node cleanup leak</title>
<updated>2026-09-23T12:23:44+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-09-18T06:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5846c662d04ec86a5f3bd56f323dc1c7b779b74b'/>
<id>urn:sha1:5846c662d04ec86a5f3bd56f323dc1c7b779b74b</id>
<content type='text'>
AmlCreateRootNode() calls AmlDeleteRootNode() when SDT header
allocation fails. However, AmlDeleteRootNode() rejects a NULL header
and returns without freeing the root node, leaking the node allocation.

Allow AmlDeleteRootNode() to handle a NULL SDT header and always free
the root node.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AmlLib: Fix data node cleanup leak</title>
<updated>2026-09-23T12:23:44+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-09-18T06:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=aaa871e1ab6e3ba714165671ceb1f48a982b8850'/>
<id>urn:sha1:aaa871e1ab6e3ba714165671ceb1f48a982b8850</id>
<content type='text'>
AmlCreateDataNode() calls AmlDeleteDataNode() when buffer allocation
fails. However, AmlDeleteDataNode() rejects a NULL buffer and returns
without freeing the data node, leaking the node allocation.

Allow AmlDeleteDataNode() to handle a NULL buffer and always free the
data node.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AmlLib: Fix fixed argument bounds check</title>
<updated>2026-09-23T12:23:44+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-09-18T05:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=89c4bd09bb1860c8b7e8e95f8e8a15f9817348f4'/>
<id>urn:sha1:89c4bd09bb1860c8b7e8e95f8e8a15f9817348f4</id>
<content type='text'>
AmlSetFixedArgument() accepts an index equal to the fixed argument count.
The count is an exclusive upper bound, so this permits an out-of-bounds
write to the FixedArgs array.

Require the index to be strictly less than the fixed argument count.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AmlLib: Fix serialization buffer size handling</title>
<updated>2026-09-23T12:23:44+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-09-18T05:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4341569230f770736de7eafe70ec37ec491bd8e7'/>
<id>urn:sha1:4341569230f770736de7eafe70ec37ec491bd8e7</id>
<content type='text'>
AmlSerializeTree uses a reversed buffer size comparison. As a result, it
returns success without serializing when the buffer is larger than needed
and attempts serialization when the buffer is too small.

Return EFI_BUFFER_TOO_SMALL when Buffer is NULL or the supplied buffer is
too small, and always report the required size. Update
AmlSerializeDefinitionBlock to handle the expected size query status.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add AmlLib logical equality generator</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>Varshit Pandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-08-19T10:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f649845dc27f793b641795893e164417fd02b22f'/>
<id>urn:sha1:f649845dc27f793b641795893e164417fd02b22f</id>
<content type='text'>
Add AmlCodeGenEqual() to create an AML LEqual expression from two
supplied operands.

Use the existing AML_METHOD_PARAM representation for integer, method
argument, and local variable operands. The generated equality expression
can be used as a predicate by control-flow objects.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add AmlLib If code generator</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>Varshit Pandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-08-18T15:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6897bef74abef88afad39075c1dad37b196e8687'/>
<id>urn:sha1:6897bef74abef88afad39075c1dad37b196e8687</id>
<content type='text'>
Add AmlCodeGenIf() to create an AML If object from a supplied
predicate node.

The API takes ownership of the predicate and returns an If node to
which executable statements can subsequently be appended.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Validate fixed AML argument is detached</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>VarshitPandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-09-09T15:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d53193a9a12d282f2244ef8a6f5e53c8d1d4ad7d'/>
<id>urn:sha1:d53193a9a12d282f2244ef8a6f5e53c8d1d4ad7d</id>
<content type='text'>
AmlSetFixedArgument() attaches NewNode to an AML object but does not
currently verify that the node is detached. Passing an already attached
node could leave the AML tree in an inconsistent state.

Require non-NULL argument nodes to be detached before attaching them.
Continue accepting NULL because callers use it to clear a fixed
argument.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Correct AML package length calculation</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>VarshitPandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-08-27T08:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d9350b3219f3a7af03cd3ade4e2420ddf428bdab'/>
<id>urn:sha1:d9350b3219f3a7af03cd3ade4e2420ddf428bdab</id>
<content type='text'>
Use AmlComputePkgLength() when calculating the package lengths for
Device, ThermalZone, and Scope objects.

The package-length encoding width is included in the encoded length and
can itself increase when that width is added. AmlComputePkgLength()
handles this boundary condition correctly.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add AmlLib Store generator</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>Varshit Pandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-08-18T15:44:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c7909cba13534728a7bb832d56a83c11288beca6'/>
<id>urn:sha1:c7909cba13534728a7bb832d56a83c11288beca6</id>
<content type='text'>
Add AmlCodeGenStoreToName() to create an AML Store operation with a
typed source operand and a named target.

Support integer, method argument and local variable sources using the
AML_METHOD_PARAM representation. Append the generated Store node to an
optional parent object.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add AmlLib NamedField code generator</title>
<updated>2026-09-10T10:21:41+00:00</updated>
<author>
<name>Varshit Pandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-08-18T15:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9f68e7eff2bd9f050bb7c17eb0c75bd6aafc7737'/>
<id>urn:sha1:9f68e7eff2bd9f050bb7c17eb0c75bd6aafc7737</id>
<content type='text'>
Add AmlCodeGenFieldElemNamed() to create a named element within an AML
Field list.

The API validates the supplied NameSeg and field length, encodes the
length using the AML FieldPkgLen format, and appends the resulting
NamedField node to its parent Field object.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
</feed>
