mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg: Replaced 'ArmGicSecLib' by 'ArmGicLib'
Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13265 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
14238a61c8
commit
f8181c90f4
|
@ -17,7 +17,7 @@
|
||||||
FILE_GUID = 85f3cf80-b5f4-11df-9855-0002a5d5c51b
|
FILE_GUID = 85f3cf80-b5f4-11df-9855-0002a5d5c51b
|
||||||
MODULE_TYPE = SEC
|
MODULE_TYPE = SEC
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = ArmGicSecLib
|
LIBRARY_CLASS = ArmGicLib
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
PL390Gic.c
|
PL390Gic.c
|
||||||
|
|
|
@ -79,9 +79,6 @@
|
||||||
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
||||||
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
||||||
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
||||||
|
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||||
|
@ -114,8 +111,6 @@
|
||||||
BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
||||||
|
|
||||||
ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
||||||
|
|
|
@ -79,9 +79,6 @@
|
||||||
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
||||||
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
||||||
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
||||||
|
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||||
|
@ -336,15 +333,17 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
|
ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
||||||
}
|
}
|
||||||
MdeModulePkg/Core/Pei/PeiMain.inf
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
||||||
|
|
|
@ -34,10 +34,6 @@
|
||||||
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
|
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
||||||
ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf
|
ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf
|
||||||
|
@ -148,7 +144,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
@ -156,7 +156,6 @@
|
||||||
!ifdef $(EDK2_SKIP_PEICORE)
|
!ifdef $(EDK2_SKIP_PEICORE)
|
||||||
ArmPlatformPkg/PrePi/PeiUniCore.inf {
|
ArmPlatformPkg/PrePi/PeiUniCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
||||||
|
@ -164,7 +163,7 @@
|
||||||
!else
|
!else
|
||||||
ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
|
ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
||||||
}
|
}
|
||||||
MdeModulePkg/Core/Pei/PeiMain.inf
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
||||||
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
||||||
|
|
|
@ -34,10 +34,6 @@
|
||||||
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
|
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
||||||
ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf
|
ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf
|
||||||
|
@ -144,7 +140,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
@ -152,16 +152,12 @@
|
||||||
!ifdef $(EDK2_SKIP_PEICORE)
|
!ifdef $(EDK2_SKIP_PEICORE)
|
||||||
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
||||||
}
|
}
|
||||||
!else
|
!else
|
||||||
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
|
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
|
||||||
<LibraryClasses>
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
}
|
|
||||||
MdeModulePkg/Core/Pei/PeiMain.inf
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
||||||
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
||||||
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
||||||
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
||||||
|
|
||||||
# RealView Emulation Board Specific Libraries
|
# RealView Emulation Board Specific Libraries
|
||||||
EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
|
EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
|
||||||
|
|
|
@ -60,10 +60,6 @@
|
||||||
# Uncomment to turn on GDB stub in SEC.
|
# Uncomment to turn on GDB stub in SEC.
|
||||||
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
|
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
[BuildOptions]
|
[BuildOptions]
|
||||||
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
|
||||||
|
|
||||||
|
@ -196,7 +192,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
@ -204,7 +204,6 @@
|
||||||
!ifdef $(EDK2_SKIP_PEICORE)
|
!ifdef $(EDK2_SKIP_PEICORE)
|
||||||
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
||||||
|
@ -212,7 +211,6 @@
|
||||||
!else
|
!else
|
||||||
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
|
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
||||||
}
|
}
|
||||||
MdeModulePkg/Core/Pei/PeiMain.inf
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
||||||
|
|
|
@ -40,10 +40,6 @@
|
||||||
|
|
||||||
#DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
#DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
|
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
|
@ -180,7 +176,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
|
|
@ -40,10 +40,6 @@
|
||||||
|
|
||||||
#DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
#DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
|
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
|
@ -180,7 +176,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
|
|
@ -48,10 +48,6 @@
|
||||||
# Uncomment to turn on GDB stub in SEC.
|
# Uncomment to turn on GDB stub in SEC.
|
||||||
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
|
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
|
||||||
|
|
||||||
# ARM PL390 General Interrupt Driver in Secure and Non-secure
|
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
|
||||||
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
|
|
||||||
[BuildOptions]
|
[BuildOptions]
|
||||||
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM
|
||||||
|
|
||||||
|
@ -183,7 +179,11 @@
|
||||||
#
|
#
|
||||||
# SEC
|
# SEC
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/Sec/Sec.inf
|
ArmPlatformPkg/Sec/Sec.inf {
|
||||||
|
<LibraryClasses>
|
||||||
|
# Use the implementation which set the Secure bits
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# PEI Phase modules
|
# PEI Phase modules
|
||||||
|
@ -191,7 +191,6 @@
|
||||||
!ifdef $(EDK2_SKIP_PEICORE)
|
!ifdef $(EDK2_SKIP_PEICORE)
|
||||||
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
ArmPlatformPkg/PrePi/PeiMPCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
||||||
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
|
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
|
||||||
|
@ -199,7 +198,6 @@
|
||||||
!else
|
!else
|
||||||
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
|
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
||||||
}
|
}
|
||||||
MdeModulePkg/Core/Pei/PeiMain.inf
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
||||||
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
||||||
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
||||||
|
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
|
||||||
|
|
||||||
# Versatile Express Specific Libraries
|
# Versatile Express Specific Libraries
|
||||||
ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
|
ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
DebugLib
|
DebugLib
|
||||||
DebugAgentLib
|
DebugAgentLib
|
||||||
IoLib
|
IoLib
|
||||||
ArmGicSecLib
|
ArmGicLib
|
||||||
PrintLib
|
PrintLib
|
||||||
SerialPortLib
|
SerialPortLib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue