aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/mprv.S
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-06-08 19:53:57 -0700
committerTim Newsome <tim@sifive.com>2016-07-18 18:51:54 -0700
commite291177a1cbeb6cef46aa5f8f019346c3202c3ef (patch)
tree2f5ad27f1a4163697dc0407b37e81ca5f84a3dc8 /debug/programs/mprv.S
parent6990284b8eab8d4e4f57f82ac8918913c5c63e97 (diff)
downloadriscv-tests-e291177a1cbeb6cef46aa5f8f019346c3202c3ef.zip
riscv-tests-e291177a1cbeb6cef46aa5f8f019346c3202c3ef.tar.gz
riscv-tests-e291177a1cbeb6cef46aa5f8f019346c3202c3ef.tar.bz2
All tests pass with spike now.
I did comment out a couple.
Diffstat (limited to 'debug/programs/mprv.S')
-rw-r--r--debug/programs/mprv.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/programs/mprv.S b/debug/programs/mprv.S
index df346b3..2725b67 100644
--- a/debug/programs/mprv.S
+++ b/debug/programs/mprv.S
@@ -1,10 +1,10 @@
-#include "../riscv/encoding.h"
+#include "../../env/encoding.h"
#define PGSHIFT 12
- .global _start
+ .global main
.section .text
-_start:
+main:
# Set up a page table entry that maps 0x0... to 0x8...
la t0, page_table
srli t0, t0, PGSHIFT