VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffExtraActionLibNull/PeCoffExtraActionLib.c@ 85788

Last change on this file since 85788 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette