arm-trusted-firmware/include
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
..
arch Aarch64: Fix SCTLR bit definitions 2019-07-10 11:26:45 +01:00
bl1 BL1: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 BL31: Enable pointer authentication support 2019-02-27 11:58:10 +00:00
bl32 sp_min: make sp_min_warm_entrypoint public 2019-04-25 13:37:56 +02:00
common Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
drivers Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
dt-bindings stm32mp1: update device tree files 2019-01-18 15:45:08 +01:00
export Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
lib Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
plat n1sdp: add code for DDR ECC enablement and BL33 copy to DDR 2019-06-26 14:07:51 +01:00
services Remove support for the SMC Calling Convention 2.0 2019-01-30 16:01:49 +00:00
tools_share Sanitise includes across codebase 2019-01-04 10:43:17 +00:00