mem: Provide better diagnostic for unconnected port
authorCurtis Dunham <Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:30 +0000 (09:08 -0400)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:30 +0000 (09:08 -0400)
commit725be98fe8002b897e137db26453754152f41606
tree064147a6153c29b71a1498d88032121d38358d2b
parentde62aedabc96e7492c40bbc4468ba42b3274bfd6
mem: Provide better diagnostic for unconnected port

When _masterPort is null, a message to that effect is
more helpful than a segfault.
src/mem/port.hh