summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorAaron Antone <aanton@microsoft.com>2019-04-08 11:03:26 +0800
committerLiming Gao <liming.gao@intel.com>2019-04-22 09:52:54 +0800
commite72920ec617ba1fceb114b3bb2a587a8e836734b (patch)
treef73e210794bde721094fa451ef240b74ded64d41 /BaseTools/Source/Python
parent452702d0bc51b608491a96b3634ded7a57727455 (diff)
downloadedk2-e72920ec617ba1fceb114b3bb2a587a8e836734b.tar.gz
edk2-e72920ec617ba1fceb114b3bb2a587a8e836734b.tar.bz2
edk2-e72920ec617ba1fceb114b3bb2a587a8e836734b.zip
MdePkg/UefiDebugLibStdErr: 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 gST. The function depend on those should be prevent. So disable the related function while after ExitBootServices. Change the gST 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 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions