aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/cdefs.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-02-18 00:32:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-02-18 00:32:11 +0000
commit67932460c7b6893a637a47d98d5f29d63e92c727 (patch)
tree23ed861340f70fdc62a8048e99bb81571d4dbf1e /sys/sys/cdefs.h
parentfa3bd463cee5c3abeac29a83dc86eb3abfa97b06 (diff)
downloadsrc-67932460c7b6893a637a47d98d5f29d63e92c727.tar.gz
src-67932460c7b6893a637a47d98d5f29d63e92c727.zip
Add a VA_IS_CLEANMAP() macro.
This macro returns true if a provided virtual address is contained in the kernel's clean submap. In CHERI kernels, the buffer cache and transient I/O map are allocated as separate regions. Abstracting this check reduces the diff relative to FreeBSD. It is perhaps slightly more readable as well. Reviewed by: kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D28710
Diffstat (limited to 'sys/sys/cdefs.h')
0 files changed, 0 insertions, 0 deletions