/ThreadX-v6.4.1/ports/risc-v32/iar/src/ |
D | tx_thread_schedule.s | 99 lw t1, 0(t0) ; Pickup next thread to execute 100 beqz t1, _tx_thread_schedule_loop ; If NULL, wait for thread to execute 113 sw t1, 0(t0) ; Set current thread pointer 118 lw t2, 4(t1) ; Pickup run count 119 lw t3, 24(t1) ; Pickup time slice value 121 sw t2, 4(t1) ; Store new run count 131 lw sp, 8(t1) ; Switch to thread's stack
|
D | tx_timer_interrupt.s | 96 lw t1, 0(t0) ; Pickup system clock 99 addi t1, t1, 1 ; Increment system clock 100 sw t1, 0(t0) ; Store new system clock 119 li t1, 1 ; Build expired flag 125 sw t1, 0(t4) ; Set expired flag 137 lw t1, 0(t0) ; Pickup current pointer 138 lw t3, 0(t1) ; Pickup the current timer entry 164 addi t1, t1, 4 ; Point to next timer entry 165 sw t1, 0(t0) ; Store new timer pointer 166 bne t1, t3, _tx_timer_skip_wrap ; If not same, good pointer
|
D | tx_thread_context_restore.s | 104 lw t1, 0(t0) ; Pickup nested interrupt count 105 addi t1, t1, -1 ; Decrement the nested interrupt counter 106 sw t1, 0(t0) ; Store new nested count 107 beqz t1, _tx_thread_not_nested_restore ; If 0, not nested restore 156 lw x6, 0x48(sp) ; Recover t1 186 lw t1, _tx_thread_current_ptr ; Pickup current thread pointer 187 beqz t1, _tx_thread_idle_system_restore ; If NULL, idle system restore 193 … bne t1, t2, _tx_thread_preempt_restore ; If higher-priority thread is ready, preempt 202 lw sp, 8(t1) ; Switch back to thread's stack 323 sw t2, 24(t1) ; Save current time slice
|
D | tx_thread_interrupt_control.s | 81 mv t1, t0 ; Save original mstatus for return 89 andi a0, t1, RETURN_MASK ; Return original mstatus.
|
D | tx_thread_stack_build.s | 151 li t1, ~15 ; Build 16-byte alignment mask 152 and t0, t0, t1 ; Make sure 16-byte alignment 161 li t1, 1 ; Build stack type 162 sw t1, 0(t0) ; Place stack type on the top 180 sw x0, 72(t0) ; Initial t1
|
D | tx_thread_system_return.s | 145 lw t1, 0(t0) ; Pickup current thread pointer 152 sw sp, 8(t1) ; Save stack pointer
|
D | tx_initialize_low_level.s | 96 sw t0, _tx_initialize_unused_memory, t1 ; Save unused memory address
|
D | tx_thread_context_save.s | 91 sw x5, 0x4C(sp) ; First store t0 and t1 227 lw t1, _tx_thread_current_ptr ; Pickup current thread pointer 228 sw sp, 8(t1) ; Save stack pointer*/
|
/ThreadX-v6.4.1/ports/risc-v64/gnu/src/ |
D | tx_thread_interrupt_control.S | 71 mv t1, t0 // Save original mstatus for return 79 andi a0, t1, RETURN_MASK // Return original mstatus.
|
D | tx_thread_context_restore.S | 83 LOAD t1, 0(t0) // Pickup nested interrupt count 84 addi t1, t1, -1 // Decrement the nested interrupt counter 85 STORE t1, 0(t0) // Store new nested count 86 beqz t1, _tx_thread_not_nested_restore // If 0, not nested restore 186 LOAD t1, _tx_thread_current_ptr // Pickup current thread pointer 187 beqz t1, _tx_thread_idle_system_restore // If NULL, idle system restore 193 … bne t1, t2, _tx_thread_preempt_restore // If higher-priority thread is ready, preempt 202 LOAD sp, 2*REGBYTES(t1) // Switch back to thread's stack 296 LOAD t0, 2*REGBYTES(t1) // Pickup thread's stack pointer 355 STORE t2, 6*REGBYTES(t1) // Save current time slice
|
D | tx_thread_stack_build.S | 142 li t1, ~15 // Build 16-byte alignment mask 143 and t0, t0, t1 // Make sure 16-byte alignment 152 li t1, 1 // Build stack type 153 STORE t1, 0*REGBYTES(t0) // Place stack type on the top
|
D | tx_thread_schedule.S | 80 LOAD t1, 0(t0) // Pickup next thread to execute 81 beqz t1, _tx_thread_schedule_loop // If NULL, wait for thread to execute 94 STORE t1, 0(t0) // Set current thread pointer 99 LOAD t2, 1*REGBYTES(t1) // Pickup run count 100 LOAD t3, 6*REGBYTES(t1) // Pickup time slice value 102 STORE t2, 1*REGBYTES(t1) // Store new run count 112 LOAD sp, 2*REGBYTES(t1) // Switch to thread's stack
|
D | tx_thread_system_return.S | 139 LOAD t1, 0(t0) // Pickup current thread pointer 146 STORE sp, 2*REGBYTES(t1) // Save stack pointer 162 STORE t3, 6*REGBYTES(t1) // Save current time-slice for thread
|
D | tx_initialize_low_level.S | 76 sd t0, _tx_initialize_unused_memory, t1 // Save unused memory address
|
D | tx_thread_context_save.S | 251 LOAD t1, _tx_thread_current_ptr // Pickup current thread pointer 252 STORE sp, 2*REGBYTES(t1) // Save stack pointer
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/example_build/ |
D | regdef.h | 13 #define t1 $9 macro
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/gnu/example_build/ |
D | regdef.h | 13 #define t1 $9 macro
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/gnu/src/ |
D | tx_thread_context_save.S | 154 sw $9, 80($29) # Store t1 243 sw $9, 80($29) # Store t1
|
D | tx_thread_stack_build.S | 178 sw $0, 80($8) # Initial t1
|
D | tx_thread_context_restore.S | 154 lw $9, 80($29) # Recover t1
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/ |
D | tx_thread_stack_build.mip | 96 $9 (80) Initial t1 182 sw $0, 80($8) # Initial t1
|
D | tx_thread_context_save.mip | 160 sw $9, 80($29) # Store t1 249 sw $9, 80($29) # Store t1
|
D | tx_thread_context_restore.mip | 154 lw $9, 80($29) # Recover t1 272 lw $9, 80($29) # Recover t1
|
D | tx_thread_schedule.mip | 293 lw $9, 80($29) # Recover t1
|
/ThreadX-v6.4.1/ports/risc-v32/iar/ |
D | readme_threadx.txt | 86 0x48 t1 (x6) fs3
|