audk/MdeModulePkg/Core/PiSmmCore
Star Zeng c01f13d52a MdeModulePkg: Enhance the debug message for InstallProtocolInterface
Current code is using debug message like below for
InstallProtocolInterface.
InstallProtocolInterface: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX XXX

User could not know whether the installation is failed or not by the
debug message, for example, the code below does not initialize Handle
before calling InstallProtocolInterface, EFI_INVALID_PARAMETER will be
returned.
  EFI_HANDLE Handle;
  Status = gBS->InstallProtocolInterface (
                  &Handle,
                  &XXX,
                  EFI_NATIVE_INTERFACE,
                  XXX
                  );

This patch is to add additional debug message if the installation
is failed and specific debug message for the case that the input
handle is invalid.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-06-23 14:46:41 +08:00
..
Dependency.c MdeModulePkg/Core: Fix typos in comments 2016-10-27 09:11:17 +08:00
Dispatcher.c MdeModulePkg: Update PiSmmCore to set correct ImageAddress into LoadedImage 2017-04-25 09:48:22 +08:00
Handle.c MdeModulePkg: Enhance the debug message for InstallProtocolInterface 2017-06-23 14:46:41 +08:00
InstallConfigurationTable.c MdeModulePkg: Fix use-after-free error in InstallConfigurationTable() 2017-06-20 16:55:10 +08:00
Locate.c MdeModulePkg: Return invalid param in LocateProtocol for Protocol==NULL 2017-06-21 21:37:34 +08:00
MemoryAttributesTable.c MdeModulePkg/PiSmmCore: switch to MdePkg allocation granularity macros 2017-03-06 11:29:25 +01:00
Notify.c MdeModulePkg/SmmCore: SMM register protocol notify function clarify 2015-05-07 02:29:52 +00:00
Page.c MdeModulePkg/PiSmmCore: switch to MdePkg allocation granularity macros 2017-03-06 11:29:25 +01:00
PiSmmCore.c MdeModulePkg/PiSmmCore: Add SmiHandlerProfile support. 2017-02-22 15:28:18 +08:00
PiSmmCore.h MdeModulePkg PiSmmCore: Enhance SMM FreePool to catch buffer overflow 2017-04-20 14:10:04 +08:00
PiSmmCore.inf MdeModulePkg/PiSmmCore: Add SmiHandlerProfile support. 2017-02-22 15:28:18 +08:00
PiSmmCore.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmCoreExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmCorePrivateData.h MdeModulePkg PiSmmCore: Remove a hidden assumption of SMRAM reservation 2015-07-26 07:38:12 +00:00
PiSmmIpl.c MdeModulePkg PiSmmIpl: Fix the issue in LMFA feature 2017-04-25 09:48:18 +08:00
PiSmmIpl.inf MdeModulePkg/PiSmmIpl: Check order of EndOfDxe and DxeSmmReadyToLock 2016-05-30 09:41:02 +08:00
PiSmmIpl.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmIplExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Pool.c MdeModulePkg/PiSmmCore: Remove redundant PoolTail pointer assignment 2017-04-24 08:58:07 +08:00
Smi.c MdeModulePkg/PiSmmCore: Add SmiHandlerProfile support. 2017-02-22 15:28:18 +08:00
SmiHandlerProfile.c MdeModulePkg SmiHandlerProfile: Use fixed data type in data structure 2017-05-24 15:27:34 +08:00
SmramProfileRecord.c MdeModulePkg PiSmmCore: Remove unreferenced symbol for SMRAM profile 2017-03-15 16:47:10 +08:00