]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/CacheMaintenanceLib.h
74d2ab7e8a389f52136bd8573b23ec89eaefabb9
[mirror_edk2.git] / MdePkg / Include / Library / CacheMaintenanceLib.h
1 /** @file
2 Cache Maintenance Functions
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 Module Name: CacheMaintenanceLib.h
14
15 **/
16
17 #ifndef __CACHE_MAINTENANCE_LIB__
18 #define __CACHE_MAINTENANCE_LIB__
19
20 VOID
21 EFIAPI
22 InvalidateInstructionCache (
23 VOID
24 );
25
26 VOID *
27 EFIAPI
28 InvalidateInstructionCacheRange (
29 IN VOID *Address,
30 IN UINTN Length
31 );
32
33 VOID
34 EFIAPI
35 WriteBackInvalidateDataCache (
36 VOID
37 );
38
39 VOID *
40 EFIAPI
41 WriteBackInvalidateDataCacheRange (
42 IN VOID *Address,
43 IN UINTN Length
44 );
45
46 VOID
47 EFIAPI
48 WriteBackDataCache (
49 VOID
50 );
51
52 VOID *
53 EFIAPI
54 WriteBackDataCacheRange (
55 IN VOID *Address,
56 IN UINTN Length
57 );
58
59 VOID
60 EFIAPI
61 InvalidateDataCache (
62 VOID
63 );
64
65 VOID *
66 EFIAPI
67 InvalidateInstructionCacheRange (
68 IN VOID *Address,
69 IN UINTN Length
70 );
71
72 #endif