diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2025-12-10 10:55:28 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2025-12-10 10:57:50 +0000 |
| commit | 80203a27e964403d1d23907089f5c57c60a15c04 (patch) | |
| tree | d86a94f56318757f6521e94a415f49317d544c47 /sys/contrib/device-tree/Bindings/rtc/stmp3xxx-rtc.txt | |
| parent | cfae62eac076d43bc94c667084018a21ee8a305f (diff) | |
Define _ALIGNBYTES using sizeof(void *) (no functional change on any
existing architecture) which will allow it to work with CHERI were we
must align things up to capability alignment.
In _ALIGN, replace integer manipulation which does not preserve pointer
provenance with a type and provenance preserving builtin. This requires
modest changes in code which assumes _ALIGN returns an integer, but
those are relatively rare.
Reviewed by: kib, markj
Effort: CHERI upstreaming
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D53947
Diffstat (limited to 'sys/contrib/device-tree/Bindings/rtc/stmp3xxx-rtc.txt')
0 files changed, 0 insertions, 0 deletions
