summaryrefslogtreecommitdiff
path: root/Include/Protocol/LoadFile2.h
blob: 80289e6802a441412117abc8f23ab4465c88aab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************