]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63bb0abebae4baef79786f81d3fdeb4bb996658a
tree0bbc61744e1a60d9a3a823a44ae5a7c279347eda
parent837a6421b32a11a0fd52f8edda226f635e8327a4
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