1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/sparc64
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
..
central Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
conf Fix whitespace on addition of IPSEC option 2015-11-26 21:35:50 +00:00
ebus Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
fhc 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
isa Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sbus Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sparc64 Include sys/_task.h into uma_int.h, so that taskqueue.h isn't a 2016-02-09 20:22:35 +00:00