Re: [Qemu-devel] [PATCH 04/18] armv7m: Explicit error for bad vector table

2015-12-02 Thread Peter Maydell
On 2 December 2015 at 22:55, Michael Davidsaver wrote: > On 11/17/2015 12:33 PM, Peter Maydell wrote: >> The behaviour on a failed vector table read is actually architecturally >> specified: we should take a nested exception (escalated to HardFault). >> If it happens while we're trying to take a H

Re: [Qemu-devel] [PATCH 04/18] armv7m: Explicit error for bad vector table

2015-12-02 Thread Michael Davidsaver
On 11/17/2015 12:33 PM, Peter Maydell wrote: > On 9 November 2015 at 01:11, Michael Davidsaver wrote: >> Give an explicit error and abort when a load >> from VECBASE fails. Otherwise would likely >> jump to 0, which for v7-m holds the reset stack >> pointer address. >> >> Signed-off-by: Michael

Re: [Qemu-devel] [PATCH 04/18] armv7m: Explicit error for bad vector table

2015-11-17 Thread Peter Maydell
On 9 November 2015 at 01:11, Michael Davidsaver wrote: > Give an explicit error and abort when a load > from VECBASE fails. Otherwise would likely > jump to 0, which for v7-m holds the reset stack > pointer address. > > Signed-off-by: Michael Davidsaver > --- > target-arm/helper.c | 12

[Qemu-devel] [PATCH 04/18] armv7m: Explicit error for bad vector table

2015-11-08 Thread Michael Davidsaver
Give an explicit error and abort when a load from VECBASE fails. Otherwise would likely jump to 0, which for v7-m holds the reset stack pointer address. Signed-off-by: Michael Davidsaver --- target-arm/helper.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tar