| /rk3399_ARM-atf/include/drivers/ |
| H A D | gpio_spi.h | 21 int (*get_access)(struct spi_priv *context); 22 void (*release_access)(struct spi_priv *context); 23 void (*start)(struct spi_priv *context); 24 void (*stop)(struct spi_priv *context); 25 int (*xfer)(struct spi_priv *context, unsigned int bytes,
|
| /rk3399_ARM-atf/include/lib/extensions/ |
| H A D | sme.h | 26 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() argument 40 static inline void sme_disable(cpu_context_t *context) in sme_disable() argument
|
| /rk3399_ARM-atf/bl31/ |
| H A D | bl31_context_mgmt.c | 31 void cm_set_context(void *context, uint32_t security_state) in cm_set_context() argument 36 context); in cm_set_context() 58 void cm_set_context_by_index(unsigned int cpu_idx, void *context, in cm_set_context_by_index() argument 65 context); in cm_set_context_by_index()
|
| /rk3399_ARM-atf/include/lib/el3_runtime/ |
| H A D | context_mgmt.h | 28 void *context, 31 void cm_set_context(void *context, uint32_t security_state); 66 static inline void cm_set_next_context(void *context) in cm_set_next_context() argument 84 : : "r" (context)); in cm_set_next_context() 89 void cm_set_next_context(void *context);
|
| /rk3399_ARM-atf/lib/extensions/sme/ |
| H A D | sme.c | 17 void sme_enable(cpu_context_t *context) in sme_enable() argument 23 state = get_el3state_ctx(context); in sme_enable() 78 void sme_disable(cpu_context_t *context) in sme_disable() argument 84 state = get_el3state_ctx(context); in sme_disable()
|
| /rk3399_ARM-atf/drivers/gpio/ |
| H A D | gpio_spi.c | 48 static void gpio_spi_start(struct spi_priv *context) in gpio_spi_start() argument 55 static void gpio_spi_stop(struct spi_priv *context) in gpio_spi_stop() argument 61 static int gpio_spi_get_access(struct spi_priv *context) in gpio_spi_get_access() argument 67 static void gpio_spi_release_access(struct spi_priv *context) in gpio_spi_release_access() argument 102 static int gpio_spi_xfer(struct spi_priv *context, unsigned int bytes, in gpio_spi_xfer() argument
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | context-management-library.rst | 20 with a context management library to handle the context of the CPU, managing the 26 In TF-A, the context is represented as a data structure used by the EL3 firmware 29 level and security state. The memory for the context data structures are allocated 48 need to maintain world-specific context to ensure that register entries from one 57 for maintaining world-specific context essential for a trusted system. 58 This includes implementing CPU context initialization and management routines, 74 Key principles followed in designing the context management library : 84 2. **Decentralized model for context management** 87 in EL3 responsible for their respective world context management. 90 PSCI Library (BL31)/context management library provides routines to help [all …]
|
| H A D | xlat-tables-lib-v2-design.rst | 114 context* constitutes the superset of information used by the library to track 117 The library internally allocates a default translation context, which pertains 121 the default translation context or on an alternative one. 123 To register a translation context, the user must provide the library with the 128 The resulting translation context variable will be called after this name, to 130 ``foo``, the context variable name will be ``foo_xlat_ctx``. 138 Number of translation tables to statically allocate for this context, 142 for this context. 146 Size in bytes of the virtual address space to map using this context. This 153 Size in bytes of the physical address space to map using this context. [all …]
|
| H A D | index.rst | 31 context-management-library
|
| /rk3399_ARM-atf/lib/extensions/fgt/ |
| H A D | fgt2.c | 12 void fgt2_enable(cpu_context_t *context) in fgt2_enable() argument 17 state = get_el3state_ctx(context); in fgt2_enable()
|
| /rk3399_ARM-atf/include/lib/dice/ |
| H A D | dice.h | 102 void* context, const uint8_t cdi_attest[DICE_CDI_SIZE], 109 DiceResult DiceDeriveCdiCertificateId(void* context, 152 DiceResult DiceMainFlow(void* context,
|
| /rk3399_ARM-atf/drivers/nxp/crypto/caam/src/auth/ |
| H A D | hash.c | 64 int hash_update(enum hash_algo algo, void *context, void *data_ptr, in hash_update() argument 67 struct hash_ctx *ctx = context; in hash_update() 111 int hash_final(enum hash_algo algo, void *context, void *hash_ptr, in hash_final() argument 115 struct hash_ctx *ctx = context; in hash_final()
|
| /rk3399_ARM-atf/docs/security_advisories/ |
| H A D | security-advisory-tfv-8.rst | 26 When taking an exception to EL3, BL31 saves the CPU context. The aim is to 29 ``x0`` to ``x3`` are not part of the CPU context saved on the stack. 33 into the CPU context, typically using one of the ``SMC_RETx()`` macros provided 38 CPU context stored on the stack. This includes registers ``x0`` to ``x3``, as 39 can be seen in the ``lib/el3_runtime/aarch64/context.S`` file at line 339 46 * CPU context. x30 register must be explicitly restored by the caller. 53 remaining ones are left unchanged in the CPU context. As a result, 67 For this reason, TF-A does not save ``x0`` to ``x3`` in the CPU context on an 90 * spsr, lr, sp registers and the `scr` register to the SMC context on entry 97 /* Save r0 - r12 in the SMC context */
|
| /rk3399_ARM-atf/include/drivers/nxp/crypto/caam/ |
| H A D | hash.h | 78 int hash_update(enum hash_algo algo, void *context, void *data_ptr, 80 int hash_final(enum hash_algo algo, void *context, void *hash_ptr,
|
| /rk3399_ARM-atf/bl32/sp_min/ |
| H A D | sp_min_main.c | 80 void cm_set_context(void *context, uint32_t security_state) in cm_set_context() argument 83 sp_min_cpu_ctx_ptr[plat_my_core_pos()] = context; in cm_set_context() 103 void cm_set_context_by_index(unsigned int cpu_idx, void *context, in cm_set_context_by_index() argument 107 sp_min_cpu_ctx_ptr[cpu_idx] = context; in cm_set_context_by_index()
|
| /rk3399_ARM-atf/include/drivers/arm/ |
| H A D | dsu.h | 28 #define restore_pmu_reg(context, reg) write_##reg(context->reg) argument
|
| /rk3399_ARM-atf/bl1/aarch32/ |
| H A D | bl1_context_mgmt.c | 56 void cm_set_next_context(void *context) in cm_set_next_context() argument 58 assert(context != NULL); in cm_set_next_context() 59 bl1_next_cpu_context_ptr = context; in cm_set_next_context()
|
| /rk3399_ARM-atf/docs/getting_started/ |
| H A D | build-internals.rst | 10 - ``CTX_INCLUDE_EL2_REGS``: This boolean option provides context save/restore 11 operations when entering/exiting an EL2 execution context. This is of primary
|
| /rk3399_ARM-atf/fdts/ |
| H A D | stm32mp257f-ev1-ca35tdcid-fw-config.dtsi | 25 bl31_context: bl31-context@81fc0000 {
|
| H A D | stm32mp257f-dk-ca35tdcid-fw-config.dtsi | 25 bl31_context: bl31-context@81fc0000 {
|
| /rk3399_ARM-atf/lib/psci/ |
| H A D | psci_lib.mk | 22 PSCI_LIB_SOURCES += lib/el3_runtime/aarch64/context.S
|
| /rk3399_ARM-atf/bl1/ |
| H A D | bl1.mk | 20 BL1_SOURCES += lib/el3_runtime/aarch64/context.S \
|
| /rk3399_ARM-atf/tools/conventional-changelog-tf-a/ |
| H A D | index.js | 168 writerOpts.transform = function (commit, context) { argument 193 return ccWriterOptsTransform(commit, context);
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | interrupt-framework-design.rst | 37 context. It is always handled in Secure-EL1. 41 current execution context. It is always handled in either Non-secure EL1 45 depending upon the security state of the current execution context. It is 195 For example, in Arm GICv3, when the execution context is Secure-EL1/ 341 via the context management library APIs. 342 A portable interrupt handler implementation must set the target context both in 343 the structure pointed to by the returned pointer and via the context management 371 context management library maintains a copy of the ``SCR_EL3`` system register for 634 #. Saving the entire general purpose register context (x0-x30) immediately 680 function is responsible for restoring the register context from the [all …]
|
| /rk3399_ARM-atf/lib/extensions/idte/ |
| H A D | idte3.c | 278 void idte3_enable(cpu_context_t *context) in idte3_enable() argument 283 state = get_el3state_ctx(context); in idte3_enable()
|