]> Git Repo - qemu.git/commit
target/arm: Add v8M stack checks on ADD/SUB/MOV of SP
authorPeter Maydell <[email protected]>
Mon, 8 Oct 2018 13:55:04 +0000 (14:55 +0100)
committerPeter Maydell <[email protected]>
Mon, 8 Oct 2018 13:55:04 +0000 (14:55 +0100)
commit5520318939fea5d659bf808157cd726cb967b761
tree4f3e000a0fcf84469fda89278cba5fcd7d5d4361
parent5529bf188d996391ff52a0e1801daf9c6a6bfcb0
target/arm: Add v8M stack checks on ADD/SUB/MOV of SP

Add code to insert calls to a helper function to do the stack
limit checking when we handle these forms of instruction
that write to SP:
 * ADD (SP plus immediate)
 * ADD (SP plus register)
 * SUB (SP minus immediate)
 * SUB (SP minus register)
 * MOV (register)

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 20181002163556[email protected]
target/arm/helper.h
target/arm/internals.h
target/arm/op_helper.c
target/arm/translate.c
This page took 0.021913 seconds and 4 git commands to generate.