audk/MdePkg/Library/UefiDebugLibDebugPortProtocol
Aaron Antone 2b5778c68b 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>
2019-04-22 09:52:54 +08:00
..
DebugLib.c MdePkg/UefiDebugLibDebugPortProtocol: Make it runtime safe 2019-04-22 09:52:54 +08:00
DebugLibConstructor.c MdePkg/UefiDebugLibDebugPortProtocol: Make it runtime safe 2019-04-22 09:52:54 +08:00
UefiDebugLibDebugPortProtocol.inf MdePkg/UefiDebugLibDebugPortProtocol: Make it runtime safe 2019-04-22 09:52:54 +08:00
UefiDebugLibDebugPortProtocol.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00