Rework type usage in Trusted Firmware
This patch reworks type usage in generic code, drivers and ARM platform files
to make it more portable. The major changes done with respect to
type usage are as listed below:

* Use uintptr_t for storing address instead of uint64_t or unsigned long.
* Review usage of unsigned long as it can no longer be assumed to be 64 bit.
* Use u_register_t for register values whose width varies depending on
  whether AArch64 or AArch32.
* Use generic C types where-ever possible.

In addition to the above changes, this patch also modifies format specifiers
in print invocations so that they are AArch64/AArch32 agnostic. Only files
related to upcoming feature development have been reworked.

Change-Id: I9f8c78347c5a52ba7027ff389791f1dad63ee5f8
1 parent aadb135 commit 4c0d03907652fdf9c66a02cec9ea7137ccccd2e9
@Soby Mathew Soby Mathew authored on 16 Jun 2016
Showing 35 changed files
View
bl31/runtime_svc.c
View
common/bl_common.c
View
common/context_mgmt.c
View
docs/porting-guide.md
View
docs/psci-pd-tree.md
View
docs/rt-svc-writers-guide.md
View
drivers/arm/ccn/ccn_private.h
View
drivers/arm/gic/v3/gicv3_helpers.c
View
include/bl31/cpu_data.h
View
include/bl31/runtime_svc.h
View
include/bl31/services/psci.h
View
include/common/bl_common.h
View
include/common/context_mgmt.h
View
include/drivers/arm/gic_v3.h
View
include/drivers/arm/gicv3.h
View
include/lib/stdlib/machine/_stdint.h
View
include/plat/arm/common/plat_arm.h
View
include/plat/common/platform.h
View
lib/locks/bakery/bakery_lock_normal.c
View
lib/xlat_tables/aarch64/xlat_tables.c
View
lib/xlat_tables/xlat_tables_common.c
View
plat/arm/board/fvp/aarch64/fvp_helpers.S
View
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
View
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.h
View
plat/arm/board/juno/aarch64/juno_helpers.S
View
plat/arm/common/aarch64/arm_common.c
View
plat/arm/common/aarch64/arm_helpers.S
View
plat/arm/common/arm_bl31_setup.c
View
plat/arm/css/common/aarch64/css_helpers.S
View
plat/common/aarch64/platform_mp_stack.S
View
plat/common/aarch64/platform_up_stack.S
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_main.c
View
services/std_svc/psci/psci_private.h
View
services/std_svc/std_svc_setup.c