summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c
diff options
context:
space:
mode:
authorJeshua Smith <jeshuas@nvidia.com>2023-10-06 16:28:07 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-10-23 17:05:02 +0000
commitec7f73436646a9232c6494d1ce23fb38000e10d3 (patch)
tree2a01f35d7e4b2012b665aa38906857f156247e06 /DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c
parent575bd4f55c0aea6096579a649a018cfd183546fc (diff)
downloadedk2-ec7f73436646a9232c6494d1ce23fb38000e10d3.tar.gz
edk2-ec7f73436646a9232c6494d1ce23fb38000e10d3.tar.bz2
edk2-ec7f73436646a9232c6494d1ce23fb38000e10d3.zip
DynamicTablesPkg/TableHelperLib: Enhance error handling
This patch enhances error handling and reporting in the CM ObjectParser. Specifically: 1. ObjectIDs used as array indexes are checked for being out of bounds, and if so an error message is printed before the assert. 2. An error message is printed for unsupported NameSpaceIDs. 3. Adds support for unimplemented parsers by allowing IDs to list a NULL parser, resulting in an unimplemented message being printed. Signed-off-by: Jeshua Smith <jeshuas@nvidia.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c')
0 files changed, 0 insertions, 0 deletions