Home
last modified time | relevance | path

Searched refs:a0 (Results 1 – 25 of 27) sorted by relevance

12

/Kernel-v11.1.0/portable/ThirdParty/XCC/Xtensa/
Dxtensa_vectors.S176 rsr a0, EPC_1 + \level - 1 /* return address */
178 or a0, a0, a4 /* set top 2 bits */
179 addx2 a0, a4, a0 /* clear top bit -- simulating call4 size */
313 addi a4, a0, -3 /* point to call0 */
407 wsr a0, EXCSAVE+XCHAL_DEBUGLEVEL /* save original a0 somewhere */
457 wsr a0, EXCSAVE_1 /* preserve a0 */
489 wsr a0, EXCSAVE_1 /* preserve a0 */
538 rsr a0, EXCCAUSE
539 beqi a0, EXCCAUSE_LEVEL1INTERRUPT, _xt_lowint1
545 bgeui a0, EXCCAUSE_CP0_DISABLED, _xt_to_coproc_exc
[all …]
Dportasm.S101 mov a12, a0
128 mov a0, a12 /* restore return addr and return */
153 rsil a0, XCHAL_EXCM_LEVEL /* lock out interrupts */
210 l32i a0, a1, XT_STK_EXIT
392 l32i a0, sp, XT_SOL_PC
436 l32i a0, sp, XT_STK_EXIT
468 s32i a0, sp, XT_SOL_PC
Dxtensa_context.h104 STRUCT_FIELD (long, 4, XT_STK_A0, a0)
214 STRUCT_FIELD (long, 4, XT_SOL_A0, a0) /* should be on 16-byte alignment */
335 s32i a0, sp, 0
340 l32i a0, sp, 0
Dxtensa_context.S145 mov a9, a0 /* preserve ret addr */
200 mov a0, a9 /* retrieve ret addr */
245 mov a13, a0 /* preserve ret addr */
252 mov a0, a13 /* retrieve ret addr */
449 mov a14, a0 /* save return address */
451 mov a0, a14 /* restore return address */
553 mov a14, a0 /* save return address */
555 mov a0, a14 /* restore return address */
Dport.c91 frame->a0 = 0; /* to terminate GDB backtrace */ in pxPortInitialiseStack()
/Kernel-v11.1.0/portable/ThirdParty/GCC/Xtensa_ESP32/
Dxtensa_vectors.S245 rsr a0, EXCSAVE_1 + \level - 1 /* Get exception frame pointer stored in EXCSAVE_x */
246 l32i a3, a0, XT_STK_A0 /* Copy pre-exception a0 (return address) */
248 l32i a3, a0, XT_STK_A1 /* Copy pre-exception a1 (stack pointer) */
255 rsr a0, EPC_1 + \level - 1 /* return address */
257 or a0, a0, a4 /* set top 2 bits */
258 addx2 a0, a4, a0 /* clear top bit -- simulating call4 size */
405 mov a0, sp
407 s32i a0, sp, XT_STK_A1
409 s32e a0, sp, -12 /* for debug backtrace */
411 rsr a0, PS /* save interruptee's PS */
[all …]
Dxtensa_vector_defaults.S34 getcoreid a0
36 beqz a0, 1f
38 bnez a0, 1f
41 rsr a0, DEBUGCAUSE
42 extui a0, a0, XT_DEBUGCAUSE_DI, 1
43 bnez a0, _xt_debug_di_exc
47 movi a0,PANIC_RSN_DEBUGEXCEPTION
48 wsr a0,EXCCAUSE
52 rsr a0,(EPC + XCHAL_DEBUGLEVEL)
53 wsr a0,EPC_1
[all …]
Dxtensa_loadstore_handler.S67 wsr a0, depc // Save return address in depc
68 mov a0, sp
70 s32i a0, sp, 0x04 // Since a0 contains value of a1
75 rsr a0, sar // Save SAR in a0 to restore later
130 wsr a0, sar
131 rsr a0, excsave1
196 wsr a0, sar
204 rsr a0, excsave1
261 wsr a0, depc // Save return address in depc
262 mov a0, sp
[all …]
Dxtensa_context.S155 mov a9, a0 /* preserve ret addr */
235 movi a0, PS_INTLEVEL_MASK
236 and a3, a2, a0 /* get the current INTLEVEL */
240 movi a0, PS_UM | PS_WOE /* clear EXCM, enable window overflow, set new INTLEVEL */
241 or a3, a3, a0
243 rsr a0, EPC1 /* to be restored after SPILL_ALL_WINDOWS */
252 wsr a0, EPC1 /* likewise */
262 mov a0, a9 /* retrieve ret addr */
309 mov a13, a0 /* preserve ret addr */
316 mov a0, a13 /* retrieve ret addr */
[all …]
Dportasm.S115 mov a12, a0
169 mov a0, a12 /* restore return addr and return */
197 rsil a0, XCHAL_EXCM_LEVEL /* lock out interrupts */
267 l32i a0, a1, XT_STK_EXIT
474 l32i a0, sp, XT_SOL_PC
520 l32i a0, sp, XT_STK_EXIT
552 s32i a0, sp, XT_SOL_PC
/Kernel-v11.1.0/portable/MPLAB/PIC32MZ/
Dport_asm.S219 sw a0, 60(s5)
365 lw a0, 60(s5)
481 sw a0, 60(s5)
601 lw a0, 60(s5)
670 ctc1 a0, $f31
673 addiu a0, zero, 0x0000
674 portFPUSetAndInc a0, $f0
675 portFPUSetAndInc a0, $f1
676 portFPUSetAndInc a0, $f2
677 portFPUSetAndInc a0, $f3
[all …]
DISR_Support.h214 sw a0, 60(s5)
344 lw a0, 60(s5)
/Kernel-v11.1.0/portable/IAR/RISC-V/
DportASM.s110 load_x a0, pullMachineTimerCompareRegister /* Load address of compare register into a0. */
119 …sw a4, 0(a0) /* Low word no smaller than old value to start with - will be overwrit…
120 …sw a3, 4(a0) /* Store high word of ullNextTime into compare register. No smaller t…
121 sw a2, 0(a0) /* Store low word of ullNextTime into compare register. */
135 sd t2, 0(a0) /* Store ullNextTime into compare register. */
214 addi a0, a0, -portWORD_SIZE
215 store_x t0, 0(a0) /* mstatus onto the stack. */
216 addi a0, a0, -portWORD_SIZE /* Space for critical nesting count. */
217 store_x x0, 0(a0) /* Critical nesting count starts at 0 for every task. */
219 addi a0, a0, -(6 * portWORD_SIZE) /* Space for registers x10-15. */
[all …]
DportContext.h117 csrr a0, mcause
127 csrr a0, mcause
/Kernel-v11.1.0/portable/GCC/RISC-V/
DportASM.S101 load_x a0, pullMachineTimerCompareRegister /* Load address of compare register into a0. */
110 …sw a4, 0(a0) /* Low word no smaller than old value to start with - will be overwrit…
111 …sw a3, 4(a0) /* Store high word of ullNextTime into compare register. No smaller t…
112 sw a2, 0(a0) /* Store low word of ullNextTime into compare register. */
126 sd t2, 0(a0) /* Store ullNextTime into compare register. */
205 addi a0, a0, -portWORD_SIZE
206 store_x t0, 0(a0) /* mstatus onto the stack. */
207 addi a0, a0, -portWORD_SIZE /* Space for critical nesting count. */
208 store_x x0, 0(a0) /* Critical nesting count starts at 0 for every task. */
211 addi a0, a0, -(6 * portWORD_SIZE) /* Space for registers x10-x15. */
[all …]
DportContext.h120 csrr a0, mcause
130 csrr a0, mcause
/Kernel-v11.1.0/portable/CodeWarrior/ColdFire_V2/
Dport.c47 move.l pxCurrentTCB, %a0; \
48 move.l %sp, (%a0);
51 move.l pxCurrentTCB, %a0; \
52 move.l (%a0), %sp; \
Dportasm.S55 move.l _pxCurrentTCB, a0
56 move.l sp, (a0)
62 move.l _pxCurrentTCB, a0
63 move.l (a0), sp
/Kernel-v11.1.0/portable/GCC/ColdFire_V2/
Dportasm.S49 move.l pxCurrentTCB, %a0
50 move.l %sp, (%a0)
56 move.l pxCurrentTCB, %a0
57 move.l (%a0), %sp
/Kernel-v11.1.0/portable/CodeWarrior/ColdFire_V1/
Dportasm.S55 move.l _pxCurrentTCB, a0
56 move.l sp, (a0)
62 move.l _pxCurrentTCB, a0
63 move.l (a0), sp
/Kernel-v11.1.0/portable/IAR/STR91x/
Dport.c222 u16 a0; in prvFindFactors() local
225 *a = a0 = ( ( n - 1 ) / 65536ul ) + 1; in prvFindFactors()
242 a0 = *a; in prvFindFactors()
252 *a = a0; in prvFindFactors()
312 u8 a0; in prvFindFactors() local
316 *a = a0 = ( ( n - 1 ) / 256 ) + 1; in prvFindFactors()
333 a0 = *a; in prvFindFactors()
343 *a = a0; in prvFindFactors()
/Kernel-v11.1.0/portable/MPLAB/PIC32MEC14xx/
DISR_Support.h118 sw a0, 60(s5)
170 lw a0, 60(s5)
Dport_asm.S218 sw a0, 60(s5)
300 lw a0, 60(s5)
/Kernel-v11.1.0/portable/MPLAB/PIC32MX/
DISR_Support.h100 sw a0, 60(s5)
149 lw a0, 60(s5)
Dport_asm.S142 sw a0, 60(s5)
221 lw a0, 60(s5)

12