diff options
| author | Djordje Nedic <djordje.nedic@nextsilicon.com> | 2026-10-02 15:48:17 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-07 12:36:02 +0300 |
| commit | 41540f4f6298c1fbe1488f11c1e58edc1d455ef3 (patch) | |
| tree | 351695bc5a18e0e880d4087b7e7ba7d977b60913 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | 11944c2159165d4ff8c7371bec7a15efca5327d2 (diff) | |
| download | edk2-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
