Date: Thu, 3 Sep 2015 01:38:15 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287418 - in head/sys/powerpc: include powerpc Message-ID: <201509030138.t831cFox046275@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Thu Sep 3 01:38:15 2015 New Revision: 287418 URL: https://svnweb.freebsd.org/changeset/base/287418 Log: pmap_mapdev_attr() also takes a vm_paddr_t. This was missed in r235936. With recent work for 36-bit paddr, this is now needed. Modified: head/sys/powerpc/include/pmap.h head/sys/powerpc/powerpc/pmap_dispatch.c Modified: head/sys/powerpc/include/pmap.h ============================================================================== --- head/sys/powerpc/include/pmap.h Thu Sep 3 01:15:23 2015 (r287417) +++ head/sys/powerpc/include/pmap.h Thu Sep 3 01:38:15 2015 (r287418) @@ -235,7 +235,7 @@ void pmap_kenter(vm_offset_t va, vm_pad void pmap_kenter_attr(vm_offset_t va, vm_offset_t pa, vm_memattr_t); void pmap_kremove(vm_offset_t); void *pmap_mapdev(vm_paddr_t, vm_size_t); -void *pmap_mapdev_attr(vm_offset_t, vm_size_t, vm_memattr_t); +void *pmap_mapdev_attr(vm_paddr_t, vm_size_t, vm_memattr_t); void pmap_unmapdev(vm_offset_t, vm_size_t); void pmap_page_set_memattr(vm_page_t, vm_memattr_t); void pmap_deactivate(struct thread *); Modified: head/sys/powerpc/powerpc/pmap_dispatch.c ============================================================================== --- head/sys/powerpc/powerpc/pmap_dispatch.c Thu Sep 3 01:15:23 2015 (r287417) +++ head/sys/powerpc/powerpc/pmap_dispatch.c Thu Sep 3 01:38:15 2015 (r287418) @@ -463,7 +463,7 @@ pmap_mapdev(vm_paddr_t pa, vm_size_t siz } void * -pmap_mapdev_attr(vm_offset_t pa, vm_size_t size, vm_memattr_t attr) +pmap_mapdev_attr(vm_paddr_t pa, vm_size_t size, vm_memattr_t attr) { CTR4(KTR_PMAP, "%s(%#x, %#x, %#x)", __func__, pa, size, attr);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509030138.t831cFox046275>