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 arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
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 arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
common.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
cpuhalt.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
cpuid.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
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 arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
ia32.cmake
intel64.cmake
memmap.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
multiboot.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
pcie.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
prep_c.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
reboot_rst_cnt.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
spec_ctrl.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
tls.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
userspace.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
x86_mmu.c arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00