]>
Commit | Line | Data |
---|---|---|
27b2d249 | 1 | /** @file\r |
2 | Null PE/Coff Extra Action library instances with empty functions.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008, Intel Corporation<BR>\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #include <Base.h>\r | |
16 | #include <Library/PeCoffExtraActionLib.h>\r | |
17 | /**\r | |
18 | Applies additional actions to relocate fixups to a PE/COFF image.\r | |
19 | \r | |
20 | Generally this function is called after sucessfully Applying relocation fixups \r | |
21 | to a PE/COFF image for some specicial purpose. \r | |
22 | As a example, For NT32 emulator, the function should be implemented and called\r | |
23 | to support source level debug. \r | |
24 | \r | |
25 | @param ImageContext Pointer to the image context structure that describes the PE/COFF\r | |
26 | image that is being relocated.\r | |
27 | \r | |
28 | **/\r | |
29 | VOID\r | |
30 | EFIAPI\r | |
31 | PeCoffLoaderRelocateImageExtraAction (\r | |
32 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r | |
33 | )\r | |
34 | {\r | |
35 | } \r | |
36 | \r | |
37 | /**\r | |
38 | Unloads a loaded PE/COFF image from memory and releases its taken resource.\r | |
39 | \r | |
40 | Releases any environment specific resources that were allocated when the image \r | |
41 | specified by ImageContext was loaded using PeCoffLoaderLoadImage(). \r | |
42 | For NT32 emulator, the PE/COFF image loaded by system needs to release.\r | |
43 | For real platform, the PE/COFF image loaded by Core doesn't needs to be unloaded, \r | |
44 | \r | |
45 | If ImageContext is NULL, then ASSERT().\r | |
46 | \r | |
47 | @param ImageContext Pointer to the image context structure that describes the PE/COFF\r | |
48 | image to be unloaded.\r | |
49 | \r | |
50 | **/\r | |
51 | VOID\r | |
52 | EFIAPI\r | |
53 | PeCoffLoaderUnloadImageExtraAction (\r | |
54 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r | |
55 | )\r | |
56 | {\r | |
57 | } |