zephyr/tests/kernel
Chris Friedt 9504034733 sys: util: use BITS_PER_BYTE macro instead of the magic number 8
Obviously, everyone knows that there are 8 bits per byte, so
there isn't a lot of magic happening, per se, but it's also
helpful to clearly denote where the magic number 8 is referring
to the number of bits in a byte.

Occasionally, 8 will refer to a field size or offset in a
structure, MMR, or word. Occasionally, the number 8 will refer
to the number of bytes in a 64-bit value (which should probably
be replaced with `sizeof(uint64_t)`).

For converting bits to bytes, or vice-versa, let's use
`BITS_PER_BYTE` for clarity (or other appropriate `BITS_PER_*`
macros).

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-11-16 15:22:35 -05:00
..
cache boards: rename qemu_xtensa to qemu_xtensa/dc233c 2024-10-02 09:58:36 +02:00
common test: kernel/common: custom MAX_THREAD_BYTES for imx95 SMP 2024-09-11 09:34:04 +02:00
condvar/condvar_api
context tests/kernel/context: correct the way to get IRQ number of APIC TSC Timer 2024-09-23 14:10:27 +01:00
device tests/kernel/device: add missing #power-domain-cells in overlays 2024-10-30 08:53:49 -05:00
early_sleep
events
fatal arm: tests: kernel: fix bug in fatal_exception test 2024-11-07 11:06:34 -08:00
fifo
fpu_sharing tests: kernel: fpu_sharing Fixed missing struct defs for ARM 2024-11-16 14:57:17 -05:00
gen_isr_table tests: gen_isr_table: multilevel: cleanup filter & Kconfigs 2024-10-02 10:08:19 +02:00
interrupt soc: nordic: Remove the nRF54L15 EngA 2024-10-21 01:46:39 +01:00
ipi_cascade
ipi_optimize
lifo
mbox
mem_heap/k_heap_api
mem_protect sys: util: use BITS_PER_BYTE macro instead of the magic number 8 2024-11-16 15:22:35 -05:00
mem_slab
mp
msgq
mutex tests: rename intel_adsp_ace30.conf to intel_adsp_ace30_ptl.conf 2024-10-03 22:00:54 +01:00
obj_core tests: remove misnamed platforms from platform_exclude 2024-09-16 10:07:51 +02:00
obj_tracking
pending
pipe
poll
profiling/profiling_api
queue tests: rename intel_adsp_ace30.conf to intel_adsp_ace30_ptl.conf 2024-10-03 22:00:54 +01:00
sched
semaphore tests: kernel: fix test groups for semaphore/mutex 2024-09-17 05:24:09 -04:00
sleep
smp tests: kernel: smp: Test cpu affinity with custom ROM offset 2024-10-11 13:17:25 -04:00
smp_abort
smp_boot_delay
smp_suspend
spinlock
stack/stack
threads tests: thread_error_case: no ICOUNT for qemu/xtensa/dc233c/mmu 2024-11-07 11:06:23 -08:00
tickless/tickless_concept
timer tests: kernel: timer: timer_behavior: Adjust TIMER_TEST_SAMPLES 2024-11-16 14:06:28 -05:00
usage/thread_runtime_stats tests: thread_runtime_stats: Skip the test on virtual Cortex-R8 platform 2024-10-01 09:58:22 +02:00
workq
xip