ARM: use a function table for determining instruction interpreter action
authorDavid A. Long <dave.long@linaro.org>
Thu, 6 Mar 2014 23:06:43 +0000 (18:06 -0500)
committerDavid A. Long <dave.long@linaro.org>
Tue, 18 Mar 2014 20:39:36 +0000 (16:39 -0400)
commit3e6cd394bb10c2d65322e5f5d2ff0a9074d903a1
tree0bbc61744e1a60d9a3a823a44ae5a7c279347eda
parent87abef63ead5ac9e2c67f0c07c461eda6be16aeb
ARM: use a function table for determining instruction interpreter action

Make the instruction interpreter call back to semantic action functions
through a function pointer array provided by the invoker.  The interpreter
decodes the instructions into groups and uses the group number to index
into the supplied array.  kprobes and uprobes code will each supply their
own array of functions.

Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
arch/arm/kernel/kprobes-arm.c
arch/arm/kernel/kprobes-common.c
arch/arm/kernel/kprobes-thumb.c
arch/arm/kernel/kprobes.c
arch/arm/kernel/kprobes.h
arch/arm/kernel/probes-arm.c
arch/arm/kernel/probes-arm.h
arch/arm/kernel/probes-thumb.c
arch/arm/kernel/probes-thumb.h
arch/arm/kernel/probes.c
arch/arm/kernel/probes.h