projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put HTIF in the device tree
[riscv-isa-sim.git]
/
riscv
/
sim.cc
diff --git
a/riscv/sim.cc
b/riscv/sim.cc
index 647cc46fa2a2b44bf64489f230eed03219b13851..5aa92136897208858ddf85e7815421f510dd67bb 100644
(file)
--- a/
riscv/sim.cc
+++ b/
riscv/sim.cc
@@
-300,6
+300,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();