zephyr/arch/x86/core
Simon Hein b5522fffbc arch: comply to coding guidelines MISRA C:2012 Rule 14.4
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.
Use comparisons with NULL instead of implicitly testing pointers.
Use comparisons with NUL instead of implicitly testing plain chars.

This commit is a subset of the original auditable-branch commit:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-20 09:28:38 -05:00
..
ia32 arch/kernel/soc/samples: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
intel64 coding guidelines: comply with MISRA C:2012 Rule 8.2 2022-06-22 17:17:39 -04:00
offsets
CMakeLists.txt
Kconfig.ia32
Kconfig.intel64
acpi.c arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00
cache.c
common.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
cpuhalt.c
cpuid.c
early_serial.c arch: x86: core: early_serial: obtain NS16550 uart base address from DT 2022-06-05 14:48:40 +02:00
efi.c arch: x86: workaround for EFI call return with interrupt enabled 2022-07-05 16:52:32 -04:00
fatal.c
ia32.cmake
intel64.cmake
memmap.c
multiboot.c
pcie.c
prep_c.c
reboot_rst_cnt.c
spec_ctrl.c
tls.c
userspace.c
x86_mmu.c arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00