]>
Commit | Line | Data |
---|---|---|
27b2d249 | 1 | /** @file\r |
2 | Null PE/Coff Extra Action library instances with empty functions.\r | |
3 | \r | |
19388d29 HT |
4 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r |
5 | This program and the accompanying materials\r | |
27b2d249 | 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 | |
2fc59a00 | 8 | http://opensource.org/licenses/bsd-license.php.\r |
27b2d249 | 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 | |
727fb9b1 | 17 | #include <Library/DebugLib.h>\r |
48f3634e | 18 | \r |
27b2d249 | 19 | /**\r |
727fb9b1 | 20 | Performs additional actions after a PE/COFF image has been loaded and relocated.\r |
27b2d249 | 21 | \r |
727fb9b1 | 22 | If ImageContext is NULL, then ASSERT().\r |
23 | \r | |
2fc59a00 | 24 | @param ImageContext The pointer to the image context structure that describes the\r |
727fb9b1 | 25 | PE/COFF image that has already been loaded and relocated.\r |
27b2d249 | 26 | \r |
27 | **/\r | |
28 | VOID\r | |
29 | EFIAPI\r | |
30 | PeCoffLoaderRelocateImageExtraAction (\r | |
31 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r | |
32 | )\r | |
33 | {\r | |
727fb9b1 | 34 | ASSERT (ImageContext != NULL);\r |
27b2d249 | 35 | } \r |
36 | \r | |
37 | /**\r | |
727fb9b1 | 38 | Performs additional actions just before a PE/COFF image is unloaded. Any resources\r |
39 | that were allocated by PeCoffLoaderRelocateImageExtraAction() must be freed.\r | |
27b2d249 | 40 | \r |
41 | If ImageContext is NULL, then ASSERT().\r | |
42 | \r | |
2fc59a00 | 43 | @param ImageContext The pointer to the image context structure that describes the\r |
727fb9b1 | 44 | PE/COFF image that is being unloaded.\r |
27b2d249 | 45 | \r |
46 | **/\r | |
47 | VOID\r | |
48 | EFIAPI\r | |
49 | PeCoffLoaderUnloadImageExtraAction (\r | |
50 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r | |
51 | )\r | |
52 | {\r | |
727fb9b1 | 53 | ASSERT (ImageContext != NULL);\r |
fd444030 | 54 | }\r |