e21f96a811
machine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h via machine/reg.h. Many of the regnum definitions are too short and too generic to be exposing to any userland application including one of these two headers. Moreover, these actively cause build failures in googletest (template <typename T1 ...> expanding to template <typename 9 ...>). Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all of the userland consumers to define as needed. Discussed with: imp, jhb Reviewed by: imp, jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21330 |
||
---|---|---|
.. | ||
hardfloat | ||
_ctx_start.S | ||
_set_tp.c | ||
_setjmp.S | ||
fabs.c | ||
fabs.S | ||
flt_rounds.c | ||
infinity.c | ||
ldexp.S | ||
makecontext.c | ||
Makefile.inc | ||
setjmp.S | ||
signalcontext.c | ||
sigsetjmp.S |