Skip to content

DynamicTablesPkg/AmlLib: Support generating method that return a buffer or no return value#12877

Open
tphan-qualcomm wants to merge 2 commits into
tianocore:masterfrom
tphan-qualcomm:tuanphan/amilib
Open

DynamicTablesPkg/AmlLib: Support generating method that return a buffer or no return value#12877
tphan-qualcomm wants to merge 2 commits into
tianocore:masterfrom
tphan-qualcomm:tuanphan/amilib

Conversation

@tphan-qualcomm

Copy link
Copy Markdown
Contributor

Description

In order to support generating _SRS and _MAT methods, two new APIs were added: AmlCodeGenMethod and AmlCodeGenMethodRetBuffer.

  • Breaking change?
  • Impacts security?
  • Includes tests?

How This Was Tested

Tested that _SRS and _MAT methods created correctly.

Integration Instructions

N/A

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 <tuan.phan@oss.qualcomm.com>
Add support for generating AML methods that return a buffer through the
new AmlCodeGenMethodRetBuffer() API.

Signed-off-by: Tuan Phan <tuan.phan@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant