All tests pass with spike now.
[riscv-tests.git] / debug / programs / mprv.S
index df346b3504ddc291ed3282424b2a0278c9a64f5f..2725b6720096a76e1bbbb85302019ef4261c4756 100644 (file)
@@ -1,10 +1,10 @@
-#include "../riscv/encoding.h"
+#include "../../env/encoding.h"
 #define PGSHIFT         12
 
 #define PGSHIFT         12
 
-        .global         _start
+        .global         main
 
         .section        .text
 
         .section        .text
-_start:
+main:
         # Set up a page table entry that maps 0x0... to 0x8...
         la      t0, page_table
         srli    t0, t0, PGSHIFT
         # Set up a page table entry that maps 0x0... to 0x8...
         la      t0, page_table
         srli    t0, t0, PGSHIFT