Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 29) sorted by relevance

12

/libcpu/arm/cortex-m3/
A Dcpuport.c50 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
298 struct stack_frame *context = &exception_info->stack_frame; in rt_hw_hard_fault_exception() local
311 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); in rt_hw_hard_fault_exception()
315 rt_kprintf("r04: 0x%08x\n", context->r4); in rt_hw_hard_fault_exception()
316 rt_kprintf("r05: 0x%08x\n", context->r5); in rt_hw_hard_fault_exception()
317 rt_kprintf("r06: 0x%08x\n", context->r6); in rt_hw_hard_fault_exception()
318 rt_kprintf("r07: 0x%08x\n", context->r7); in rt_hw_hard_fault_exception()
319 rt_kprintf("r08: 0x%08x\n", context->r8); in rt_hw_hard_fault_exception()
320 rt_kprintf("r09: 0x%08x\n", context->r9); in rt_hw_hard_fault_exception()
321 rt_kprintf("r10: 0x%08x\n", context->r10); in rt_hw_hard_fault_exception()
[all …]
A Dcontext_iar.S75 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
86 ; disable interrupt to protect context switch
149 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
179 ; get current context
180 MRS r0, msp ; get fault context from handler.
183 MRS r0, psp ; get fault context from thread.
A Dcontext_rvds.S77 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
89 ; disable interrupt to protect context switch
155 ; trigger the PendSV exception (causes context switch)
187 ; get current context
190 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
191 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
/libcpu/arm/cortex-m4/
A Dcpuport.c37 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
378 struct stack_frame *context = &exception_info->stack_frame; in rt_hw_hard_fault_exception() local
390 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); in rt_hw_hard_fault_exception()
394 rt_kprintf("r04: 0x%08x\n", context->r4); in rt_hw_hard_fault_exception()
395 rt_kprintf("r05: 0x%08x\n", context->r5); in rt_hw_hard_fault_exception()
396 rt_kprintf("r06: 0x%08x\n", context->r6); in rt_hw_hard_fault_exception()
397 rt_kprintf("r07: 0x%08x\n", context->r7); in rt_hw_hard_fault_exception()
398 rt_kprintf("r08: 0x%08x\n", context->r8); in rt_hw_hard_fault_exception()
399 rt_kprintf("r09: 0x%08x\n", context->r9); in rt_hw_hard_fault_exception()
400 rt_kprintf("r10: 0x%08x\n", context->r10); in rt_hw_hard_fault_exception()
[all …]
A Dcontext_iar.S80 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
91 ; disable interrupt to protect context switch
199 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
233 ; get current context
234 MRS r0, msp ; get fault context from handler.
237 MRS r0, psp ; get fault context from thread.
A Dcontext_rvds.S80 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
92 ; disable interrupt to protect context switch
197 ; trigger the PendSV exception (causes context switch)
233 ; get current context
236 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
237 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
/libcpu/arm/cortex-m85/
A Dcpuport.c36 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
375 struct stack_frame *context = &exception_info->stack_frame; in rt_hw_hard_fault_exception() local
387 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); in rt_hw_hard_fault_exception()
391 rt_kprintf("r04: 0x%08x\n", context->r4); in rt_hw_hard_fault_exception()
392 rt_kprintf("r05: 0x%08x\n", context->r5); in rt_hw_hard_fault_exception()
393 rt_kprintf("r06: 0x%08x\n", context->r6); in rt_hw_hard_fault_exception()
394 rt_kprintf("r07: 0x%08x\n", context->r7); in rt_hw_hard_fault_exception()
395 rt_kprintf("r08: 0x%08x\n", context->r8); in rt_hw_hard_fault_exception()
396 rt_kprintf("r09: 0x%08x\n", context->r9); in rt_hw_hard_fault_exception()
397 rt_kprintf("r10: 0x%08x\n", context->r10); in rt_hw_hard_fault_exception()
[all …]
/libcpu/arm/cortex-m7/
A Dcpuport.c39 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
402 struct stack_frame *context = &exception_info->stack_frame; in rt_hw_hard_fault_exception() local
414 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); in rt_hw_hard_fault_exception()
418 rt_kprintf("r04: 0x%08x\n", context->r4); in rt_hw_hard_fault_exception()
419 rt_kprintf("r05: 0x%08x\n", context->r5); in rt_hw_hard_fault_exception()
420 rt_kprintf("r06: 0x%08x\n", context->r6); in rt_hw_hard_fault_exception()
421 rt_kprintf("r07: 0x%08x\n", context->r7); in rt_hw_hard_fault_exception()
422 rt_kprintf("r08: 0x%08x\n", context->r8); in rt_hw_hard_fault_exception()
423 rt_kprintf("r09: 0x%08x\n", context->r9); in rt_hw_hard_fault_exception()
424 rt_kprintf("r10: 0x%08x\n", context->r10); in rt_hw_hard_fault_exception()
[all …]
A Dcontext_iar.S77 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
88 ; disable interrupt to protect context switch
196 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
226 ; get current context
227 MRS r0, msp ; get fault context from handler.
230 MRS r0, psp ; get fault context from thread.
A Dcontext_rvds.S79 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
91 ; disable interrupt to protect context switch
196 ; trigger the PendSV exception (causes context switch)
230 ; get current context
233 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
234 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
/libcpu/arm/cortex-m33/
A Dcpuport.c40 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
460 struct stack_frame *context = &exception_info->stack_frame; in rt_hw_hard_fault_exception() local
472 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); in rt_hw_hard_fault_exception()
476 rt_kprintf("r04: 0x%08x\n", context->r4); in rt_hw_hard_fault_exception()
477 rt_kprintf("r05: 0x%08x\n", context->r5); in rt_hw_hard_fault_exception()
478 rt_kprintf("r06: 0x%08x\n", context->r6); in rt_hw_hard_fault_exception()
479 rt_kprintf("r07: 0x%08x\n", context->r7); in rt_hw_hard_fault_exception()
480 rt_kprintf("r08: 0x%08x\n", context->r8); in rt_hw_hard_fault_exception()
481 rt_kprintf("r09: 0x%08x\n", context->r9); in rt_hw_hard_fault_exception()
482 rt_kprintf("r10: 0x%08x\n", context->r10); in rt_hw_hard_fault_exception()
[all …]
A Dtrustzone.c60 void rt_trustzone_context_store(rt_ubase_t context) in rt_trustzone_context_store() argument
62 TZ_StoreContext_S(context); in rt_trustzone_context_store()
65 void rt_trustzone_context_load(rt_ubase_t context) in rt_trustzone_context_load() argument
67 TZ_LoadContext_S(context); in rt_trustzone_context_load()
A Dsyscall_rvds.S52 MRS R1, MSP ;get fault context from handler
55 MRS R1, PSP ;get fault context from thread
A Dcontext_iar.S80 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
91 ; disable interrupt to protect context switch
171 ; update current TrustZone context
241 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
271 ; get current context
272 MRS r0, msp ; get fault context from handler.
275 MRS r0, psp ; get fault context from thread.
A Dcontext_rvds.S82 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
94 ; disable interrupt to protect context switch
171 ; update current TrustZone context
242 ; trigger the PendSV exception (causes context switch)
274 ; get current context
275 MRS r0, msp ; get fault context from handler
278 MRS r0, psp ; get fault context from thread
/libcpu/arm/cortex-m0/
A Dcontext_iar.S75 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
86 ; disable interrupt to protect context switch
173 ; trigger the PendSV exception (causes context switch)
204 ; get current context
A Dcontext_rvds.S78 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
90 ; disable interrupt to protect context switch
178 ; trigger the PendSV exception (causes context switch)
210 ; get current context
/libcpu/arm/cortex-m23/
A Dcontext_iar.S76 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
87 ; disable interrupt to protect context switch
174 ; trigger the PendSV exception (causes context switch)
205 ; get current context
A Dcontext_rvds.S79 LDR r0, =NVIC_INT_CTRL ; trigger the PendSV exception (causes context switch)
91 ; disable interrupt to protect context switch
179 ; trigger the PendSV exception (causes context switch)
211 ; get current context
/libcpu/arm/arm926/
A Dtrap.c44 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
45 void rt_hw_exception_install(rt_err_t (*exception_handle)(void *context)) in rt_hw_exception_install() argument
/libcpu/ti-dsp/c28x/
A Dcpuport.c27 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
135 void rt_hw_exception_install(rt_err_t (*exception_handle)(void *context)) in rt_hw_exception_install() argument
/libcpu/arm/cortex-r52/
A Dtrap.c42 static rt_err_t (*rt_exception_hook)(void *context) = RT_NULL;
49 void rt_hw_exception_install(rt_err_t (*exception_handle)(void *context)) in rt_hw_exception_install() argument
/libcpu/arc/em/
A Dcpuport.c61 void rt_hw_exception_install(rt_err_t (*exception_handle)(void *context)) in rt_hw_exception_install() argument
/libcpu/ti-dsp/c6x/
A Dcontext.asm12 ; context switch for C6000 DSP
A Dintexc.asm134 ; return from trap restore exception context

Completed in 26 milliseconds

12