Home
last modified time | relevance | path

Searched refs:cpu_context_t (Results 1 – 25 of 64) sorted by relevance

123

/rk3399_ARM-atf/include/lib/extensions/
H A Dtrbe.h13 void trbe_enable_ns(cpu_context_t *ctx);
14 void trbe_disable_ns(cpu_context_t *ctx);
15 void trbe_disable_secure(cpu_context_t *ctx);
16 void trbe_disable_realm(cpu_context_t *ctx);
19 static inline void trbe_enable_ns(cpu_context_t *ctx) in trbe_enable_ns()
22 static inline void trbe_disable_ns(cpu_context_t *ctx) in trbe_disable_ns()
25 static inline void trbe_disable_secure(cpu_context_t *ctx) in trbe_disable_secure()
28 static inline void trbe_disable_realm(cpu_context_t *ctx) in trbe_disable_realm()
H A Dspe.h14 void spe_enable_ns(cpu_context_t *ctx);
15 void spe_disable_secure(cpu_context_t *ctx);
16 void spe_disable_realm(cpu_context_t *ctx);
19 static inline void spe_enable_ns(cpu_context_t *ctx) in spe_enable_ns()
22 static inline void spe_disable_secure(cpu_context_t *ctx) in spe_disable_secure()
25 static inline void spe_disable_realm(cpu_context_t *ctx) in spe_disable_realm()
H A Dtcr2.h13 void tcr2_enable(cpu_context_t *ctx);
14 void tcr2_disable(cpu_context_t *ctx);
16 static inline void tcr2_enable(cpu_context_t *ctx) in tcr2_enable()
19 static inline void tcr2_disable(cpu_context_t *ctx) in tcr2_disable()
H A Dsme.h26 void sme_enable(cpu_context_t *context);
27 void sme_disable(cpu_context_t *context);
37 static inline void sme_enable(cpu_context_t *context) in sme_enable()
40 static inline void sme_disable(cpu_context_t *context) in sme_disable()
H A Dbrbe.h13 void brbe_enable(cpu_context_t *ctx);
15 static inline void brbe_enable(cpu_context_t *ctx) in brbe_enable()
H A Ddebug_v8p9.h13 void debugv8p9_extended_bp_wp_enable(cpu_context_t *ctx);
15 static inline void debugv8p9_extended_bp_wp_enable(cpu_context_t *ctx) in debugv8p9_extended_bp_wp_enable()
H A Dfgt2.h13 void fgt2_enable(cpu_context_t *ctx);
15 static inline void fgt2_enable(cpu_context_t *ctx) in fgt2_enable()
H A Dtrf.h15 void trf_enable(cpu_context_t *ctx);
24 static inline void trf_enable(cpu_context_t *ctx) in trf_enable()
H A Didte3.h126 void idte3_enable(cpu_context_t *ctx);
127 int handle_idreg_trap(uint64_t esr_el3, cpu_context_t *ctx,
132 static inline void idte3_enable(cpu_context_t *ctx) in idte3_enable()
135 static inline int handle_idreg_trap(uint64_t esr_el3, cpu_context_t *ctx, in handle_idreg_trap()
H A Damu.h19 void amu_enable(cpu_context_t *ctx);
29 void amu_enable(cpu_context_t *ctx) in amu_enable()
H A Dpmuv3.h15 void pmuv3_enable(cpu_context_t *ctx);
/rk3399_ARM-atf/lib/extensions/trbe/
H A Dtrbe.c42 void trbe_enable_ns(cpu_context_t *ctx) in trbe_enable_ns()
53 static void trbe_disable_all(cpu_context_t *ctx, bool ns) in trbe_disable_all()
72 void trbe_disable_ns(cpu_context_t *ctx) in trbe_disable_ns()
77 void trbe_disable_secure(cpu_context_t *ctx) in trbe_disable_secure()
82 void trbe_disable_realm(cpu_context_t *ctx) in trbe_disable_realm()
/rk3399_ARM-atf/include/lib/el3_runtime/aarch64/
H A Dcontext.h309 } __aligned(CACHE_WRITEBACK_GRANULE) cpu_context_t; typedef
340 #define get_el3state_ctx(h) (&((cpu_context_t *) h)->el3state_ctx)
343 #define get_el2_sysregs_ctx(h) (&((cpu_context_t *) h)->el2_sysregs_ctx)
345 #define get_el1_sysregs_ctx(h) (&((cpu_context_t *) h)->el1_sysregs_ctx)
348 #define get_gpregs_ctx(h) (&((cpu_context_t *) h)->gpregs_ctx)
349 #define get_cve_2018_3639_ctx(h) (&((cpu_context_t *) h)->cve_2018_3639_ctx)
352 #define get_errata_speculative_at_ctx(h) (&((cpu_context_t *) h)->errata_speculative_at_ctx)
356 # define get_pauth_ctx(h) (&((cpu_context_t *) h)->pauth_ctx)
364 CASSERT(CTX_GPREGS_OFFSET == __builtin_offsetof(cpu_context_t, gpregs_ctx),
367 CASSERT(CTX_EL3STATE_OFFSET == __builtin_offsetof(cpu_context_t, el3state_ctx),
[all …]
/rk3399_ARM-atf/include/bl31/
H A Dsync_handle.h58 int handle_sysreg_trap(uint64_t esr_el3, cpu_context_t *ctx,
62 void inject_undef64(cpu_context_t *ctx);
67 int plat_handle_impdef_trap(uint64_t esr_el3, cpu_context_t *ctx);
68 int plat_handle_rng_trap(uint64_t esr_el3, cpu_context_t *ctx);
/rk3399_ARM-atf/lib/extensions/spe/
H A Dspe.c52 void spe_enable_ns(cpu_context_t *ctx) in spe_enable_ns()
67 static void spe_disable_others(cpu_context_t *ctx) in spe_disable_others()
78 void spe_disable_secure(cpu_context_t *ctx) in spe_disable_secure()
83 void spe_disable_realm(cpu_context_t *ctx) in spe_disable_realm()
/rk3399_ARM-atf/include/lib/el3_runtime/aarch32/
H A Dcontext.h55 } cpu_context_t; typedef
58 #define get_regs_ctx(h) (&((cpu_context_t *) h)->regs_ctx)
65 CASSERT(CTX_REGS_OFFSET == __builtin_offsetof(cpu_context_t, regs_ctx),
/rk3399_ARM-atf/lib/extensions/tcr/
H A Dtcr2.c12 void tcr2_enable(cpu_context_t *ctx) in tcr2_enable()
28 void tcr2_disable(cpu_context_t *ctx) in tcr2_disable()
/rk3399_ARM-atf/bl1/aarch32/
H A Dbl1_context_mgmt.c22 static cpu_context_t bl1_cpu_context[2];
96 sizeof(cpu_context_t)); in flush_smc_and_cpu_ctx()
147 cpu_context_t *ctx = cm_get_context(security_state); in bl1_prepare_next_image()
/rk3399_ARM-atf/lib/extensions/sme/
H A Dsme.c17 void sme_enable(cpu_context_t *context) in sme_enable()
78 void sme_disable(cpu_context_t *context) in sme_disable()
/rk3399_ARM-atf/lib/el3_runtime/aarch64/
H A Dcontext_mgmt.c53 static void manage_extensions_nonsecure(cpu_context_t *ctx);
54 static void manage_extensions_secure(cpu_context_t *ctx);
57 static void setup_el1_context(cpu_context_t *ctx, const struct entry_point_info *ep) in setup_el1_context()
120 static void setup_secure_context(cpu_context_t *ctx, const struct entry_point_info *ep) in setup_secure_context()
161 static void setup_realm_context(cpu_context_t *ctx, const struct entry_point_info *ep) in setup_realm_context()
232 static void setup_ns_context(cpu_context_t *ctx, const struct entry_point_info *ep) in setup_ns_context()
389 static void setup_context_common(cpu_context_t *ctx, const entry_point_info_t *ep) in setup_context_common()
654 void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep) in cm_setup_context()
894 static void manage_extensions_nonsecure(cpu_context_t *ctx) in manage_extensions_nonsecure()
988 static void manage_extensions_secure(cpu_context_t *ctx) in manage_extensions_secure()
[all …]
/rk3399_ARM-atf/lib/el3_runtime/aarch32/
H A Dcontext_mgmt.c58 void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep) in cm_setup_context()
165 cpu_context_t *ctx; in cm_init_my_context()
181 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit()
/rk3399_ARM-atf/plat/nvidia/tegra/common/
H A Dtegra_fiq_glue.c42 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler()
129 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
/rk3399_ARM-atf/lib/extensions/fgt/
H A Dfgt2.c12 void fgt2_enable(cpu_context_t *context) in fgt2_enable()
/rk3399_ARM-atf/lib/extensions/debug/
H A Ddebugv8p9.c12 void debugv8p9_extended_bp_wp_enable(cpu_context_t *ctx) in debugv8p9_extended_bp_wp_enable()
/rk3399_ARM-atf/plat/arm/common/aarch64/
H A Dexecution_state_switch.c45 cpu_context_t *ctx = (cpu_context_t *) handle; in arm_execution_state_switch()

123