ArmPkg/ArmLib: remove NullArmLib

Remove the NULL instance of ArmLib: it is not currently used, and its
usefulness its dubious.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Ard Biesheuvel 2016-09-05 11:13:19 +01:00
parent 8a1f2378d7
commit 2ede1ac0cc
3 changed files with 0 additions and 159 deletions

View File

@ -111,7 +111,6 @@
ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
ArmPkg/Library/ArmLib/Null/NullArmLib.inf
ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
ArmPkg/Library/BdsLib/BdsLib.inf
ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf

View File

@ -1,117 +0,0 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <Uefi.h>
#include <Library/ArmLib.h>
#include <Library/DebugLib.h>
VOID
EFIAPI
ArmCleanInvalidateDataCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmCleanDataCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmInvalidateInstructionCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmInvalidateDataCacheEntryByMVA (
IN UINTN Address
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmCleanDataCacheEntryByMVA (
IN UINTN Address
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmCleanInvalidateDataCacheEntryByMVA (
IN UINTN Address
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmEnableDataCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmDisableDataCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmEnableInstructionCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}
VOID
EFIAPI
ArmDisableInstructionCache (
VOID
)
{
// Do not run code using the Null cache library.
ASSERT(FALSE);
}

View File

@ -1,41 +0,0 @@
#/** @file
# Semihosting serail port lib
#
# Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = NullArmLib
FILE_GUID = 00586300-0E06-4790-AC44-86C56ACBB942
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = ArmLib
[Sources.common]
../Common/ArmLib.c
NullArmLib.c
[Sources.ARM]
../Common/Arm/ArmLibSupport.S | GCC
../Common/Arm/ArmLibSupport.asm | RVCT
[Sources.AARCH64]
../Common/AArch64/ArmLibSupport.S
[Packages]
ArmPkg/ArmPkg.dec
MdePkg/MdePkg.dec
[Protocols]
gEfiCpuArchProtocolGuid