Fix bus_t bug with devices at 0x0
authorEvan Cox <evancox10@outlook.com>
Thu, 19 Oct 2017 16:40:10 +0000 (11:40 -0500)
committerAndrew Waterman <andrew@sifive.com>
Thu, 19 Oct 2017 21:30:16 +0000 (14:30 -0700)
commit38438778f0fc34df8cdf748cc9f35e1d15e0c8db
tree24354e7c6dfac8f8c298d193d5d7f59ef2d922ea
parent27ffc270f4e08862606e3532a87556e2f16fa87b
Fix bus_t bug with devices at 0x0

Fix a bug that prevented bus_t from storing to, loading from,
or finding a device that existed at address 0x0.

Resolves: #135
riscv/devices.cc