mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-27 17:00:41 -04:00
updated the patch for riscv-test-env
This commit is contained in:
parent
b179be4351
commit
f0d303f0ac
4 changed files with 13 additions and 5 deletions
12
vendor/patches/riscv_test_env/changes.patch
vendored
12
vendor/patches/riscv_test_env/changes.patch
vendored
|
@ -1,5 +1,5 @@
|
|||
diff --git a/p/riscv_test.h b/p/riscv_test.h
|
||||
index a8c50c7a5..f57fb4423 100644
|
||||
index a8c50c7a5..49054033c 100644
|
||||
--- a/p/riscv_test.h
|
||||
+++ b/p/riscv_test.h
|
||||
@@ -1,9 +1,11 @@
|
||||
|
@ -15,7 +15,7 @@ index a8c50c7a5..f57fb4423 100644
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
// Begin Macro
|
||||
@@ -153,14 +155,12 @@
|
||||
@@ -153,21 +155,19 @@
|
||||
#define EXTRA_TVEC_MACHINE
|
||||
#define EXTRA_INIT
|
||||
#define EXTRA_INIT_TIMER
|
||||
|
@ -31,6 +31,14 @@ index a8c50c7a5..f57fb4423 100644
|
|||
.weak stvec_handler; \
|
||||
.weak mtvec_handler; \
|
||||
.globl _start; \
|
||||
_start: \
|
||||
/* reset vector */ \
|
||||
j reset_vector; \
|
||||
- .align 2; \
|
||||
+ .balign 256; \
|
||||
trap_vector: \
|
||||
/* test whether the test came from pass/fail */ \
|
||||
csrr t5, mcause; \
|
||||
@@ -192,14 +192,13 @@ handle_exception: \
|
||||
1: ori TESTNUM, TESTNUM, 1337; \
|
||||
write_tohost: \
|
||||
|
|
2
vendor/riscv-test-env/p/riscv_test.h
vendored
2
vendor/riscv-test-env/p/riscv_test.h
vendored
|
@ -167,7 +167,7 @@
|
|||
_start: \
|
||||
/* reset vector */ \
|
||||
j reset_vector; \
|
||||
.align 2; \
|
||||
.balign 256; \
|
||||
trap_vector: \
|
||||
/* test whether the test came from pass/fail */ \
|
||||
csrr t5, mcause; \
|
||||
|
|
3
vendor/riscv_test_env.lock.hjson
vendored
3
vendor/riscv_test_env.lock.hjson
vendored
|
@ -8,8 +8,7 @@
|
|||
{
|
||||
upstream:
|
||||
{
|
||||
url: https://github.com/riscv/riscv-test-env/
|
||||
url: https://github.com/riscv/riscv-test-env
|
||||
rev: 982f93f5c55f6e7931c01afb082f5ca42cffddab
|
||||
}
|
||||
patch_dir: "patches/riscv_test_env"
|
||||
}
|
||||
|
|
1
vendor/riscv_test_env.vendor.hjson
vendored
1
vendor/riscv_test_env.vendor.hjson
vendored
|
@ -9,4 +9,5 @@
|
|||
url: "https://github.com/riscv/riscv-test-env",
|
||||
rev: "master",
|
||||
},
|
||||
patch_dir: "patches/riscv_test_env"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue