]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 20 Aug 2014 08:02:38 +0000 (08:02 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 20 Aug 2014 08:02:38 +0000 (08:02 +0000)
commit14fb2177844d4273084180e366a07da86072ced1
tree6928c16bf61998fe6b84e3c36b876ce1fd2d3751
parent0ee7262a721910a5a9f2fb1f83593f9ee9e4ab17
Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the
physical address of the page to direct map address, in case
SFBUF_OPTIONAL_DIRECT_MAP returns true.  The case of PowerPC AIM
64bit, where the page physical address is identical to the direct map
address, is accidental.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
sys/powerpc/include/vmparam.h
sys/sys/sf_buf.h