arm-trusted-firmware/include
Jeenu Viswambharan 71e7a4e568 ARM platforms: Make arm_validate_ns_entrypoint() common
The function arm_validate_ns_entrypoint() validates a given non-secure
physical address. This function however specifically returns PSCI error
codes.

Non-secure physical address validation is potentially useful across ARM
platforms, even for non-PSCI use cases. Therefore make this function
common by returning 0 for success or -1 otherwise.

Having made the function common, make arm_validate_psci_entrypoint() a
wrapper around arm_validate_ns_entrypoint() which only translates return
value into PSCI error codes. This wrapper is now used where
arm_validate_ns_entrypoint() was currently used for PSCI entry point
validation.

Change-Id: Ic781fc3105d6d199fd8f53f01aba5baea0ebc310
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
2017-11-13 08:38:51 +00:00
..
bl1 FWU: Introduce FWU_SMC_IMAGE_RESET 2017-06-01 14:52:12 +01:00
bl31 BL31: Program Priority Mask for SMC handling 2017-11-13 07:49:30 +00:00
bl32 bl32: add secure interrupt handling in AArch32 sp_min 2017-08-09 15:48:53 +02:00
common SPM: Introduce Secure Partition Manager 2017-11-08 18:05:14 +00:00
drivers BL31: Program Priority Mask for SMC handling 2017-11-13 07:49:30 +00:00
lib BL31: Introduce Exception Handling Framework 2017-11-13 07:49:30 +00:00
plat ARM platforms: Make arm_validate_ns_entrypoint() common 2017-11-13 08:38:51 +00:00
services BL31: Add SDEI dispatcher 2017-11-13 08:38:51 +00:00
tools_share Support Trusted OS firmware extra images in TF tools 2017-08-09 18:06:05 +08:00