Lines Matching +full:- +full:t0
2 * Copyright (c) 2016 Jean-Paul Etienne <fractalclone@gmail.com>
5 * SPDX-License-Identifier: Apache-2.0
37 * Remainder of asm-land initialization code before we can jump into
42 li t0, CONFIG_RV_BOOT_HART
43 beq a0, t0, boot_first_core
50 * Enable floating-point.
52 li t0, MSTATUS_FS_INIT
53 csrs mstatus, t0
56 * Floating-point rounding mode set to IEEE-754 default, and clear
63 /* Pre-populate all bytes in z_interrupt_stacks with 0xAA */
64 la t0, z_interrupt_stacks
67 add t1, t1, t0
72 sw t2, 0x00(t0)
73 addi t0, t0, 4
74 blt t0, t1, aa_loop
82 li t0, __z_interrupt_stack_SIZEOF
83 add sp, sp, t0
97 la t0, riscv_cpu_wake_flag
98 li t1, -1
99 sr t1, 0(t0)
100 la t0, riscv_cpu_boot_flag
101 sr zero, 0(t0)
104 la t0, riscv_cpu_wake_flag
105 lr t0, 0(t0)
106 bne a0, t0, wait_secondary_wake_flag
109 la t0, riscv_cpu_sp
110 lr sp, 0(t0)
112 la t0, riscv_cpu_boot_flag
114 sr t1, 0(t0)