21
movi a2, 0x04000002 /* PPN */
22
movi a3, 0x01200004 /* VPN */
89
movi a2, 0x04000002 /* PPN */
90
movi a3, 0xf0000004 /* VPN */
102
set_vector kernel, 1f
104
movi a2, 0x04000002 /* PPN */
105
movi a3, 0x01200004 /* VPN */
107
movi a3, 0x01200007 /* VPN */
118
test inst_fetch_privilege
119
set_vector kernel, 3f
145
test load_store_privilege
146
set_vector kernel, 2f
162
movi a2, 0x04000003 /* PPN */
163
movi a3, 0x01200004 /* VPN */
190
test cring_load_store_privilege
192
set_vector double, 2f
194
movi a2, 0x04000003 /* PPN */
195
movi a3, 0x01200004 /* VPN */
198
movi a2, 0x4005f /* ring 1 + excm => cring == 0 */
201
l8ui a2, a3, 0 /* cring used */
203
l32e a2, a3, -4 /* ring used */
220
test inst_fetch_prohibited
221
set_vector kernel, 2f
254
set_vector kernel, 2f
256
movi a2, 0x0400000c /* PPN */
257
movi a3, 0x01200004 /* VPN */
274
test store_prohibited
275
set_vector kernel, 2f
277
movi a2, 0x04000001 /* PPN */
278
movi a3, 0x01200004 /* VPN */