NullArmLib.c 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /** @file
  2. Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
  3. This program and the accompanying materials
  4. are licensed and made available under the terms and conditions of the BSD License
  5. which accompanies this distribution. The full text of the license may be found at
  6. http://opensource.org/licenses/bsd-license.php
  7. THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  9. **/
  10. #include <Uefi.h>
  11. #include <Library/ArmLib.h>
  12. #include <Library/DebugLib.h>
  13. VOID
  14. EFIAPI
  15. ArmCleanInvalidateDataCache (
  16. VOID
  17. )
  18. {
  19. // Do not run code using the Null cache library.
  20. ASSERT(FALSE);
  21. }
  22. VOID
  23. EFIAPI
  24. ArmCleanDataCache (
  25. VOID
  26. )
  27. {
  28. // Do not run code using the Null cache library.
  29. ASSERT(FALSE);
  30. }
  31. VOID
  32. EFIAPI
  33. ArmInvalidateInstructionCache (
  34. VOID
  35. )
  36. {
  37. // Do not run code using the Null cache library.
  38. ASSERT(FALSE);
  39. }
  40. VOID
  41. EFIAPI
  42. ArmInvalidateDataCacheEntryByMVA (
  43. IN UINTN Address
  44. )
  45. {
  46. // Do not run code using the Null cache library.
  47. ASSERT(FALSE);
  48. }
  49. VOID
  50. EFIAPI
  51. ArmCleanDataCacheEntryByMVA (
  52. IN UINTN Address
  53. )
  54. {
  55. // Do not run code using the Null cache library.
  56. ASSERT(FALSE);
  57. }
  58. VOID
  59. EFIAPI
  60. ArmCleanInvalidateDataCacheEntryByMVA (
  61. IN UINTN Address
  62. )
  63. {
  64. // Do not run code using the Null cache library.
  65. ASSERT(FALSE);
  66. }
  67. VOID
  68. EFIAPI
  69. ArmEnableDataCache (
  70. VOID
  71. )
  72. {
  73. // Do not run code using the Null cache library.
  74. ASSERT(FALSE);
  75. }
  76. VOID
  77. EFIAPI
  78. ArmDisableDataCache (
  79. VOID
  80. )
  81. {
  82. // Do not run code using the Null cache library.
  83. ASSERT(FALSE);
  84. }
  85. VOID
  86. EFIAPI
  87. ArmEnableInstructionCache (
  88. VOID
  89. )
  90. {
  91. // Do not run code using the Null cache library.
  92. ASSERT(FALSE);
  93. }
  94. VOID
  95. EFIAPI
  96. ArmDisableInstructionCache (
  97. VOID
  98. )
  99. {
  100. // Do not run code using the Null cache library.
  101. ASSERT(FALSE);
  102. }