Fix segfault when accessing bad memory addresses
authorAndrew Waterman <andrew@sifive.com>
Mon, 1 May 2017 23:44:47 +0000 (16:44 -0700)
committerAndrew Waterman <andrew@sifive.com>
Mon, 1 May 2017 23:44:47 +0000 (16:44 -0700)
commit63c98b41ae2d36808ebbb57e7f8e871ba247d444
tree3649d1d9fedb439aecfd8e98cece60f98ca30357
parent75f2a05df9cdff6f3faba748065b3184b9f01b01
Fix segfault when accessing bad memory addresses
riscv/devices.cc
riscv/devices.h
riscv/sim.cc