<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/agp, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-07-19T18:02:00Z</updated>
<entry>
<title>Adjust agp_find_device() definition in agp.c to avoid clang 15 warning</title>
<updated>2022-07-19T18:02:00Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2022-07-16T14:46:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=381951ce6dc8ab3b13f39757ecbce41b1fea5e53'/>
<id>urn:sha1:381951ce6dc8ab3b13f39757ecbce41b1fea5e53</id>
<content type='text'>
With clang 15, the following -Werror warning is produced:

    sys/dev/agp/agp.c:910:16: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    agp_find_device()
                   ^
                    void

This is because agp_find_device() is declared with a (void) argument
list, and defined with an empty argument list. Make the definition match
the declaration.

MFC after:	3 days

(cherry picked from commit c0817e2aba26ceb683e9c649c22d7fcd9a921231)
</content>
</entry>
<entry>
<title>Eliminate the arena parameter to kmem_free().  Implicitly this corrects an</title>
<updated>2018-08-25T19:38:08Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2018-08-25T19:38:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49bfa624ac861d7fafc87f06dc2cdf4972aed854'/>
<id>urn:sha1:49bfa624ac861d7fafc87f06dc2cdf4972aed854</id>
<content type='text'>
error in the function hypercall_memfree(), where the wrong arena was being
passed to kmem_free().

Introduce a per-page flag, VPO_KMEM_EXEC, to mark physical pages that are
mapped in kmem with execute permissions.  Use this flag to determine which
arena the kmem virtual addresses are returned to.

Eliminate UMA_SLAB_KRWX.  The introduction of VPO_KMEM_EXEC makes it
redundant.

Update the nearby comment for UMA_SLAB_KERNEL.

Reviewed by:	kib, markj
Discussed with:	jeff
Approved by:	re (marius)
Differential Revision:	https://reviews.freebsd.org/D16845
</content>
</entry>
<entry>
<title>Eliminate kmem_alloc_contig()'s unused arena parameter.</title>
<updated>2018-08-20T15:57:27Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2018-08-20T15:57:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44d0efb2154d884c85919229f28b31d50d25a350'/>
<id>urn:sha1:44d0efb2154d884c85919229f28b31d50d25a350</id>
<content type='text'>
Reviewed by:	hselasky, kib, markj
Discussed with:	jeff
Differential Revision:	https://reviews.freebsd.org/D16799
</content>
</entry>
<entry>
<title>Oops.  r338030 didn't eliminate the unused arena argument from all of</title>
<updated>2018-08-18T22:35:19Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2018-08-18T22:35:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94d0f0877db6bf0511dc0198e78b870618f42d3e'/>
<id>urn:sha1:94d0f0877db6bf0511dc0198e78b870618f42d3e</id>
<content type='text'>
kmem_alloc_attr()'s callers.  Correct that mistake.
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Add a helper function to agp(4) which installs a single GTT entry.</title>
<updated>2017-07-09T22:53:24Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-07-09T22:53:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ee96d1452c6b93767920a59035d4cb66a6a6b68'/>
<id>urn:sha1:8ee96d1452c6b93767920a59035d4cb66a6a6b68</id>
<content type='text'>
Submitted by:	dumbbell
MFC after:	1 week
</content>
</entry>
<entry>
<title>sys/dev: Replace zero with NULL for pointers.</title>
<updated>2017-02-20T03:43:12Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-02-20T03:43:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d24901ac9131267fd188c5e1ee19a219847238a'/>
<id>urn:sha1:4d24901ac9131267fd188c5e1ee19a219847238a</id>
<content type='text'>
Makes things easier to read, plus architectures may set NULL to something
different than zero.

Found with:	devel/coccinelle
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Move bogus_page declaration to vm_page.h and initialization to vm_page.c.</title>
<updated>2017-01-04T22:27:19Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2017-01-04T22:27:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bfc8c24c7350da9093271263d46897862b259068'/>
<id>urn:sha1:bfc8c24c7350da9093271263d46897862b259068</id>
<content type='text'>
Reviewed by:	kib
</content>
</entry>
<entry>
<title>sys: use our roundup2/rounddown2() macros when param.h is available.</title>
<updated>2016-04-21T19:57:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T19:57:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d9c9c81c083a76a65c6cacf8fcbc0511e2ffa489'/>
<id>urn:sha1:d9c9c81c083a76a65c6cacf8fcbc0511e2ffa489</id>
<content type='text'>
rounddown2 tends to produce longer lines than the original code
and when the code has a high indentation level it was not really
advantageous to do the replacement.

This tries to strike a balance between readability using the macros
and flexibility of having the expressions, so not everything is
converted.
</content>
</entry>
<entry>
<title>dev/agp: use our nitems() macro when it is avaliable through param.h.</title>
<updated>2016-04-19T23:31:35Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-19T23:31:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ec642f1d61bbab5998f7b19281396ee925f82f0'/>
<id>urn:sha1:4ec642f1d61bbab5998f7b19281396ee925f82f0</id>
<content type='text'>
Consistently capitalize the macros used in the driver.

No functional change.
</content>
</entry>
</feed>
