diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-08 03:49:09 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-08 03:49:09 +0000 |
commit | 1439777e96797cbf92e9748bd9b8ed1316099e3d (patch) | |
tree | 9918491431ca8f45051d0cd53f3a69199b94f60b /MdeModulePkg/Core | |
parent | ed299e3c41904ce9094471cea348a6c387c1e5fc (diff) | |
download | edk2-platforms-1439777e96797cbf92e9748bd9b8ed1316099e3d.tar.xz |
1) Change DEBUG_ERROR TO DEBUG_LOAD as InstallProtocolInterface information is not an error.
2) Revert binary comparison for consistency.
3) Minor updates for comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5621 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Hand/Handle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg/Core/Dxe/Hand/Handle.c index 7f59ce9a9d..99c265996e 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Handle.c +++ b/MdeModulePkg/Core/Dxe/Hand/Handle.c @@ -364,13 +364,13 @@ CoreInstallProtocolInterfaceNotify ( //
// Print debug message
//
- DEBUG((DEBUG_ERROR | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface));
+ DEBUG((DEBUG_LOAD | DEBUG_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface));
Status = EFI_OUT_OF_RESOURCES;
Prot = NULL;
Handle = NULL;
- ASSERT (NULL != gDxeCoreBS);
+ ASSERT (gDxeCoreBS != NULL);
if (*UserHandle != NULL_HANDLE) {
Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface);
@@ -1356,7 +1356,7 @@ CoreOpenProtocolInformation ( Done:
//
- // Done. Release the database lock are return
+ // Done. Release the database lock.
//
CoreReleaseProtocolLock ();
return Status;
|