]>
Commit | Line | Data |
---|---|---|
bd6b9799 | 1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r | |
4 | \r | |
5 | 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 | **/\r | |
14 | \r | |
15 | #ifndef __ARM_V7_LIB_H__\r | |
16 | #define __ARM_V7_LIB_H__\r | |
17 | \r | |
46ff196f AB |
18 | #define ID_MMFR0_SHARELVL_SHIFT 12\r |
19 | #define ID_MMFR0_SHARELVL_MASK 0xf\r | |
20 | #define ID_MMFR0_SHARELVL_ONE 0\r | |
21 | #define ID_MMFR0_SHARELVL_TWO 1\r | |
22 | \r | |
23 | #define ID_MMFR0_INNERSHR_SHIFT 28\r | |
24 | #define ID_MMFR0_INNERSHR_MASK 0xf\r | |
25 | #define ID_MMFR0_OUTERSHR_SHIFT 8\r | |
26 | #define ID_MMFR0_OUTERSHR_MASK 0xf\r | |
27 | \r | |
28 | #define ID_MMFR0_SHR_IMP_UNCACHED 0\r | |
29 | #define ID_MMFR0_SHR_IMP_HW_COHERENT 1\r | |
30 | #define ID_MMFR0_SHR_IGNORED 0xf\r | |
31 | \r | |
d60f6af4 | 32 | typedef VOID (*ARM_V7_CACHE_OPERATION)(UINT32);\r |
bd6b9799 | 33 | \r |
d60f6af4 | 34 | VOID\r |
35 | ArmV7AllDataCachesOperation (\r | |
36 | IN ARM_V7_CACHE_OPERATION DataCacheOperation\r | |
37 | );\r | |
3402aac7 | 38 | \r |
bd6b9799 | 39 | #endif // __ARM_V7_LIB_H__\r |
40 | \r |