ICE_TEA_BIOS/Insyde/InsydeCrPkg/CrServiceDxe/CrServiceMisc.h
LCFC\AiXia.Jiang a870bff2f4 1.Frist commit
2022-09-30 14:59:06 +08:00

49 lines
1.1 KiB
C

/** @file
CrServiceMisc
;******************************************************************************
;* Copyright (c) 2012 - 2016, Insyde Software Corp. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corporation.
;*
;******************************************************************************
*/
#ifndef _CR_SERVICE_MISC_H_
#define _CR_SERVICE_MISC_H_
#include "CrServiceDxe.h"
VOID
CrSafeFreePool (
IN VOID *Buffer
);
EFI_STATUS
GetParentHandle (
IN EFI_HANDLE ChildHandle,
OUT EFI_HANDLE *ParentHandle
);
VOID
TruncateLastNode (
IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath
);
VOID
PointToLastNode (
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath
);
EFI_STATUS
GetProtocolWithLocateDevicePath (
IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
OUT VOID **Interface
);
#endif