projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #156 from p12nGH/noncontiguous_harts
[riscv-isa-sim.git]
/
riscv
/
sim.cc
diff --git
a/riscv/sim.cc
b/riscv/sim.cc
index 57ba857778bb9e0fce75e9060ede59fe7d839e8b..793a2c871e6267439c88b1a5c2da7d289495c232 100644
(file)
--- a/
riscv/sim.cc
+++ b/
riscv/sim.cc
@@
-311,6
+311,9
@@
void sim_t::make_dtb()
" 0x" << (clintsz >> 32) << " 0x" << (clintsz & (uint32_t)-1) << ">;\n"
" };\n"
" };\n"
+ " htif {\n"
+ " compatible = \"ucb,htif0\";\n"
+ " };\n"
"};\n";
dts = s.str();