summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Library/PeiServicesTablePointerLib
diff options
context:
space:
mode:
authorPhil Noh <Phil.Noh@amd.com>2024-11-05 11:24:01 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-22 15:52:38 +0000
commit4d3cf37ff05d532c5750f6387193c3f30f2c401b (patch)
treefd0eb7dc59c8616de7c3880f64bde2562c33a1ab /EmulatorPkg/Library/PeiServicesTablePointerLib
parent0f3867fa6ef0553e26c42f7d71ff6bdb98429742 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
MdePkg/SmmPciExpressLib: Ensure gBS variable for the constructorHEADmaster
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>
Diffstat (limited to 'EmulatorPkg/Library/PeiServicesTablePointerLib')
0 files changed, 0 insertions, 0 deletions