diff options
| author | Manish Pandey <manish.pandey2@arm.com> | 2026-09-07 21:33:45 +0000 |
|---|---|---|
| committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2026-09-07 21:33:45 +0000 |
| commit | 38269bb73d34b4a31100adf208a27e4c28e7d611 (patch) | |
| tree | 0d383dafca63c22ef6cc475ce347a76c641cca50 /include | |
| parent | 58f4fe3a0b8b97fd097aff2ec884cc77ac535650 (diff) | |
| parent | d7135a7214e49c6364ba518cdac343aa595a8db8 (diff) | |
| download | arm-trusted-firmware-38269bb73d34b4a31100adf208a27e4c28e7d611.tar.gz arm-trusted-firmware-38269bb73d34b4a31100adf208a27e4c28e7d611.zip | |
* changes:
feat(st): enable some warning flags
feat(build): enable -Wundef for C files if W >= 1
refactor(zlib): move zlib to a lib
refactor(compiler-rt): move compiler_rt to a lib
feat(build): introduce BL_FLAGS
fix(st-usb): staticize dwc3_dev_init
fix(st): staticize verify_signature
fix(stm32mp1): manage all flags for PKA algos
refactor(st-clock): remove STM32MP_M33_TDCID flag
fix(xlat): check definition of PLAT_XLAT_TABLES_DYNAMIC flag
fix(el3-runtime): add some missing prototypes
fix(scmi): remove scmi_msg_get_voltage_handler
fix(io): correct SIZE_MAX management
fix(libc): define __BSD_VISIBLE to 0
fix(build): move FIRME_SUPPORT flags to Makefile
Diffstat (limited to 'include')
| -rw-r--r-- | include/common/runtime_svc.h | 3 | ||||
| -rw-r--r-- | include/lib/el3_runtime/context_el1.h | 2 | ||||
| -rw-r--r-- | include/lib/extensions/sysreg128.h | 2 | ||||
| -rw-r--r-- | include/lib/libc/cdefs.h | 2 | ||||
| -rw-r--r-- | include/lib/xlat_tables/xlat_tables_v2.h | 2 | ||||
| -rw-r--r-- | include/lib/xlat_tables/xlat_tables_v2_helpers.h | 4 |
6 files changed, 11 insertions, 4 deletions
diff --git a/include/common/runtime_svc.h b/include/common/runtime_svc.h index 26e8d6f28..0547adf2c 100644 --- a/include/common/runtime_svc.h +++ b/include/common/runtime_svc.h @@ -7,6 +7,7 @@ #ifndef RUNTIME_SVC_H #define RUNTIME_SVC_H +#include <context.h> #include <common/bl_common.h> /* to include exception types */ #include <lib/cassert.h> #include <lib/utils_def.h> @@ -125,6 +126,8 @@ static inline uint32_t get_unique_oen_from_smc_fid(uint32_t fid) /******************************************************************************* * Function & variable prototypes ******************************************************************************/ +void handler_interrupt_exception(cpu_context_t *ctx); +void handler_sync_exception(cpu_context_t *ctx); void runtime_svc_init(void); uintptr_t handle_runtime_svc(uint32_t smc_fid, void *cookie, void *handle, unsigned int flags); diff --git a/include/lib/el3_runtime/context_el1.h b/include/lib/el3_runtime/context_el1.h index f320d2c5f..3011f0c10 100644 --- a/include/lib/el3_runtime/context_el1.h +++ b/include/lib/el3_runtime/context_el1.h @@ -11,6 +11,8 @@ #ifndef __ASSEMBLER__ +#include <stdint.h> + /******************************************************************************* * EL1 Registers: * AArch64 EL1 system register context structure for preserving the diff --git a/include/lib/extensions/sysreg128.h b/include/lib/extensions/sysreg128.h index 8854856b6..433633323 100644 --- a/include/lib/extensions/sysreg128.h +++ b/include/lib/extensions/sysreg128.h @@ -9,9 +9,9 @@ #ifndef __ASSEMBLER__ -#if ENABLE_FEAT_D128 #include <stdint.h> +#if ENABLE_FEAT_D128 typedef uint128_t sysreg_t; #define PAR_EL1_D128 (((sysreg_t)(1ULL)) << (64)) diff --git a/include/lib/libc/cdefs.h b/include/lib/libc/cdefs.h index ecedb264c..1c708b3cf 100644 --- a/include/lib/libc/cdefs.h +++ b/include/lib/libc/cdefs.h @@ -55,4 +55,6 @@ #define __predict_true(exp) (exp) #define __predict_false(exp) (exp) +#define __BSD_VISIBLE 0 + #endif /* CDEFS_H */ diff --git a/include/lib/xlat_tables/xlat_tables_v2.h b/include/lib/xlat_tables/xlat_tables_v2.h index 88c23e15b..d2c3a8c95 100644 --- a/include/lib/xlat_tables/xlat_tables_v2.h +++ b/include/lib/xlat_tables/xlat_tables_v2.h @@ -298,7 +298,7 @@ void mmap_add_region_alloc_va_ctx(xlat_ctx_t *ctx, mmap_region_t *mm); */ void mmap_add_alloc_va(mmap_region_t *mm); -#if PLAT_XLAT_TABLES_DYNAMIC +#if defined(PLAT_XLAT_TABLES_DYNAMIC) && PLAT_XLAT_TABLES_DYNAMIC /* * Add a dynamic region with defined base PA and base VA. This type of region * can be added and removed even after the translation tables are initialized. diff --git a/include/lib/xlat_tables/xlat_tables_v2_helpers.h b/include/lib/xlat_tables/xlat_tables_v2_helpers.h index 77277615f..8af1f9f70 100644 --- a/include/lib/xlat_tables/xlat_tables_v2_helpers.h +++ b/include/lib/xlat_tables/xlat_tables_v2_helpers.h @@ -78,7 +78,7 @@ struct xlat_ctx { * Keep track of how many regions are mapped in each table. The base * table can't be unmapped so it isn't needed to keep track of it. */ -#if PLAT_XLAT_TABLES_DYNAMIC +#if defined(PLAT_XLAT_TABLES_DYNAMIC) && PLAT_XLAT_TABLES_DYNAMIC int *tables_mapped_regions; #endif /* PLAT_XLAT_TABLES_DYNAMIC */ @@ -112,7 +112,7 @@ struct xlat_ctx { int xlat_regime; }; -#if PLAT_XLAT_TABLES_DYNAMIC +#if defined(PLAT_XLAT_TABLES_DYNAMIC) && PLAT_XLAT_TABLES_DYNAMIC #define XLAT_ALLOC_DYNMAP_STRUCT(_ctx_name, _xlat_tables_count) \ static int _ctx_name##_mapped_regions[_xlat_tables_count]; |
