ARM: kprobes: Decode 16-bit Thumb special data instructions
authorJon Medhurst <tixy@yxit.co.uk>
Sat, 2 Jul 2011 14:54:57 +0000 (15:54 +0100)
committerTixy <tixy@medhuaa1.miniserver.com>
Wed, 13 Jul 2011 17:32:43 +0000 (17:32 +0000)
commit3b5940e81182ff26d539dcf0ee8b2310f6965833
treec0ad6095b0a3ffca78c13250d9a7e65e8388b8b6
parenta9c3c29e72cc459be0ecd597f0af11a67713175b
ARM: kprobes: Decode 16-bit Thumb special data instructions

These data-processing instructions operate on the full range of CPU
registers, so to simulate them we have to modify the registers used
by the instruction. We can't make use of the decoding table framework to
do this because the registers aren't encoded cleanly in separate
nibbles, therefore we need a custom decode function.

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/kernel/kprobes-thumb.c