<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/arm, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-12-10T10:57:50Z</updated>
<entry>
<title>Add sys/_align.h replacing machine/_align.h</title>
<updated>2025-12-10T10:57:50Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-12-10T10:55:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80203a27e964403d1d23907089f5c57c60a15c04'/>
<id>urn:sha1:80203a27e964403d1d23907089f5c57c60a15c04</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>arm64: lib32: Don't try to install removed &lt;machine/runq.h&gt;</title>
<updated>2025-06-18T16:00:08Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2025-06-18T14:31:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=63c9b018069b58bacb2875c83c676cc8c4f40d69'/>
<id>urn:sha1:63c9b018069b58bacb2875c83c676cc8c4f40d69</id>
<content type='text'>
Reported by:    Herbert J. Skuhra (herbert gojira.at)
Fixes:          79d8a99ee583 ("runq: Deduce most parameters, remove machine headers")
MFC after:      1 month
Event:          Kitchener-Waterloo Hackathon 202506
Sponsored by:   The FreeBSD Foundation
</content>
</entry>
<entry>
<title>arm64 lib32: prepare arm64 headers to redirect to arm</title>
<updated>2023-07-25T23:59:26Z</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2023-07-25T23:59:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5d97bed4ab6bb63e97c8ff67b5b94ae37cd24fc'/>
<id>urn:sha1:d5d97bed4ab6bb63e97c8ff67b5b94ae37cd24fc</id>
<content type='text'>
In order to compile lib32 libraries and other 32-bit code on arm64,
&lt;machine/foo.h&gt; needs to be redirected to an arm header rather
than arm64 when building with -m32.  Ifdef the arm64 headers that
are installed in /usr/include/machine and used by user-level software
(including references from /usr/include/*.h) so that if __arm__ is
defined when including the arm64 version, &lt;arm/foo.h&gt; is included
rather than using the rest of the file's contents.  Some arm headers
had no arm64 equivalent; headers were added just to do the redirection.
These files use #error if __arm__ is not defined to guard against
confusion.  Also add an include/arm Makefile, and modify Makefiles
as needed to install everything, including the arm files in
/usr/include/arm.  fenv.h comes from lib/msun/arm/fenv.h.

The new arm64 headers are:
    acle-compat.h
    cpuinfo.h
    sysreg.h

Reviewed by:	jrtc27, imp
Differential Revision:	https://reviews.freebsd.org/D40944
</content>
</entry>
</feed>
