diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /Include/Protocol/LoadFile2.h | |
download | zprj-master.tar.xz |
Diffstat (limited to 'Include/Protocol/LoadFile2.h')
-rw-r--r-- | Include/Protocol/LoadFile2.h | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/Include/Protocol/LoadFile2.h b/Include/Protocol/LoadFile2.h new file mode 100644 index 0000000..80289e6 --- /dev/null +++ b/Include/Protocol/LoadFile2.h @@ -0,0 +1,86 @@ +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2009, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** + +//********************************************************************** +// $Header: /Alaska/BIN/Core/Include/Protocol/LoadFile2.h 2 4/19/11 10:53a Yakovlevs $ +// +// $Revision: 2 $ +// +// $Date: 4/19/11 10:53a $ +//********************************************************************** +// Revision History +// ---------------- +// $Log: /Alaska/BIN/Core/Include/Protocol/LoadFile2.h $ +// +// 2 4/19/11 10:53a Yakovlevs +// [TAG] EIP 57664 +// [Category] New Feature +// [Description] Aptio PI 1.2; UEFI 2.3.1 Support Extended PCI bus +// driver functionality +// [Files] DevicePath.h; LoadFile2.h; PciBus.h; PciBus.c. +// +// 1 11/19/09 12:53p Felixp +// +//********************************************************************** +//<AMI_FHDR_START> +// +// Name: LoadFile2.h +// +// Description: Load File 2 Protocol Definition +// +//<AMI_FHDR_END> +//********************************************************************** +#ifndef __LOAD_FILE2_PROTOCOL_H__ +#define __LOAD_FILE2_PROTOCOL_H__ +#ifdef __cplusplus +extern "C" { +#endif +#include <EFI.h> + +#define EFI_LOAD_FILE2_PROTOCOL_GUID \ + {0x4006c0c1,0xfcb3,0x403e,0x99, 0x6d, 0x4a, 0x6c, 0x87, 0x24, 0xe0, 0x6d} + +GUID_VARIABLE_DECLARATION(gEfiLoadFile2ProtocolGuid, EFI_LOAD_FILE2_PROTOCOL_GUID); + +typedef struct _EFI_LOAD_FILE2_PROTOCOL EFI_LOAD_FILE2_PROTOCOL; + +typedef EFI_STATUS (EFIAPI *EFI_LOAD_FILE2) ( + IN EFI_LOAD_FILE2_PROTOCOL *This, + IN EFI_DEVICE_PATH_PROTOCOL *FilePath, + IN BOOLEAN BootPolicy, + IN OUT UINTN *BufferSize, + IN VOID *Buffer OPTIONAL +); + +struct _EFI_LOAD_FILE2_PROTOCOL{ + EFI_LOAD_FILE2 LoadFile; +}; +/****** DO NOT WRITE BELOW THIS LINE *******/ +#ifdef __cplusplus +} +#endif +#endif +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2009, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** |