diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-28 15:52:34 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-28 15:52:34 -0400 |
commit | 6742d9213fbbc4b522c0777d0e958794e40fb86b (patch) | |
tree | b68a0e14166808b46edc0bbcf0cf4714dd0b34a2 /sys/include/lib/string.h | |
parent | 037787ec82f99e3015c423c1e9a09a76017f0203 (diff) |
kernel: Introduce per-arch M_WORD_SIZE
The machine word size describes how many bytes of data can be processed
at once. Add a per-arch M_WORD_SIZE constant to represent this platform
specific characteristic. This commit also adds an MALIGN() helper macro
to sys/param.h which can be used for optimization purposes in cases
where you want data to be perfectly aligned on a machine word boundary.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/lib/string.h')
0 files changed, 0 insertions, 0 deletions