mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-28 21:51:57 +00:00
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> |
||
|---|---|---|
| .. | ||
| error.c | ||
| error.h | ||
| kmemcheck.c | ||
| Makefile | ||
| opcode.c | ||
| opcode.h | ||
| pte.c | ||
| pte.h | ||
| selftest.c | ||
| selftest.h | ||
| shadow.c | ||
| shadow.h | ||