<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c, 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-07-31T12:56:11+00:00</updated>
<entry>
<title>DynamicTablesPkg/AmiLib: Fix stack corruption in AmlCodeGenRdInterrupt</title>
<updated>2026-07-31T12:56:11+00:00</updated>
<author>
<name>Tuan Phan</name>
<email>tuan.phan@oss.qualcomm.com</email>
</author>
<published>2026-07-24T04:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=82dd8ab1b374a907bff6a009d5f0efc510d53a98'/>
<id>urn:sha1:82dd8ab1b374a907bff6a009d5f0efc510d53a98</id>
<content type='text'>
In AmlCodeGenRdInterrupt(), the IRQ list was copied directly into an
EFI_ACPI_EXTENDED_INTERRUPT_DESCRIPTOR structure allocated on the stack.
Since the structure only contains storage for the first interrupt entry,
copying multiple IRQs would write beyond the allocated buffer and corrupt
the stack.

Fix this issue by allocating the descriptor dynamically with sufficient
space to accommodate the entire IRQ list. This ensures all interrupt entries
are copied safely without overwriting adjacent stack memory.

Signed-off-by: Tuan Phan &lt;tuan.phan@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Move CheckAddressSpaceFields() to AmlUtility.c</title>
<updated>2026-07-10T23:45:20+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-07-08T14:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=10aef94c8b963099ece9c1a8dea5dfd1ea095730'/>
<id>urn:sha1:10aef94c8b963099ece9c1a8dea5dfd1ea095730</id>
<content type='text'>
Move the CheckAddressSpaceFields() function to AmlUtility.c
to allow other files to re-use it.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AmlLib: Remove invalid ASSERT for IRQ macro generation</title>
<updated>2025-12-11T10:37:26+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2025-12-07T06:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=14aa197f71cc7bc7bb7ecd8184dfb062fd581d03'/>
<id>urn:sha1:14aa197f71cc7bc7bb7ecd8184dfb062fd581d03</id>
<content type='text'>
The ACPI specification does not require legacy IRQs (x86) to be
ActiveLow when EdgeTriggered or vice-versa.

Hence the ASSERT checking for ActiveLow when EdgeTriggered is
removed for IRQ macro generation non-ARM architecture.

The IRQNoFlags macro defaults to EdgeTrigger and ActiveHigh
configuration, demonstrating that this combination is valid.

Reference: ACPI Specification 6.5
- Section 19.6.66: IRQ (Interrupt Resource Descriptor Macro)
- Section 19.6.67: IRQNoFlags (Interrupt Resource Descriptor Macro)

Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Adds AML code generation for serial UART RD</title>
<updated>2025-07-21T13:50:05+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2025-06-24T10:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7d8760875a7f16312f88cf80821b25387c764a4e'/>
<id>urn:sha1:7d8760875a7f16312f88cf80821b25387c764a4e</id>
<content type='text'>
Adds AML code generation for Serial UART resource descriptor.
This commit introduces helper functions to generate
AML resource data for serial UART resource descriptor.

Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Adds AML code generation for IRQ</title>
<updated>2025-07-21T13:50:05+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2025-06-24T07:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d1f84858228caeeff926b70e43d389eff34363c2'/>
<id>urn:sha1:d1f84858228caeeff926b70e43d389eff34363c2</id>
<content type='text'>
Adds AML code generation for IRQ resource descriptor.
This commit introduces helper functions to generate
AML resource data for IRQ resource descriptors.

Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Drop the unnecessary comparision of UINT8 max value</title>
<updated>2024-10-24T10:37:22+00:00</updated>
<author>
<name>Sudeep Holla</name>
<email>sudeep.holla@arm.com</email>
</author>
<published>2024-10-23T12:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8af71632d6552e637a2ce29c579c70ccc562ba7b'/>
<id>urn:sha1:8af71632d6552e637a2ce29c579c70ccc562ba7b</id>
<content type='text'>
Clang build breaks with the following error:

  | DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c:1441:20:
  |      error: result of comparison of constant 256 with expression of type 'UINT8'
  |      (aka 'unsigned char') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
  |      1441 |        (AccessSize &gt; 256)) ||
  |           |         ~~~~~~~~~~ ^ ~~~
  |    1 error generated.

AccessSize is UINT8 and the maximum value for UINT8 is 255, so the
comparision is unnecessary. Drop the check to fix the build.

Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: AML code generation for IO resouce descriptor.</title>
<updated>2024-08-30T01:46:19+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2024-08-07T10:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6a7be5a8418ab6397375e32e399e9523db9d4293'/>
<id>urn:sha1:6a7be5a8418ab6397375e32e399e9523db9d4293</id>
<content type='text'>
Add helper functions to generate AML resource data
for I/O resource descriptor.

Cc: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Corrects AmlCodeGenRdWordBusNumber parameters</title>
<updated>2023-12-22T08:48:25+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2023-11-29T10:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f8c918c46f9565b67c01739bb92c0819b9d795a0'/>
<id>urn:sha1:f8c918c46f9565b67c01739bb92c0819b9d795a0</id>
<content type='text'>
Corrects the parameters of AmlCodeGenRdWordBusNumber() to
UINT16 to generate word bus number.

Cc: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: AML Code generation for word I/O ranges</title>
<updated>2023-12-22T08:48:25+00:00</updated>
<author>
<name>Abdul Lateef Attar</name>
<email>AbdulLateef.Attar@amd.com</email>
</author>
<published>2023-11-29T09:46:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ea65643547098b9ee70733b221f775e6d3aa8e11'/>
<id>urn:sha1:ea65643547098b9ee70733b221f775e6d3aa8e11</id>
<content type='text'>
Add helper functions to generate AML resource data
for word I/O.

Cc: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Signed-off-by: Abdul Lateef Attar &lt;AbdulLateef.Attar@amd.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AmlLib: Enumerate memory attributes</title>
<updated>2023-10-23T18:38:59+00:00</updated>
<author>
<name>Jeshua Smith</name>
<email>jeshuas@nvidia.com</email>
</author>
<published>2023-10-05T16:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=309450db268c8721afa102c7c49adccd153b0e88'/>
<id>urn:sha1:309450db268c8721afa102c7c49adccd153b0e88</id>
<content type='text'>
AmlCodeGenRdQWordMemory's and AmlCodeGenRdDWordMemory's Cacheable
and MemoryRangeType parameters treat specific values as having
specific meanings as defined by the spec. This change adds enums to map
those meanings to their corresponding values.

Signed-off-by: Jeshua Smith &lt;jeshuas@nvidia.com&gt;
Acked-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
</feed>
