]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ia32/PeCoffLoaderEx.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / Ia32 / PeCoffLoaderEx.h
CommitLineData
3eb9473e 1/*++\r
2\r
4ea9375a
HT
3Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PeCoffLoaderEx.h\r
15\r
16Abstract:\r
17\r
18 IA-32 Specific relocation fixups\r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _PE_COFF_LOADER_EX_H_\r
25#define _PE_COFF_LOADER_EX_H_\r
26\r
27EFI_STATUS\r
28PeCoffLoaderRelocateImageEx (\r
29 IN UINT16 *Reloc,\r
30 IN OUT CHAR8 *Fixup,\r
31 IN OUT CHAR8 **FixupData,\r
32 IN UINT64 Adjust\r
33 )\r
34/*++\r
35\r
36Routine Description:\r
37\r
38 Performs an IA-32 specific relocation fixup\r
39\r
40Arguments:\r
41\r
42 Reloc - Pointer to the relocation record\r
43\r
44 Fixup - Pointer to the address to fix up\r
45\r
46 FixupData - Pointer to a buffer to log the fixups\r
47\r
48 Adjust - The offset to adjust the fixup\r
49\r
50Returns:\r
51\r
52 EFI_UNSUPPORTED - relocate unsupported\r
53\r
54--*/\r
55;\r
56\r
57BOOLEAN\r
58PeCoffLoaderImageFormatSupported (\r
59 IN UINT16 Machine\r
60 )\r
61/*++\r
62Routine Description:\r
63\r
64 Returns TRUE if the machine type of PE/COFF image is supported. Supported \r
65 does not mean the image can be executed it means the PE/COFF loader supports\r
66 loading and relocating of the image type. It's up to the caller to support\r
67 the entry point. \r
68\r
69 This function implies the basic PE/COFF loader/relocator supports IA32, EBC,\r
70 & X64 images. Calling the entry point in a correct mannor is up to the \r
71 consumer of this library.\r
72\r
73Arguments:\r
74\r
75 Machine - Machine type from the PE Header.\r
76\r
77Returns:\r
78\r
79 TRUE - if this PE/COFF loader can load the image\r
80 FALSE - if this PE/COFF loader cannot load the image\r
81\r
82--*/\r
83;\r
84\r
85#endif\r