Age | Commit message (Collapse) | Author | |
---|---|---|---|
3 days | kernel: Introduce per-arch M_WORD_SIZE | Ian Moffett | |
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> |