summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorDjordje Nedic <djordje.nedic@nextsilicon.com>2026-10-02 15:48:17 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-07 12:36:02 +0300
commit41540f4f6298c1fbe1488f11c1e58edc1d455ef3 (patch)
tree351695bc5a18e0e880d4087b7e7ba7d977b60913 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent11944c2159165d4ff8c7371bec7a15efca5327d2 (diff)
downloadedk2-41540f4f6298c1fbe1488f11c1e58edc1d455ef3.tar.xz
DynamicTablesPkg/RiscV: Handle an empty APLIC list in the SSDT
The SSDT generator selects PLIC information whenever AplicCount is zero, but only fetches that information on EFI_NOT_FOUND. If the Configuration Manager returns an empty APLIC list successfully, the generator instead reads uninitialized PlicCount and PlicInfo values. Fetch PLIC information whenever the APLIC count is zero. The object getter also sets the count to zero on EFI_NOT_FOUND, preserving that fallback. Initialize PlicInfo as well so GCC does not warn about the conditionally assigned pointer in the later device-generation loop. Signed-off-by: Djordje Nedic <djordje.nedic@nextsilicon.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions