mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg: Moved 'ArmTrustZoneLib' from ArmPkg/Library to ArmPlatformPkg/Drivers
This library is really the driver for the ARM Trustzone controllers (TZPC and TZASC). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13054 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f8c9f1c18c
commit
65acd8e7b3
|
@ -100,7 +100,6 @@
|
||||||
ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
|
ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
|
||||||
ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
||||||
ArmPkg/Library/ArmLib/Null/NullArmLib.inf
|
ArmPkg/Library/ArmLib/Null/NullArmLib.inf
|
||||||
ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
|
|
||||||
ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
|
ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
|
||||||
ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
|
ArmPkg/Library/BaseMemoryLibVstm/BaseMemoryLibVstm.inf
|
||||||
ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
ArmPkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
||||||
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
|
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
|
||||||
ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
|
ArmTrustZoneLib|ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.inf
|
||||||
|
|
||||||
# ARM PL310 L2 Cache Driver
|
# ARM PL310 L2 Cache Driver
|
||||||
L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
|
L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011, ARM Limited. All rights reserved.
|
* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program and the accompanying materials
|
* This program and the accompanying materials
|
||||||
* are licensed and made available under the terms and conditions of the BSD License
|
* are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -13,12 +13,12 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include <Library/ArmPlatformLib.h>
|
#include <Library/ArmPlatformLib.h>
|
||||||
#include <Library/ArmTrustZoneLib.h>
|
|
||||||
#include <Library/ArmPlatformSysConfigLib.h>
|
#include <Library/ArmPlatformSysConfigLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include <Library/IoLib.h>
|
#include <Library/IoLib.h>
|
||||||
#include <Library/PcdLib.h>
|
#include <Library/PcdLib.h>
|
||||||
|
|
||||||
|
#include <Drivers/ArmTrustzone.h>
|
||||||
#include <Drivers/PL310L2Cache.h>
|
#include <Drivers/PL310L2Cache.h>
|
||||||
|
|
||||||
#include <ArmPlatform.h>
|
#include <ArmPlatform.h>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011, ARM Limited. All rights reserved.
|
* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program and the accompanying materials
|
* This program and the accompanying materials
|
||||||
* are licensed and made available under the terms and conditions of the BSD License
|
* are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -14,7 +14,8 @@
|
||||||
|
|
||||||
#include <Library/BaseLib.h>
|
#include <Library/BaseLib.h>
|
||||||
#include <Library/IoLib.h>
|
#include <Library/IoLib.h>
|
||||||
#include <Library/ArmTrustZoneLib.h>
|
|
||||||
|
#include <Drivers/ArmTrustzone.h>
|
||||||
|
|
||||||
#define TZPC_DECPROT0_STATUS_REG 0x800
|
#define TZPC_DECPROT0_STATUS_REG 0x800
|
||||||
#define TZPC_DECPROT0_SET_REG 0x804
|
#define TZPC_DECPROT0_SET_REG 0x804
|
|
@ -1,5 +1,5 @@
|
||||||
#/* @file
|
#/* @file
|
||||||
# Copyright (c) 2011, ARM Limited. All rights reserved.
|
# Copyright (c) 2011-2012, ARM Limited. All rights reserved.
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -26,6 +26,7 @@
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
ArmPkg/ArmPkg.dec
|
ArmPkg/ArmPkg.dec
|
||||||
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseLib
|
BaseLib
|
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011, ARM Limited. All rights reserved.
|
* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program and the accompanying materials
|
* This program and the accompanying materials
|
||||||
* are licensed and made available under the terms and conditions of the BSD License
|
* are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -12,8 +12,8 @@
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#ifndef __ARM_TRUSTZONE_LIB_H__
|
#ifndef __ARM_TRUSTZONE_H__
|
||||||
#define __ARM_TRUSTZONE_LIB_H__
|
#define __ARM_TRUSTZONE_H__
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <Uefi.h>
|
||||||
|
|
Loading…
Reference in New Issue