Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 4d3cf37ff05d532c5750f6387193c3f30f2c401b
https://github.com/tianocore/edk2/commit/4d3cf37ff05d532c5750f6387193c3f30f2c401b
Author: Phil Noh <[email protected]>
Date: 2024-11-22 (Fri, 22 Nov 2024)
Changed paths:
M MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf
Log Message:
-----------
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits