1 /** @file
2 
3   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 
5   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 **/
14 
15 #include <Uefi.h>
16 #include <Library/ArmLib.h>
17 #include <Library/DebugLib.h>
18 
19 VOID
20 EFIAPI
ArmCleanInvalidateDataCache(VOID)21 ArmCleanInvalidateDataCache (
22   VOID
23   )
24 {
25   // Do not run code using the Null cache library.
26   ASSERT(FALSE);
27 }
28 
29 VOID
30 EFIAPI
ArmCleanDataCache(VOID)31 ArmCleanDataCache (
32   VOID
33   )
34 {
35   // Do not run code using the Null cache library.
36   ASSERT(FALSE);
37 }
38 
39 VOID
40 EFIAPI
ArmInvalidateInstructionCache(VOID)41 ArmInvalidateInstructionCache (
42   VOID
43   )
44 {
45   // Do not run code using the Null cache library.
46   ASSERT(FALSE);
47 }
48 
49 VOID
50 EFIAPI
ArmInvalidateDataCacheEntryByMVA(IN UINTN Address)51 ArmInvalidateDataCacheEntryByMVA (
52   IN  UINTN Address
53   )
54 {
55   // Do not run code using the Null cache library.
56   ASSERT(FALSE);
57 }
58 
59 VOID
60 EFIAPI
ArmCleanDataCacheEntryByMVA(IN UINTN Address)61 ArmCleanDataCacheEntryByMVA (
62   IN  UINTN Address
63   )
64 {
65   // Do not run code using the Null cache library.
66   ASSERT(FALSE);
67 }
68 
69 VOID
70 EFIAPI
ArmCleanInvalidateDataCacheEntryByMVA(IN UINTN Address)71 ArmCleanInvalidateDataCacheEntryByMVA (
72   IN  UINTN Address
73   )
74 {
75   // Do not run code using the Null cache library.
76   ASSERT(FALSE);
77 }
78 
79 VOID
80 EFIAPI
ArmEnableDataCache(VOID)81 ArmEnableDataCache (
82   VOID
83   )
84 {
85   // Do not run code using the Null cache library.
86   ASSERT(FALSE);
87 }
88 
89 VOID
90 EFIAPI
ArmDisableDataCache(VOID)91 ArmDisableDataCache (
92   VOID
93   )
94 {
95   // Do not run code using the Null cache library.
96   ASSERT(FALSE);
97 }
98 
99 VOID
100 EFIAPI
ArmEnableInstructionCache(VOID)101 ArmEnableInstructionCache (
102   VOID
103   )
104 {
105   // Do not run code using the Null cache library.
106   ASSERT(FALSE);
107 }
108 
109 VOID
110 EFIAPI
ArmDisableInstructionCache(VOID)111 ArmDisableInstructionCache (
112   VOID
113   )
114 {
115   // Do not run code using the Null cache library.
116   ASSERT(FALSE);
117 }
118