pmap_mapdev: Consistently use vm_paddr_t for the first argument.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 28 Jul 2022 22:55:10 +0000 (15:55 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 28 Jul 2022 22:55:10 +0000 (15:55 -0700)
commitea8f128c7c17d72fc956ee91e415605cff5cc5c3
treec2fa3577e4b47006f86ffe3ee2bc137d37424d7c
parent9579540144880e0a612ec2fdfc66de46c08d28d6
pmap_mapdev: Consistently use vm_paddr_t for the first argument.

The devmap variants used vm_offset_t for some reason, and a few places
explicitly cast bus addresses to vm_offset_t.  (Probably those casts
along with similar casts for vm_size_t should just be removed and
instead permit the compiler to DTRT.)

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D35961
sys/arm/arm/nexus.c
sys/arm/freescale/fsl_ocotp.c
sys/arm64/include/pmap.h
sys/kern/subr_devmap.c
sys/powerpc/powermac/macio.c
sys/powerpc/psim/iobus.c
sys/riscv/include/pmap.h