Remove ArmTrustedMonitorLib and its only [NULL] implementation.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
+++ /dev/null
-/** @file\r
-* Main file supporting the Monitor World on ARM PLatforms\r
-*\r
-* Copyright (c) 2011, ARM Limited. All rights reserved.\r
-*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-*\r
-**/\r
-\r
-#ifndef __ARM_TRUSTED_MONITOR_LIB_H_\r
-#define __ARM_TRUSTED_MONITOR_LIB_H_\r
-\r
-VOID\r
-ArmSecureMonitorWorldInitialize (\r
- VOID\r
- );\r
-\r
-#endif\r
+++ /dev/null
-/** @file\r
-* Main file supporting the Monitor World on ARM PLatforms\r
-*\r
-* Copyright (c) 2012-2013, ARM Limited. All rights reserved.\r
-*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-*\r
-**/\r
-\r
-VOID\r
-ArmSecureMonitorWorldInitialize (\r
- VOID\r
- )\r
-{\r
- // Do not touch the EL3 Exception Vector Table Register.\r
- // The default default DebugAgentLib could have already set its own vector\r
- // into EL3 to catch abort exceptions.\r
-}\r
+++ /dev/null
-/** @file\r
-* Main file supporting the Monitor World on ARM PLatforms\r
-*\r
-* Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
-*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-*\r
-**/\r
-\r
-#include <Library/ArmLib.h>\r
-#include <Library/ArmTrustedMonitorLib.h>\r
-#include <Library/DebugLib.h>\r
-\r
-#define IS_ALIGNED(Address, Align) (((UINTN)Address & (Align-1)) == 0)\r
-\r
-VOID\r
-MonitorVectorTable (\r
- VOID\r
- );\r
-\r
-VOID\r
-ArmSecureMonitorWorldInitialize (\r
- VOID\r
- )\r
-{\r
- // Ensure the Monitor Table is 32bit aligned\r
- ASSERT (((UINTN)&MonitorVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);\r
-\r
- // Write the Monitor Mode Vector Table Address\r
- ArmWriteMVBar ((UINTN) &MonitorVectorTable);\r
-}\r
-\r
+++ /dev/null
-//\r
-// Copyright (c) 2011, ARM Limited. All rights reserved.\r
-//\r
-// This program and the accompanying materials\r
-// are licensed and made available under the terms and conditions of the BSD License\r
-// which accompanies this distribution. The full text of the license may be found at\r
-// http://opensource.org/licenses/bsd-license.php\r
-//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-//\r
-//\r
-\r
-#include <AsmMacroIoLib.h>\r
-#include <AutoGen.h>\r
-#include <Library/PcdLib.h>\r
-\r
-.text\r
-.align 5\r
-\r
-GCC_ASM_EXPORT(MonitorVectorTable)\r
-\r
-ASM_PFX(MonitorVectorTable):\r
-\r
-_MonitorResetEntry:\r
- b _MonitorResetEntry\r
-_MonitorUndefinedEntry:\r
- b _MonitorUndefinedEntry\r
-_MonitorSmcEntry:\r
- b _MonitorSmcEntry\r
-_MonitorPrefetchEntry:\r
- b _MonitorPrefetchEntry\r
-_MonitorDataAbortEntry:\r
- b _MonitorDataAbortEntry\r
-_MonitorReservedEntry:\r
- b _MonitorReservedEntry\r
-_MonitorIrqEntry:\r
- b _MonitorIrqEntry\r
-_MonitorFiqEntry:\r
- b _MonitorFiqEntry\r
-\r
+++ /dev/null
-//\r
-// Copyright (c) 2011, ARM Limited. All rights reserved.\r
-//\r
-// This program and the accompanying materials\r
-// are licensed and made available under the terms and conditions of the BSD License\r
-// which accompanies this distribution. The full text of the license may be found at\r
-// http://opensource.org/licenses/bsd-license.php\r
-//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-//\r
-//\r
-\r
-#include <Library/PcdLib.h>\r
-\r
- EXPORT MonitorVectorTable\r
-\r
- PRESERVE8\r
- AREA MonitoVectorTableArea, CODE, READONLY, CODEALIGN, ALIGN=5\r
-\r
-MonitorVectorTable\r
-\r
-_MonitorResetEntry\r
- b _MonitorResetEntry\r
-_MonitorUndefinedEntry\r
- b _MonitorUndefinedEntry\r
-_MonitorSmcEntry\r
- b _MonitorSmcEntry\r
-_MonitorPrefetchEntry\r
- b _MonitorPrefetchEntry\r
-_MonitorDataAbortEntry\r
- b _MonitorDataAbortEntry\r
-_MonitorReservedEntry\r
- b _MonitorReservedEntry\r
-_MonitorIrqEntry\r
- b _MonitorIrqEntry\r
-_MonitorFiqEntry\r
- b _MonitorFiqEntry\r
-\r
- END\r
+++ /dev/null
-#/* @file\r
-# Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
-#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#*/\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = ArmTrustedMonitorLibNull\r
- FILE_GUID = c4b50eb2-ed16-4283-a5b0-a7341c3f997b\r
- MODULE_TYPE = BASE\r
- VERSION_STRING = 1.0\r
- LIBRARY_CLASS = ArmTrustedMonitorLib\r
-\r
-[Sources.ARM]\r
- Arm/ArmTrustedMonitorLibNull.c\r
- Arm/MonitorTable.asm | RVCT\r
- Arm/MonitorTable.S | GCC\r
-\r
-[Sources.AARCH64]\r
- AArch64/ArmTrustedMonitorLibNull.c\r
-\r
-[Packages]\r
- ArmPkg/ArmPkg.dec\r
- ArmPlatformPkg/ArmPlatformPkg.dec\r
- MdePkg/MdePkg.dec\r
-\r
-[LibraryClasses]\r
- ArmLib\r
- BaseLib\r
- DebugLib\r
- PcdLib\r
-\r