]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BasePeCoffExtraActionLibNull/PeCoffExtraActionLib.c
Minor grammatical work--mostly adding periods. Items with ONLY period added did...
[mirror_edk2.git] / MdePkg / Library / BasePeCoffExtraActionLibNull / PeCoffExtraActionLib.c
1 /** @file
2 Null PE/Coff Extra Action library instances with empty functions.
3
4 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include <Base.h>
16 #include <Library/PeCoffExtraActionLib.h>
17 #include <Library/DebugLib.h>
18
19 /**
20 Performs additional actions after a PE/COFF image has been loaded and relocated.
21
22 If ImageContext is NULL, then ASSERT().
23
24 @param ImageContext The pointer to the image context structure that describes the
25 PE/COFF image that has already been loaded and relocated.
26
27 **/
28 VOID
29 EFIAPI
30 PeCoffLoaderRelocateImageExtraAction (
31 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
32 )
33 {
34 ASSERT (ImageContext != NULL);
35 }
36
37 /**
38 Performs additional actions just before a PE/COFF image is unloaded. Any resources
39 that were allocated by PeCoffLoaderRelocateImageExtraAction() must be freed.
40
41 If ImageContext is NULL, then ASSERT().
42
43 @param ImageContext The pointer to the image context structure that describes the
44 PE/COFF image that is being unloaded.
45
46 **/
47 VOID
48 EFIAPI
49 PeCoffLoaderUnloadImageExtraAction (
50 IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
51 )
52 {
53 ASSERT (ImageContext != NULL);
54 }