| PORTFEATURES(9) | Kernel Developer's Manual | PORTFEATURES(9) |
portfeatures — the
__HAVEs (and the have nots)
Machine-independent kernel code adapts to differences in hardware
capabilities provided by the machine-dependent parts of the kernel. A port
declares its capabilities by defining various
__HAVE_feature macros. This
manual page provides an index of such macros with pointers to other manual
pages in the kernel section that provide all the relevant details.
__HAVE_MUTEX_STUBS
(mutex(9))__HAVE_PREEMPTION
(cpu_need_resched(9))RESCHED_KPREEMPT.__HAVE_PROCFS_MACHDEPpfstype enum for each type.__HAVE_PTRACE_MACHDEPPTRACE_MACHDEP_REQUEST_CASES
macro with case labels for its MD requests.__HAVE_RAS
(ras(9))__HAVE_SIMPLE_MUTEXES
(mutex(9))__HAVE_SPIN_MUTEX_STUBS
(mutex(9))__HAVE_UCAS_FULL
(ucas(9))__HAVE_UCAS_MP
(ucas(9))| July 27, 2025 | NetBSD 11.0 |