Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 95a7323e86126560e0a37b3801bc6c12a8428cda
      
https://github.com/tianocore/edk2/commit/95a7323e86126560e0a37b3801bc6c12a8428cda
  Author: Tuan Phan <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg/AmiLib: Make AmlCodeGenMethod public

There is currently no API available for generating AML methods without
a return value. This change exports the AmlCodeGenMethod API so it can
be used to create non-returning methods when required.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 4d92f22a5c398028ebcc0f52db298053fd161a99
      
https://github.com/tianocore/edk2/commit/4d92f22a5c398028ebcc0f52db298053fd161a99
  Author: Tuan Phan <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg/AmlLib: Add AmlCodeGenMethodRetBuffer API

Add support for generating AML methods that return a buffer through the
new AmlCodeGenMethodRetBuffer() API.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 82dd8ab1b374a907bff6a009d5f0efc510d53a98
      
https://github.com/tianocore/edk2/commit/82dd8ab1b374a907bff6a009d5f0efc510d53a98
  Author: Tuan Phan <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c

  Log Message:
  -----------
  DynamicTablesPkg/AmiLib: Fix stack corruption in AmlCodeGenRdInterrupt

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 <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/7c2ec06a93ef...82dd8ab1b374

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to