Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: b68ccf90e79fc3d2d59d17b07477caf93356d262
https://github.com/tianocore/edk2/commit/b68ccf90e79fc3d2d59d17b07477caf93356d262
Author: Abdul Lateef Attar <[email protected]>
Date: 2026-05-25 (Mon, 25 May 2026)
Changed paths:
M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c
Log Message:
-----------
DynamicTablesPkg/AmlLib: Add AmlMethodParamTypeBuffer support
Extend AML_METHOD_PARAM_TYPE enum with AmlMethodParamTypeBuffer (= 4)
to allow callers to pass a raw byte Buffer as an AML method argument.
Add a Buffer case to the switch in AmlCodeGenInvokeMethod() that
delegates to the existing AmlCodeGenBuffer() helper, with NULL-pointer
and zero-length guards matching the pattern of the other cases.
AmlCodeGenReturnInvokeMethod() already delegates to AmlCodeGenInvokeMethod()
so it picks up the new case automatically.
Update AML_METHOD_PARAM documentation: clarify that DataSize carries the
byte count when Type is AmlMethodParamTypeBuffer, and update the
union/struct field comments accordingly.
Cc: Pierre Gondois <[email protected]>
Cc: Sami Mujawar <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>
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