aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64mi/dirty.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64mi/dirty.S')
-rw-r--r--isa/rv64mi/dirty.S10
1 files changed, 8 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