summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/Misc.py
diff options
context:
space:
mode:
authorAaron Antone <aanton@microsoft.com>2019-04-08 06:00:28 +0300
committerLiming Gao <liming.gao@intel.com>2019-04-22 04:52:54 +0300
commit452702d0bc51b608491a96b3634ded7a57727455 (patch)
treed86722b9ec0ee8cb4828c6011f83c10b742affdb /BaseTools/Source/Python/Common/Misc.py
parent2b5778c68b631789ffcf96535001ad36643b0d66 (diff)
downloadedk2-452702d0bc51b608491a96b3634ded7a57727455.tar.xz
MdePkg/UefidebugLibConOut: 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/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions