]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: provide PHYS_IN_DMAP() and VIRT_IN_DMAP()
authorMitchell Horne <mhorne@FreeBSD.org>
Wed, 17 Nov 2021 15:29:02 +0000 (11:29 -0400)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 19 Nov 2021 19:05:52 +0000 (15:05 -0400)
commit90d4da62259299a8d91fed1121be97ac5b7b6b3c
treee2cd423b239990de8f0390a55569b16569b86ebd
parent1adebe3cd6b1eb0973969e2c4c5d41f174caa304
amd64: provide PHYS_IN_DMAP() and VIRT_IN_DMAP()

It is useful for quickly checking an address against the DMAP region.
These definitions exist already on arm64 and riscv.

Reviewed by: kib, markj
MFC after: 3 days
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D32962
sys/amd64/include/vmparam.h