summaryrefslogtreecommitdiff
path: root/usr.bin/oasm/emit.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-28 15:52:34 -0400
committerIan Moffett <ian@osmora.org>2025-07-28 15:52:34 -0400
commit6742d9213fbbc4b522c0777d0e958794e40fb86b (patch)
treeb68a0e14166808b46edc0bbcf0cf4714dd0b34a2 /usr.bin/oasm/emit.c
parent037787ec82f99e3015c423c1e9a09a76017f0203 (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 'usr.bin/oasm/emit.c')
0 files changed, 0 insertions, 0 deletions