diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-05-02 14:29:41 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-05-02 14:29:41 -0700 |
commit | e38b55f9b10204171b74343a5a73d041b7186caf (patch) | |
tree | f167e958c2419a78bad21e09c0f53960073a5ec9 /isa/rv64mi | |
parent | 22742246287feda0be2666ba14ca6f4a6bc73bb2 (diff) | |
download | riscv-tests-e38b55f9b10204171b74343a5a73d041b7186caf.zip riscv-tests-e38b55f9b10204171b74343a5a73d041b7186caf.tar.gz riscv-tests-e38b55f9b10204171b74343a5a73d041b7186caf.tar.bz2 |
Stop using tohost/fromhost registers
Diffstat (limited to 'isa/rv64mi')
-rw-r--r-- | isa/rv64mi/dirty.S | 10 | ||||
-rw-r--r-- | isa/rv64mi/mcsr.S | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/isa/rv64mi/dirty.S b/isa/rv64mi/dirty.S index 5228129..9de358b 100644 --- a/isa/rv64mi/dirty.S +++ b/isa/rv64mi/dirty.S @@ -76,11 +76,17 @@ stvec_handler: die: RVTEST_FAIL -.data +RVTEST_CODE_END + + .data +RVTEST_DATA_BEGIN + + TEST_DATA + .align 12 page_table_1: .dword (DRAM_BASE/RISCV_PGSIZE << PTE_PPN_SHIFT) | PTE_V | PTE_TYPE_URX_SRX dummy: .dword 0 .align 12 page_table_2: .dword (DRAM_BASE/RISCV_PGSIZE << PTE_PPN_SHIFT) | PTE_V | PTE_TYPE_URWX_SRWX -RVTEST_CODE_END +RVTEST_DATA_END diff --git a/isa/rv64mi/mcsr.S b/isa/rv64mi/mcsr.S index f704827..b66611c 100644 --- a/isa/rv64mi/mcsr.S +++ b/isa/rv64mi/mcsr.S @@ -36,3 +36,10 @@ RVTEST_CODE_BEGIN TEST_PASSFAIL RVTEST_CODE_END + + .data +RVTEST_DATA_BEGIN + + TEST_DATA + +RVTEST_DATA_END |