Lines Matching full:a0
39 * a0 == hypctx *
42 sd ra, (HYP_H_RA)(a0)
43 sd sp, (HYP_H_SP)(a0)
44 sd tp, (HYP_H_TP)(a0)
45 sd gp, (HYP_H_GP)(a0)
46 sd s0, (HYP_H_S + 0 * 8)(a0)
47 sd s1, (HYP_H_S + 1 * 8)(a0)
48 sd s2, (HYP_H_S + 2 * 8)(a0)
49 sd s3, (HYP_H_S + 3 * 8)(a0)
50 sd s4, (HYP_H_S + 4 * 8)(a0)
51 sd s5, (HYP_H_S + 5 * 8)(a0)
52 sd s6, (HYP_H_S + 6 * 8)(a0)
53 sd s7, (HYP_H_S + 7 * 8)(a0)
54 sd s8, (HYP_H_S + 8 * 8)(a0)
55 sd s9, (HYP_H_S + 9 * 8)(a0)
56 sd s10, (HYP_H_S + 10 * 8)(a0)
57 sd s11, (HYP_H_S + 11 * 8)(a0)
59 sd a1, (HYP_H_A + 1 * 8)(a0)
60 sd a2, (HYP_H_A + 2 * 8)(a0)
61 sd a3, (HYP_H_A + 3 * 8)(a0)
62 sd a4, (HYP_H_A + 4 * 8)(a0)
63 sd a5, (HYP_H_A + 5 * 8)(a0)
64 sd a6, (HYP_H_A + 6 * 8)(a0)
65 sd a7, (HYP_H_A + 7 * 8)(a0)
67 ld t0, (HYP_G_SSTATUS)(a0)
68 ld t1, (HYP_G_HSTATUS)(a0)
69 ld t2, (HYP_G_SCOUNTEREN)(a0)
71 ld t5, (HYP_G_SEPC)(a0)
76 csrrw t3, sscratch, a0
80 sd t0, (HYP_H_SSTATUS)(a0)
81 sd t1, (HYP_H_HSTATUS)(a0)
82 sd t2, (HYP_H_SCOUNTEREN)(a0)
83 sd t3, (HYP_H_SSCRATCH)(a0)
84 sd t4, (HYP_H_STVEC)(a0)
86 ld ra, (HYP_G_RA)(a0)
87 ld sp, (HYP_G_SP)(a0)
88 ld gp, (HYP_G_GP)(a0)
89 ld tp, (HYP_G_TP)(a0)
90 ld t0, (HYP_G_T + 0 * 8)(a0)
91 ld t1, (HYP_G_T + 1 * 8)(a0)
92 ld t2, (HYP_G_T + 2 * 8)(a0)
93 ld t3, (HYP_G_T + 3 * 8)(a0)
94 ld t4, (HYP_G_T + 4 * 8)(a0)
95 ld t5, (HYP_G_T + 5 * 8)(a0)
96 ld t6, (HYP_G_T + 6 * 8)(a0)
97 ld s0, (HYP_G_S + 0 * 8)(a0)
98 ld s1, (HYP_G_S + 1 * 8)(a0)
99 ld s2, (HYP_G_S + 2 * 8)(a0)
100 ld s3, (HYP_G_S + 3 * 8)(a0)
101 ld s4, (HYP_G_S + 4 * 8)(a0)
102 ld s5, (HYP_G_S + 5 * 8)(a0)
103 ld s6, (HYP_G_S + 6 * 8)(a0)
104 ld s7, (HYP_G_S + 7 * 8)(a0)
105 ld s8, (HYP_G_S + 8 * 8)(a0)
106 ld s9, (HYP_G_S + 9 * 8)(a0)
107 ld s10, (HYP_G_S + 10 * 8)(a0)
108 ld s11, (HYP_G_S + 11 * 8)(a0)
109 /* skip a0 for now. */
110 ld a1, (HYP_G_A + 1 * 8)(a0)
111 ld a2, (HYP_G_A + 2 * 8)(a0)
112 ld a3, (HYP_G_A + 3 * 8)(a0)
113 ld a4, (HYP_G_A + 4 * 8)(a0)
114 ld a5, (HYP_G_A + 5 * 8)(a0)
115 ld a6, (HYP_G_A + 6 * 8)(a0)
116 ld a7, (HYP_G_A + 7 * 8)(a0)
117 /* now load a0. */
118 ld a0, (HYP_G_A + 0 * 8)(a0)
125 csrrw a0, sscratch, a0
126 sd ra, (HYP_G_RA)(a0)
127 sd sp, (HYP_G_SP)(a0)
128 sd gp, (HYP_G_GP)(a0)
129 sd tp, (HYP_G_TP)(a0)
130 sd t0, (HYP_G_T + 0 * 8)(a0)
131 sd t1, (HYP_G_T + 1 * 8)(a0)
132 sd t2, (HYP_G_T + 2 * 8)(a0)
133 sd t3, (HYP_G_T + 3 * 8)(a0)
134 sd t4, (HYP_G_T + 4 * 8)(a0)
135 sd t5, (HYP_G_T + 5 * 8)(a0)
136 sd t6, (HYP_G_T + 6 * 8)(a0)
137 sd s0, (HYP_G_S + 0 * 8)(a0)
138 sd s1, (HYP_G_S + 1 * 8)(a0)
139 sd s2, (HYP_G_S + 2 * 8)(a0)
140 sd s3, (HYP_G_S + 3 * 8)(a0)
141 sd s4, (HYP_G_S + 4 * 8)(a0)
142 sd s5, (HYP_G_S + 5 * 8)(a0)
143 sd s6, (HYP_G_S + 6 * 8)(a0)
144 sd s7, (HYP_G_S + 7 * 8)(a0)
145 sd s8, (HYP_G_S + 8 * 8)(a0)
146 sd s9, (HYP_G_S + 9 * 8)(a0)
147 sd s10, (HYP_G_S + 10 * 8)(a0)
148 sd s11, (HYP_G_S + 11 * 8)(a0)
149 /* skip a0 */
150 sd a1, (HYP_G_A + 1 * 8)(a0)
151 sd a2, (HYP_G_A + 2 * 8)(a0)
152 sd a3, (HYP_G_A + 3 * 8)(a0)
153 sd a4, (HYP_G_A + 4 * 8)(a0)
154 sd a5, (HYP_G_A + 5 * 8)(a0)
155 sd a6, (HYP_G_A + 6 * 8)(a0)
156 sd a7, (HYP_G_A + 7 * 8)(a0)
158 ld t1, (HYP_H_STVEC)(a0)
159 ld t2, (HYP_H_SSCRATCH)(a0)
160 ld t3, (HYP_H_SCOUNTEREN)(a0)
161 ld t4, (HYP_H_HSTATUS)(a0)
162 ld t5, (HYP_H_SSTATUS)(a0)
171 sd t0, (HYP_G_SEPC)(a0)
172 sd t2, (HYP_G_A + 0 * 8)(a0)
173 sd t3, (HYP_G_SCOUNTEREN)(a0)
174 sd t4, (HYP_G_HSTATUS)(a0)
175 sd t5, (HYP_G_SSTATUS)(a0)
177 ld ra, (HYP_H_RA)(a0)
178 ld sp, (HYP_H_SP)(a0)
179 ld tp, (HYP_H_TP)(a0)
180 ld gp, (HYP_H_GP)(a0)
181 ld s0, (HYP_H_S + 0 * 8)(a0)
182 ld s1, (HYP_H_S + 1 * 8)(a0)
183 ld s2, (HYP_H_S + 2 * 8)(a0)
184 ld s3, (HYP_H_S + 3 * 8)(a0)
185 ld s4, (HYP_H_S + 4 * 8)(a0)
186 ld s5, (HYP_H_S + 5 * 8)(a0)
187 ld s6, (HYP_H_S + 6 * 8)(a0)
188 ld s7, (HYP_H_S + 7 * 8)(a0)
189 ld s8, (HYP_H_S + 8 * 8)(a0)
190 ld s9, (HYP_H_S + 9 * 8)(a0)
191 ld s10, (HYP_H_S + 10 * 8)(a0)
192 ld s11, (HYP_H_S + 11 * 8)(a0)
194 ld a1, (HYP_H_A + 1 * 8)(a0)
195 ld a2, (HYP_H_A + 2 * 8)(a0)
196 ld a3, (HYP_H_A + 3 * 8)(a0)
197 ld a4, (HYP_H_A + 4 * 8)(a0)
198 ld a5, (HYP_H_A + 5 * 8)(a0)
199 ld a6, (HYP_H_A + 6 * 8)(a0)
200 ld a7, (HYP_H_A + 7 * 8)(a0)
208 sd a1, HYP_TRAP_SEPC(a0)
212 sd a1, HYP_TRAP_SCAUSE(a0)
214 sd a1, HYP_TRAP_STVAL(a0)
216 sd a1, HYP_TRAP_HTVAL(a0)
218 sd a1, HYP_TRAP_HTINST(a0)