HomeFreeBSD

amd64: provide PHYS_IN_DMAP() and VIRT_IN_DMAP()

Description

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

Details

Provenance
mhorneAuthored on Nov 17 2021, 3:29 PM
Reviewer
kib
Differential Revision
D32962: amd64: provide PHYS_IN_DMAP() and VIRT_IN_DMAP()
Parents
rG1adebe3cd6b1: minidump: Parameterize minidumpsys()
Branches
Unknown
Tags
Unknown