/ThreadX-v6.4.1/ports/cortex_m23/ac6/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m23/gnu/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 266 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 276 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 277 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 280 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 290 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 291 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 371 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m23/iar/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 367 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m33/ac6/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m33/gnu/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 264 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 278 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 288 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 289 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 366 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m33/iar/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 368 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m85/gnu/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 264 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 278 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 288 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 289 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 366 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m85/iar/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 368 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m55/ac6/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m55/gnu/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 264 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 278 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 288 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 289 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 366 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m55/iar/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 368 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_arch/ARMv8-M/threadx/ac6/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_arch/ARMv8-M/threadx/gnu/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 264 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 278 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 288 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 289 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 366 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_arch/ARMv8-M/threadx/iar/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 368 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports/cortex_m85/ac6/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m33/ac6/module_manager/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m33/gnu/module_manager/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 264 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 278 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 288 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 289 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 366 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m33/iar/module_manager/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 368 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m23/ac6/module_manager/src/ |
D | tx_thread_secure_stack.c | 219 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 261 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 269 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 270 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 275 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 284 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 285 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 363 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m23/gnu/module_manager/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 266 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 275 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 276 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 277 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 280 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 290 … asm volatile("MSR PSPLIM, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_limit))); in _tx_thread_secure_mode_stack_allocate() 291 … asm volatile("MSR PSP, %0" :: "r" ((ULONG)(info_ptr -> tx_thread_secure_stack_ptr))); in _tx_thread_secure_mode_stack_allocate() 371 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|
/ThreadX-v6.4.1/ports_module/cortex_m23/iar/module_manager/src/ |
D | tx_thread_secure_stack.c | 221 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_allocate() local 263 info_ptr = &tx_thread_secure_context[secure_context_index]; in _tx_thread_secure_mode_stack_allocate() 271 info_ptr -> tx_thread_secure_stack_limit = stack_mem; in _tx_thread_secure_mode_stack_allocate() 272 info_ptr -> tx_thread_secure_stack_start = stack_mem + stack_size; in _tx_thread_secure_mode_stack_allocate() 273 info_ptr -> tx_thread_secure_stack_ptr = info_ptr -> tx_thread_secure_stack_start; in _tx_thread_secure_mode_stack_allocate() 274 info_ptr -> tx_thread_ptr = thread_ptr; in _tx_thread_secure_mode_stack_allocate() 277 *(ULONG*)info_ptr -> tx_thread_secure_stack_start = TX_THREAD_STACK_SEAL_VALUE; in _tx_thread_secure_mode_stack_allocate() 286 __set_PSPLIM((ULONG)(info_ptr -> tx_thread_secure_stack_limit)); in _tx_thread_secure_mode_stack_allocate() 287 __set_PSP((ULONG)(info_ptr -> tx_thread_secure_stack_ptr)); in _tx_thread_secure_mode_stack_allocate() 367 TX_THREAD_SECURE_STACK_INFO *info_ptr; in _tx_thread_secure_mode_stack_free() local [all …]
|