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