aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2020-04-01 09:55:49 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2020-04-01 14:46:42 -0700
commit25d819a308faba6190ca18cce3ec4ed7c783b6c9 (patch)
treee7187951570225dd167f5c0a3732a1edff40c57b /include
parent0f99bf32df156b7b87454278b049c65221eeeb84 (diff)
downloadplatform_external_arm-trusted-firmware-25d819a308faba6190ca18cce3ec4ed7c783b6c9.tar.gz
platform_external_arm-trusted-firmware-25d819a308faba6190ca18cce3ec4ed7c783b6c9.tar.bz2
platform_external_arm-trusted-firmware-25d819a308faba6190ca18cce3ec4ed7c783b6c9.zip
include: fixup 'cm_setup_context' prototype
This patch changes the prototype cm_setup_context() to use struct entry_point_info rather than the typedef'ed version of it. This fixes the following compilation error seen with EL3_EXCEPTION_HANDLING = 1. <snip> In file included from bl31/ehf.c:19: include/lib/el3_runtime/context_mgmt.h:35:49: error: unknown type name 'entry_point_info_t' 35 | void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep); | ^~~~~~~~~~~~~~~~~~ <snip> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I73b059ff2dade2259cefd0f9a097c7ea4a88055d
Diffstat (limited to 'include')
-rw-r--r--include/lib/el3_runtime/context_mgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/el3_runtime/context_mgmt.h b/include/lib/el3_runtime/context_mgmt.h
index b36cd3d70..2090687ee 100644
--- a/include/lib/el3_runtime/context_mgmt.h
+++ b/include/lib/el3_runtime/context_mgmt.h
@@ -32,7 +32,7 @@ void cm_set_context(void *context, uint32_t security_state);
void cm_init_my_context(const struct entry_point_info *ep);
void cm_init_context_by_index(unsigned int cpu_idx,
const struct entry_point_info *ep);
-void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep);
+void cm_setup_context(cpu_context_t *ctx, const struct entry_point_info *ep);
void cm_prepare_el3_exit(uint32_t security_state);
#ifdef __aarch64__