zephyr/tests/arch/x86
Kumar Gala 8b24346bff tests: arch: x86: static_idt: Fix test when building with llvm
llvm will generate a different div instruction than gcc does and than
the number of types that the div instruction opcode takes is not 2.

Move to using inline asm with a idivl instruction to ensure the opcode
size is what we expect so that exc_divide_error_handler() can properly
skip over the instruction.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-02-19 20:47:23 -05:00
..
cpu_scrubs_regs includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
direct_isr tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
info yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
nmi smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
pagetables tests/x86/pagetables: Check pinned memory flags 2023-01-30 23:46:55 +00:00
static_idt tests: arch: x86: static_idt: Fix test when building with llvm 2023-02-19 20:47:23 -05:00