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