Write 1, not 0, to MIPI
authorAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 13 Jan 2016 00:16:14 +0000 (16:16 -0800)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 13 Jan 2016 00:16:14 +0000 (16:16 -0800)
isa/rv64mi/ipi.S

index a427b765664dc18171d66c37705808413146a112..8aca6657753397511034c252c5e94384a034b158 100644 (file)
@@ -27,7 +27,7 @@ RVTEST_CODE_BEGIN
   bgeu a2, a3, 1b
   
   # send a self-IPI
-  csrwi mipi, 0
+  csrwi mipi, 1
   1: j 1b
 
 mtvec_handler: