OpenCloudOS-Kernel/arch/x86/mm/kmemcheck
Vegard Nossum ac61a75796 kmemcheck: add opcode self-testing at boot
We've had some troubles in the past with weird instructions. This
patch adds a self-test framework which can be used to verify that
a certain set of opcodes are decoded correctly. Of course, the
opcodes which are not tested can still give the wrong results.

In short, this is just a safeguard to catch unintentional changes
in the opcode decoder. It does not mean that errors can't still
occur!

[rebased for mainline inclusion]
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-15 15:49:22 +02:00
..
Makefile kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
error.c kmemcheck: remove forward declarations from error.c 2009-06-15 12:39:47 +02:00
error.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
kmemcheck.c kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
opcode.c kmemcheck: move 64-bit ifdef out of kmemcheck_opcode_decode() 2009-06-15 12:39:59 +02:00
opcode.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
pte.c kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
pte.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
selftest.c kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
selftest.h kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
shadow.c kmemcheck: add hooks for the page allocator 2009-06-15 15:48:33 +02:00
shadow.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00