PSCI: Rework generic code to conform to coding guidelines
This patch reworks the PSCI generic implementation to conform to ARM
Trusted Firmware coding guidelines as described here:
https://github.com/ARM-software/arm-trusted-firmware/wiki

This patch also reviews the use of signed data types within PSCI
Generic code and replaces them with their unsigned counterparts wherever
they are not appropriate. The PSCI_INVALID_DATA macro which was defined
to -1 is now replaced with PSCI_INVALID_PWR_LVL macro which is defined
to PLAT_MAX_PWR_LVL + 1.

Change-Id: Iaea422d0e46fc314e0b173c2b4c16e0d56b2515a
1 parent 58523c0 commit 9d070b9928b874700395ca48780ce2c88b70e588
@Soby Mathew Soby Mathew authored on 29 Jul 2015
Achin Gupta committed on 13 Aug 2015
Showing 10 changed files
View
include/bl31/services/psci.h
View
include/bl31/services/psci_compat.h
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_helpers.S
View
services/std_svc/psci/psci_main.c
View
services/std_svc/psci/psci_off.c
View
services/std_svc/psci/psci_on.c
View
services/std_svc/psci/psci_private.h
View
services/std_svc/psci/psci_setup.c
View
services/std_svc/psci/psci_suspend.c