1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/mips
Konstantin Belousov 90edf67ecf POSIX states that #include <signal.h> shall make both mcontext_t and
ucontext_t available.  Our code even has XXX comment about this.

Add a bit of compliance by moving struct __ucontext definition into
sys/_ucontext.h and including it into signal.h and sys/ucontext.h.

Several machine/ucontext.h headers were changed to use namespace-safe
types (like uint64_t->__uint64_t) to not depend on sys/types.h.
struct __stack_t from sys/signal.h is made always visible in private
namespace to satisfy sys/_ucontext.h requirements.

Apparently mips _types.h pollutes global namespace with f_register_t
type definition.  This commit does not try to fix the issue.

PR:	207079
Reported and tested by:	Ting-Wei Lan <lantw44@gmail.com>
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-02-12 07:38:19 +00:00
..
adm5120 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
alchemy Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
atheros EHCI: Make core reset and port speed reading more generic. 2016-01-28 14:11:59 +00:00
beri Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
cavium Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
conf Migrate the other MIPS24K SoC cores to use the CPU_MIPS24K option. 2016-02-11 06:23:02 +00:00
gxemul
idt Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
include POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
malta Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
mips Include the correct header to get a phandle_t needed by ofw_bus_if.h. While 2016-02-11 16:43:23 +00:00
nlm Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
rmi Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
rt305x Use MIPS24K now. 2016-02-02 16:25:53 +00:00
sentry5 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sibyte Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00