Write test for downloading a mostly random program
[riscv-isa-sim.git] / tests / mprv.S
index 114918ac59fa84021a3b857bd1fb8a015573cffc..df346b3504ddc291ed3282424b2a0278c9a64f5f 100644 (file)
@@ -1,10 +1,10 @@
 #include "../riscv/encoding.h"
 #define PGSHIFT         12
 
-        .global         main
+        .global         _start
 
         .section        .text
-main:
+_start:
         # Set up a page table entry that maps 0x0... to 0x8...
         la      t0, page_table
         srli    t0, t0, PGSHIFT