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, Mar 29, 12:58 AM
Unknown Object (File)
Tue, Mar 24, 7:12 PM
Unknown Object (File)
Sun, Mar 22, 1:00 AM
Unknown Object (File)
Fri, Mar 20, 5:39 AM
Unknown Object (File)
Fri, Mar 20, 5:39 AM
Unknown Object (File)
Sat, Mar 14, 12:51 PM
Unknown Object (File)
Feb 26 2026, 1:14 PM
Unknown Object (File)
Feb 26 2026, 5:55 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