summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiLib
diff options
context:
space:
mode:
authorAaron Antone <aanton@microsoft.com>2019-04-08 10:48:00 +0800
committerLiming Gao <liming.gao@intel.com>2019-04-22 09:52:54 +0800
commit2b5778c68b631789ffcf96535001ad36643b0d66 (patch)
tree2055172fbec3187487222e84b0c0c9e8281f7891 /MdePkg/Library/UefiLib
parentc0b2816d69a27db903ce2eaf1f48fb4719b26bd9 (diff)
downloadedk2-2b5778c68b631789ffcf96535001ad36643b0d66.tar.gz
edk2-2b5778c68b631789ffcf96535001ad36643b0d66.tar.bz2
edk2-2b5778c68b631789ffcf96535001ad36643b0d66.zip
MdePkg/UefiDebugLibDebugPortProtocol: Make it runtime safe
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1416 After ExitBootServices, some pointer would be invalid such as the Protocol pointer and gBS. The function depend on those should be prevent. So disable the related function while after ExitBootServices. Change the gBS to a internal one, because there will be a cycle consume between UefiBootServicesTableLib and DebugLib due to the library constructors. Also remove the SMM support for this instance. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library/UefiLib')
0 files changed, 0 insertions, 0 deletions