diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-11-03 16:29:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 16:29:57 -0700 |
commit | 5953e86116800dfebeb15514c27b843c496a2012 (patch) | |
tree | b9670941b1c05a0cfa9de32590abacd7a1d52b6c | |
parent | 95fafa8f05320a761f70bef022a05c3053ea7b27 (diff) | |
parent | 092b464c06d2eba580b95a3ac7013449cb2687e4 (diff) | |
download | riscv-isa-sim-5953e86116800dfebeb15514c27b843c496a2012.zip riscv-isa-sim-5953e86116800dfebeb15514c27b843c496a2012.tar.gz riscv-isa-sim-5953e86116800dfebeb15514c27b843c496a2012.tar.bz2 |
Merge pull request #151 from riscv/htif_dts
Put HTIF in the device tree
-rw-r--r-- | riscv/sim.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc index 647cc46..5aa9213 100644 --- 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(); |