arm-trusted-firmware/plat
Julius Werner 57bf605772 Factor out cross-BL API into export headers suitable for 3rd party code
This patch adds a new include/export/ directory meant for inclusion in
third-party code. This is useful for cases where third-party code needs
to interact with TF-A interfaces and data structures (such as a custom
BL2-implementation like coreboot handing off to BL31). Directly
including headers from the TF-A repository avoids having to duplicate
all these definitions (and risk them going stale), but with the current
header structure this is not possible because handoff API definitions
are too deeply intertwined with other TF code/headers and chain-include
other headers that will not be available in the other environment.

The new approach aims to solve this by separating only the parts that
are really needed into these special headers that are self-contained and
will not chain-include other (non-export) headers. TF-A code should
never include them directly but should instead always include the
respective wrapper header, which will include the required prerequisites
(like <stdint.h>) before including the export header. Third-party code
can include the export headers via its own wrappers that make sure the
necessary definitions are available in whatever way that environment can
provide them.

Change-Id: Ifd769320ba51371439a8e5dd5b79c2516c3b43ab
Signed-off-by: Julius Werner <jwerner@chromium.org>
2019-07-23 20:25:34 -07:00
..
allwinner Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
arm Rename Cortex-Deimos to Cortex-A77 2019-07-10 12:14:20 +02:00
common Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
hisilicon Use explicit-width data types in AAPCS parameter structs 2019-07-23 20:25:34 -07:00
imx Update imx platform to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
intel/soc Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
layerscape Update layerscape platform to not rely on undefined overflow behaviour 2019-07-11 12:10:58 +01:00
marvell Update marvell platform to not rely on undefined overflow behaviour 2019-07-11 12:10:51 +01:00
mediatek Update mediatek platform to not rely on undefined overflow behaviour 2019-07-12 09:12:12 +01:00
meson Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
nvidia/tegra Tegra: Fix typo in comment 2019-06-20 11:34:14 +02:00
qemu qemu: use new console interface in aarch32 2019-06-28 10:52:48 +01:00
renesas/rcar Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
rockchip Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
rpi3 rpi3: Fix compilation error when stack protector is enabled 2019-07-08 10:45:48 -05:00
socionext synquacer: Fix compilation fail for SPM support build config 2019-07-12 09:12:11 -05:00
st Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
ti/k3 ti: k3: common: Trap all asynchronous bus errors to EL3 2019-07-04 12:14:46 -04:00
xilinx zynqmp: add support for multi console interface 2019-07-01 11:35:34 +05:30