Page MenuHomeFreeBSD

amd64: restore semantic for VIRT_IN_DMAP()
ClosedPublic

Authored by kib on Jul 15 2025, 11:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 12:13 PM
Unknown Object (File)
Sun, Oct 12, 12:13 PM
Unknown Object (File)
Sun, Oct 12, 12:13 PM
Unknown Object (File)
Sun, Oct 12, 1:16 AM
Unknown Object (File)
Thu, Oct 9, 2:18 PM
Unknown Object (File)
Thu, Sep 25, 7:17 PM
Unknown Object (File)
Wed, Sep 17, 10:06 PM
Unknown Object (File)
Sep 13 2025, 7:10 AM
Subscribers

Details

Summary
The macro should check if the virtual address falls into working direct
map, not that it falls into KVA potentially belonging to DMAP.  This was
its previous meaning, as can be seen in the only use by DMAP_TO_PHYS().

Fixes:  4dd828c80828637452a8a4e07a64e294c82e5d8b

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable