armv7m: Guard against no -kernel argument
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Mon, 13 Aug 2012 10:04:05 +0000 (11:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Aug 2012 10:04:05 +0000 (11:04 +0100)
commit01fd41ab3fb69971c24a69ed49cde96086d81278
tree9304cc6da70a0abdc54e16d1f4c58747819c1a3e
parent55e00a19b6dc8f20e5688866451bb4a60e649459
armv7m: Guard against no -kernel argument

A -kernel argument must be specified for this machine. Guard against no -kernel
argument. Previously gave an unhelpful "bad address" error message.

Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/armv7m.c