projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All tests pass with spike now.
[riscv-tests.git]
/
debug
/
programs
/
mprv.S
diff --git
a/debug/programs/mprv.S
b/debug/programs/mprv.S
index df346b3504ddc291ed3282424b2a0278c9a64f5f..2725b6720096a76e1bbbb85302019ef4261c4756 100644
(file)
--- a/
debug/programs/mprv.S
+++ b/
debug/programs/mprv.S
@@
-1,10
+1,10
@@
-#include "../
risc
v/encoding.h"
+#include "../
../en
v/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