summaryrefslogtreecommitdiff
path: root/riscv/platform_impl.ml
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/platform_impl.ml')
-rw-r--r--riscv/platform_impl.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/platform_impl.ml b/riscv/platform_impl.ml
index 342eab35..a1a1f699 100644
--- a/riscv/platform_impl.ml
+++ b/riscv/platform_impl.ml
@@ -27,7 +27,7 @@ let uint64_to_bytes u = let open Int64 in
let reset_vec_size = 8l;;
let reset_vec_int start_pc = [
- 0x267l; (* auipc t0, 0x0 *)
+ 0x297l; (* auipc t0, 0x0 *)
(let open Int32 in
add 0x28593l (shift_left (mul reset_vec_size 4l) 20)); (* addi a1, t0, ofs(dtb) *)
0xf1402573l; (* csrr a0, mhartid *)