]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Universal/Runtime/RuntimeDxe/Ipf/PeHotRelocateEx.c
97bdae0aa096315b9a7869bfe2a67532b4f4fa50
[mirror_edk2.git] / EdkModulePkg / Universal / Runtime / RuntimeDxe / Ipf / 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 Fixes IPF specific relocation types
19
20
21 Revision History
22
23 --*/
24
25 #include "Runtime.h"
26
27 //
28 // Cache Flush Routine.
29 //
30 EFI_STATUS
31 FlushCpuCache (
32 IN EFI_PHYSICAL_ADDRESS Start,
33 IN UINT64 Length
34 )
35 /*++
36
37 Routine Description:
38
39 Flush cache with specified range.
40
41 Arguments:
42
43 Start - Start address
44 Length - Length in bytes
45
46 Returns:
47
48 Status code
49
50 EFI_SUCCESS - success
51
52 --*/
53 {
54 SalFlushCache (Start, Length);
55 return EFI_SUCCESS;
56 }