audk/MdePkg/Library/SmmPciExpressLib
Phil Noh 4d3cf37ff0 MdePkg/SmmPciExpressLib: Ensure gBS variable for the constructor
The PCD token, PcdPciExpressBaseAddress is referred in the constructor.
If the token is defined as PcdsDynamic type, the PCD function that gets
the token value uses the gBS service to locate PCD protocol internally.
In this case, it is possible for the function to be called before
initializing gBS variable, then cause a system hang due to gBS variable.
Need to ensure the availability of gBS variable.

Signed-off-by: Phil Noh <Phil.Noh@amd.com>
2024-11-22 15:52:38 +00:00
..
PciExpressLib.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmPciExpressLib.inf MdePkg/SmmPciExpressLib: Ensure gBS variable for the constructor 2024-11-22 15:52:38 +00:00