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
This commit is contained in:
qwang12 2008-08-08 03:49:09 +00:00
parent ed299e3c41
commit 1439777e96
1 changed files with 3 additions and 3 deletions

View File

@ -364,13 +364,13 @@ CoreInstallProtocolInterfaceNotify (
// //
// Print debug message // 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; Status = EFI_OUT_OF_RESOURCES;
Prot = NULL; Prot = NULL;
Handle = NULL; Handle = NULL;
ASSERT (NULL != gDxeCoreBS); ASSERT (gDxeCoreBS != NULL);
if (*UserHandle != NULL_HANDLE) { if (*UserHandle != NULL_HANDLE) {
Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface); Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface);
@ -1356,7 +1356,7 @@ CoreOpenProtocolInformation (
Done: Done:
// //
// Done. Release the database lock are return // Done. Release the database lock.
// //
CoreReleaseProtocolLock (); CoreReleaseProtocolLock ();
return Status; return Status;