]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/BasePeCoffExtraActionLibNull/PeCoffExtraActionLib.c
Update the copyright notice format
[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, Intel Corporation. All rights reserved.<BR>\r
5 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#include <Library/DebugLib.h>\r
18\r
19/**\r
20 Performs additional actions after a PE/COFF image has been loaded and relocated.\r
21\r
22 If ImageContext is NULL, then ASSERT().\r
23\r
24 @param ImageContext Pointer to the image context structure that describes the\r
25 PE/COFF image that has already been loaded and relocated.\r
26\r
27**/\r
28VOID\r
29EFIAPI\r
30PeCoffLoaderRelocateImageExtraAction (\r
31 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
32 )\r
33{\r
34 ASSERT (ImageContext != NULL);\r
35} \r
36\r
37/**\r
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
40 \r
41 If ImageContext is NULL, then ASSERT().\r
42 \r
43 @param ImageContext Pointer to the image context structure that describes the\r
44 PE/COFF image that is being unloaded.\r
45\r
46**/\r
47VOID\r
48EFIAPI\r
49PeCoffLoaderUnloadImageExtraAction (\r
50 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
51 )\r
52{\r
53 ASSERT (ImageContext != NULL);\r
54}\r