added working paging small kernel

This commit is contained in:
2026-03-29 17:59:39 +01:00
parent 4cea0232d4
commit a6decda220
17 changed files with 7322 additions and 533 deletions

View File

@@ -0,0 +1,25 @@
#include "riscv_test.h"
#include "test_macros.h"
RVTEST_RV64U # Define TVM used by program.
# Test code region.
RVTEST_CODE_BEGIN # Start of test code.
RVTEST_PASS # Signal success.
fail:
RVTEST_FAIL
RVTEST_CODE_END # End of test code.
# Input data section.
# This section is optional, and this data is NOT saved in the output.
.data
.align 3
testdata:
.dword 41
# Output data section.
RVTEST_DATA_BEGIN # Start of test output data region.
.align 3
result:
.dword -1
RVTEST_DATA_END # End of test output data region.