]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/BasePeCoffExtraActionLibNull/PeCoffExtraActionLib.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BasePeCoffExtraActionLibNull / PeCoffExtraActionLib.c
... / ...
CommitLineData
1/** @file\r
2 Null PE/Coff Extra Action library instances with empty functions.\r
3\r
4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7**/\r
8\r
9#include <Base.h>\r
10#include <Library/PeCoffExtraActionLib.h>\r
11#include <Library/DebugLib.h>\r
12\r
13/**\r
14 Performs additional actions after a PE/COFF image has been loaded and relocated.\r
15\r
16 If ImageContext is NULL, then ASSERT().\r
17\r
18 @param ImageContext The pointer to the image context structure that describes the\r
19 PE/COFF image that has already been loaded and relocated.\r
20\r
21**/\r
22VOID\r
23EFIAPI\r
24PeCoffLoaderRelocateImageExtraAction (\r
25 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
26 )\r
27{\r
28 ASSERT (ImageContext != NULL);\r
29}\r
30\r
31/**\r
32 Performs additional actions just before a PE/COFF image is unloaded. Any resources\r
33 that were allocated by PeCoffLoaderRelocateImageExtraAction() must be freed.\r
34\r
35 If ImageContext is NULL, then ASSERT().\r
36\r
37 @param ImageContext The pointer to the image context structure that describes the\r
38 PE/COFF image that is being unloaded.\r
39\r
40**/\r
41VOID\r
42EFIAPI\r
43PeCoffLoaderUnloadImageExtraAction (\r
44 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
45 )\r
46{\r
47 ASSERT (ImageContext != NULL);\r
48}\r