<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/libkern, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>arm64: Mark the armv8 crc32c as supporting BTI</title>
<updated>2024-02-19T13:17:47+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2023-11-14T15:01:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e7d2a96f4f9bf579e5fde5870772a39fb6ffac2a'/>
<id>e7d2a96f4f9bf579e5fde5870772a39fb6ffac2a</id>
<content type='text'>
This is built into a test so needs the BTI elf note for the rest of the
test to be built with BTI support enabled.

As the assembly uses the ENTRY macro it already supports BTI, so mark
it as such.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42595

(cherry picked from commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is built into a test so needs the BTI elf note for the rest of the
test to be built with BTI support enabled.

As the assembly uses the ENTRY macro it already supports BTI, so mark
it as such.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42595

(cherry picked from commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .h pattern</title>
<updated>2023-08-16T17:54:18+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ff63af9b88c7413b7d71715b5532625752a248e'/>
<id>2ff63af9b88c7413b7d71715b5532625752a248e</id>
<content type='text'>
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>gsb_crc32: Fix a warning when compiled in userland.</title>
<updated>2023-07-31T20:24:18+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-07-31T20:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=56e9a0136f87de0dd5d834289d40835700bc9e5b'/>
<id>56e9a0136f87de0dd5d834289d40835700bc9e5b</id>
<content type='text'>
crc32_tab[] is only exposed as a global in &lt;sys/gsb_crc32.h&gt; for the
kernel, not for userland.

Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D40614
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
crc32_tab[] is only exposed as a global in &lt;sys/gsb_crc32.h&gt; for the
kernel, not for userland.

Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D40614
</pre>
</div>
</content>
</entry>
<entry>
<title>divmoddi*: Use separate statements instead of the comma operator.</title>
<updated>2023-07-07T20:01:19+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-07-07T20:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9ac841e922da86d4259add8bf64467f693b4f8aa'/>
<id>9ac841e922da86d4259add8bf64467f693b4f8aa</id>
<content type='text'>
Differential Revision:	https://reviews.freebsd.org/D40835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision:	https://reviews.freebsd.org/D40835
</pre>
</div>
</content>
</entry>
<entry>
<title>libkern: remove old ffs/fls routines</title>
<updated>2023-07-06T17:46:41+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2023-07-06T17:46:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f4db342d44198973c1c7b9005d0c5683a582707e'/>
<id>f4db342d44198973c1c7b9005d0c5683a582707e</id>
<content type='text'>
These are poorly optimized (linear search), and we now prefer the
compiler-provided routines on all platforms. These files can be removed.

Reviewed by:	emaste, dougm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are poorly optimized (linear search), and we now prefer the
compiler-provided routines on all platforms. These files can be removed.

Reviewed by:	emaste, dougm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40699
</pre>
</div>
</content>
</entry>
<entry>
<title>libkern: Trim OBE comment from divmoddi routines.</title>
<updated>2023-07-01T21:43:53+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-07-01T21:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=84deca4d8ca2e188b233a45d503443b17088c788'/>
<id>84deca4d8ca2e188b233a45d503443b17088c788</id>
<content type='text'>
-1/2 is defined to be 0 in modern C.

Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D40833
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-1/2 is defined to be 0 in modern C.

Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D40833
</pre>
</div>
</content>
</entry>
<entry>
<title>divmoddi4: Handle negative remainders.</title>
<updated>2023-07-01T21:43:41+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-07-01T21:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=df11fb9bf0421ad11cfbc8834ca393a1a0c2748d'/>
<id>df11fb9bf0421ad11cfbc8834ca393a1a0c2748d</id>
<content type='text'>
The sign of the remainder matches the sign of the numerator in C.

Reported by:	jrtc27
Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D40832
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sign of the remainder matches the sign of the numerator in C.

Reported by:	jrtc27
Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D40832
</pre>
</div>
</content>
</entry>
</feed>
