zephyr/tests/kernel/mem_protect
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
..
demand_paging tests: demand_paging: add a test for on-demand sections 2024-09-11 20:18:51 -04:00
futex
mem_map tests: mem_map: fix memory exhaustion test on qemu_x86_tiny 2024-10-15 04:12:25 -04:00
mem_protect sys: util: use BITS_PER_BYTE macro instead of the magic number 8 2024-11-16 15:22:35 -05:00
obj_validation tests: mem_protect/obj_validation: fix check for heap size 2024-02-12 13:36:48 +01:00
protection arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
stack_random
stackprot arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
sys_sem tests: rename intel_adsp_ace30.conf to intel_adsp_ace30_ptl.conf 2024-10-03 22:00:54 +01:00
syscalls tests: mem_protect/syscalls: exclude board numaker_m2l31ki 2024-06-12 21:13:26 -04:00
userspace boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00