878ddf1f |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006, Intel Corporation \r |
4 | All rights reserved. This program and the accompanying materials \r |
5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r |
7 | http://opensource.org/licenses/bsd-license.php \r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
11 | \r |
12 | Module Name:\r |
13 | \r |
14 | PeHotRelocateEx.c\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | Stub to resolve the IPF hook that handles IPF specific relocation types\r |
19 | \r |
20 | \r |
21 | Revision History\r |
22 | \r |
23 | --*/\r |
24 | \r |
25 | #include "Runtime.h"\r |
26 | \r |
27 | EFI_STATUS\r |
28 | PeHotRelocateImageEx (\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 |
36 | Routine Description:\r |
37 | \r |
38 | Performs an Itanium-based platform specific relocation fixup\r |
39 | \r |
40 | Arguments:\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 |
50 | Returns:\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 |
63 | EFI_STATUS\r |
64 | FlushCpuCache (\r |
65 | IN EFI_PHYSICAL_ADDRESS Start,\r |
66 | IN UINT64 Length\r |
67 | )\r |
68 | /*++\r |
69 | \r |
70 | Routine Description:\r |
71 | \r |
72 | Flush cache with specified range.\r |
73 | \r |
74 | Arguments:\r |
75 | \r |
76 | Start - Start address\r |
77 | Length - Length in bytes\r |
78 | \r |
79 | Returns:\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 |