]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Universal/Runtime/RuntimeDxe/x64/PeHotRelocateEx.c
82d464aebe662e985c10697dc7b50fae750c0761
[mirror_edk2.git] / EdkModulePkg / Universal / Runtime / RuntimeDxe / x64 / PeHotRelocateEx.c
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 PeHotRelocateEx.c
15
16 Abstract:
17
18 Stub to resolve the IPF hook that handles IPF specific relocation types
19
20
21 Revision History
22
23 --*/
24
25 #include "Runtime.h"
26
27 EFI_STATUS
28 PeHotRelocateImageEx (
29 IN UINT16 *Reloc,
30 IN OUT CHAR8 *Fixup,
31 IN OUT CHAR8 **FixupData,
32 IN UINT64 Adjust
33 )
34 /*++
35
36 Routine Description:
37
38 Performs an Itanium-based platform specific relocation fixup
39
40 Arguments:
41
42 Reloc - Pointer to the relocation record
43
44 Fixup - Pointer to the address to fix up
45
46 FixupData - Pointer to a buffer to log the fixups
47
48 Adjust - The offset to adjust the fixup
49
50 Returns:
51
52 EFI_SUCCESS
53
54 --*/
55 {
56 return EFI_SUCCESS;
57
58 }
59
60 //
61 // Cache Flush Routine.
62 //
63 EFI_STATUS
64 FlushCpuCache (
65 IN EFI_PHYSICAL_ADDRESS Start,
66 IN UINT64 Length
67 )
68 /*++
69
70 Routine Description:
71
72 Flush cache with specified range.
73
74 Arguments:
75
76 Start - Start address
77 Length - Length in bytes
78
79 Returns:
80
81 Status code
82
83 EFI_SUCCESS - success
84
85 --*/
86 {
87 return EFI_SUCCESS;
88 }