X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FCore%2FDxe%2FHand%2Fhandle.c;h=dd0801a96f85658fdc8649f264ff331f5d9fd530;hp=2edfdeb78b8ab8d2828d66e7f34ba763b436fb71;hb=abb234751e4fbe58afc5e7c7e203db2a93aac0f8;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4 diff --git a/EdkModulePkg/Core/Dxe/Hand/handle.c b/EdkModulePkg/Core/Dxe/Hand/handle.c index 2edfdeb78b..dd0801a96f 100644 --- a/EdkModulePkg/Core/Dxe/Hand/handle.c +++ b/EdkModulePkg/Core/Dxe/Hand/handle.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -449,13 +449,13 @@ Returns: // // Print debug message // - DEBUG((EFI_D_ERROR | EFI_D_INFO, "InstallProtocolInterface: %g %x\n", Protocol, Interface)); + DEBUG((EFI_D_ERROR | EFI_D_INFO, "InstallProtocolInterface: %g %p\n", Protocol, Interface)); Status = EFI_OUT_OF_RESOURCES; Prot = NULL; Handle = NULL; - ASSERT (NULL != gBS); + ASSERT (NULL != gDxeCoreBS); if (*UserHandle != NULL_HANDLE) { Status = CoreHandleProtocol (*UserHandle, Protocol, (VOID **)&ExistingInterface); @@ -978,6 +978,7 @@ Returns: return Status; } +STATIC PROTOCOL_INTERFACE * CoreGetProtocolInterface ( IN EFI_HANDLE UserHandle, @@ -1325,7 +1326,7 @@ Arguments: UserHandle - The handle for the protocol interface that was previously opened with OpenProtocol(), and is now being closed. - Protocol - The published unique identifier of the protocol. It is the caller¡¯s + Protocol - The published unique identifier of the protocol. It is the caller's responsibility to pass in a valid GUID. AgentHandle - The handle of the agent that is closing the protocol interface. ControllerHandle - If the agent that opened a protocol is a driver that follows the