<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/hatm, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-02-04T03:36:42Z</updated>
<entry>
<title>MFC r258779,r258780,r258787,r258822:</title>
<updated>2014-02-04T03:36:42Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-02-04T03:36:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eca45e57193faeac9fd7a519ed8aef106f2234b5'/>
<id>urn:sha1:eca45e57193faeac9fd7a519ed8aef106f2234b5</id>
<content type='text'>
Fix undefined behavior: (1 &lt;&lt; 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U &lt;&lt; 31) which gets the
expected result.

Similar to the (1 &lt;&lt; 31) case it is not defined to do (2 &lt;&lt; 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
</content>
</entry>
<entry>
<title>Give (*ext_free) an int return value allowing for very sophisticated</title>
<updated>2013-08-25T10:57:09Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2013-08-25T10:57:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb25e5ab00bc882543960e212f182ffd5bb540f5'/>
<id>urn:sha1:bb25e5ab00bc882543960e212f182ffd5bb540f5</id>
<content type='text'>
external mbuf buffer management capabilities in the future.

For now only EXT_FREE_OK is defined with current legacy behavior.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Add an mbuf pointer parameter to (*ext_free) to give the external</title>
<updated>2013-08-24T16:57:44Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2013-08-24T16:57:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a736876096a84d749122a7c6e0e418683ed226f'/>
<id>urn:sha1:9a736876096a84d749122a7c6e0e418683ed226f</id>
<content type='text'>
free function access to the mbuf the external memory was attached
to.

Mechanically adjust all users to include the mbuf parameter.

This fixes a long standing annoyance for external free functions.
Before one had to sacrifice one of the argument pointers for this.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI</title>
<updated>2013-08-12T23:30:01Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2013-08-12T23:30:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c68534f1d5bab4ad466384c4fb9bb2956811e8b9'/>
<id>urn:sha1:c68534f1d5bab4ad466384c4fb9bb2956811e8b9</id>
<content type='text'>
command register.  The lazy BAR allocation code in FreeBSD sometimes
disables this bit when it detects a range conflict, and will re-enable
it on demand when a driver allocates the BAR.  Thus, the bit is no longer
a reliable indication of capability, and should not be checked.  This
results in the elimination of a lot of code from drivers, and also gives
the opportunity to simplify a lot of drivers to use a helper API to set
the busmaster enable bit.

This changes fixes some recent reports of disk controllers and their
associated drives/enclosures disappearing during boot.

Submitted by:	jhb
Reviewed by:	jfv, marius, achadd, achim
MFC after:	1 day
</content>
</entry>
<entry>
<title>Mechanically substitute flags from historic mbuf allocator with</title>
<updated>2012-12-04T09:32:43Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-12-04T09:32:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6499eccad497913a5025fbde8ae76da70e08043'/>
<id>urn:sha1:c6499eccad497913a5025fbde8ae76da70e08043</id>
<content type='text'>
malloc(9) flags in sys/dev.
</content>
</entry>
<entry>
<title>More conversions of drivers to use the PCI parent DMA tag.</title>
<updated>2012-03-12T18:15:08Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2012-03-12T18:15:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62ce43ccc8752bba029e80798bc24b9be3d79c6b'/>
<id>urn:sha1:62ce43ccc8752bba029e80798bc24b9be3d79c6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove extraneous semicolons, no functional changes.</title>
<updated>2010-01-07T21:01:37Z</updated>
<author>
<name>Martin Blapp</name>
<email>mbr@FreeBSD.org</email>
</author>
<published>2010-01-07T21:01:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2ede4b379d8fa04de02c36201538fd610763299'/>
<id>urn:sha1:c2ede4b379d8fa04de02c36201538fd610763299</id>
<content type='text'>
Submitted by:	Marc Balmer &lt;marc@msys.ch&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>Free pointer from getenv() when done with it.</title>
<updated>2009-11-30T18:26:46Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2009-11-30T18:26:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4911e169677f2212f850e479e5b8f908f93b263'/>
<id>urn:sha1:a4911e169677f2212f850e479e5b8f908f93b263</id>
<content type='text'>
Submitted by:	Phil Longstaff
</content>
</entry>
<entry>
<title>Take a step towards removing if_watchdog/if_timer.  Don't explicitly set</title>
<updated>2009-11-06T14:55:01Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-11-06T14:55:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1b17582f4b6633faf7f42f4e6b98cdedc53744c'/>
<id>urn:sha1:e1b17582f4b6633faf7f42f4e6b98cdedc53744c</id>
<content type='text'>
if_watchdog/if_timer to NULL/0 when initializing an ifnet.  if_alloc()
sets those members to NULL/0 already.
</content>
</entry>
<entry>
<title>Give MEXTADD() another argument to make both void pointers to the</title>
<updated>2008-02-01T19:36:27Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2008-02-01T19:36:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf827063a9684f2300b3496f588aaf3e69c45067'/>
<id>urn:sha1:cf827063a9684f2300b3496f588aaf3e69c45067</id>
<content type='text'>
free function controlable, instead of passing the KVA of the buffer
storage as the first argument.

Fix all conventional users of the API to pass the KVA of the buffer
as the first argument, to make this a no-op commit.

Likely break the only non-convetional user of the API, after informing
the relevant committer.

Update the mbuf(9) manual page, which was already out of sync on
this point.

Bump __FreeBSD_version to 800016 as there is no way to tell how
many arguments a CPP macro needs any other way.

This paves the way for giving sendfile(9) a way to wait for the
passed storage to have been accessed before returning.

This does not affect the memory layout or size of mbufs.

Parental oversight by:	sam and rwatson.

No MFC is anticipated.
</content>
</entry>
</feed>
