libk  Diff

Differences From Artifact [1bb8ef8aa2]:

To Artifact [a61775181a]:


55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
	posix_signal_float = 8,
	posix_signal_kill = 9,
	posix_signal_segfault = 11,
	posix_signal_pipe = 13,
	posix_signal_alarm = 14,
	posix_signal_terminate = 15,

#if KVarch == KA_arch_mips && KVos == KA_os_lin
	/* for some ungodly reason, some signal
	 * numbers on MIPS differ from most other
	 * architectures still in contemporary use */
	posix_signal_bus = 10,
	posix_signal_user_a = 16,
	posix_signal_user_b = 17,
	posix_signal_child = 18,
	posix_signal_continue = 25,
	posix_signal_stop = 23,
	posix_signal_terminal_stop = 24,
	posix_signal_tty_input = 26,
	posix_signal_tty_output = 27,
	posix_signal_io_urgent = 21,
	posix_signal_limit_cpu = 30,
	posix_signal_limit_space = 31,
	posix_signal_vt_alarm = 28,
	posix_signal_profile = 29,
	posix_signal_winch = 20,
	posix_signal_poll = 22,
	posix_signal_power = 19,
#elif KVos == KA_os_lin
	/* x86, ARM, and most others use these
	 * signal numbers */
	posix_signal_bus = 7,
	posix_signal_user_a = 10,
	posix_signal_user_b = 12,
	posix_signal_child = 17,
	posix_signal_continue = 18,
	posix_signal_stack_fault = 16,
	posix_signal_stop = 19,
	posix_signal_terminal_stop = 20,
	posix_signal_tty_input = 21,
	posix_signal_tty_output = 22,
	posix_signal_io_urgent = 23,
	posix_signal_limit_cpu = 24,
	posix_signal_limit_space = 25,
	posix_signal_vt_alarm = 26,
	posix_signal_profile = 27,
	posix_signal_winch = 28,
	posix_signal_poll = 29,
	posix_signal_power = 30,
#elif KVos == KA_os_fbsd
	posix_signal_bus = 10,
	posix_signal_user_a = 30,
	posix_signal_user_b = 31,
	posix_signal_child = 17,
	posix_signal_continue = 19,
	posix_signal_stack_fault = 16,
	posix_signal_stop = 17,
	posix_signal_terminal_stop = 18,
	posix_signal_tty_input = 21,
	posix_signal_tty_output = 22,
	posix_signal_io_urgent = 16,
	posix_signal_limit_cpu = 24,
	posix_signal_limit_space = 25,
	posix_signal_vt_alarm = 26,
	posix_signal_profile = 27,
	posix_signal_winch = 28,
	posix_signal_info = 29,
	posix_signal_poll = 23,
	posix_signal_power = 30,
#endif
};

#endif
#ifdef KFplatform_define_types

/* platform types */








|



|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|







55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
	posix_signal_float = 8,
	posix_signal_kill = 9,
	posix_signal_segfault = 11,
	posix_signal_pipe = 13,
	posix_signal_alarm = 14,
	posix_signal_terminate = 15,

#	if KVarch == KA_arch_mips && KVos == KA_os_lin
	/* for some ungodly reason, some signal
	 * numbers on MIPS differ from most other
	 * architectures still in contemporary use */
		posix_signal_bus = 10,
		posix_signal_user_a = 16,
		posix_signal_user_b = 17,
		posix_signal_child = 18,
		posix_signal_continue = 25,
		posix_signal_stop = 23,
		posix_signal_terminal_stop = 24,
		posix_signal_tty_input = 26,
		posix_signal_tty_output = 27,
		posix_signal_io_urgent = 21,
		posix_signal_limit_cpu = 30,
		posix_signal_limit_space = 31,
		posix_signal_vt_alarm = 28,
		posix_signal_profile = 29,
		posix_signal_winch = 20,
		posix_signal_poll = 22,
		posix_signal_power = 19,
#	elif KVos == KA_os_lin
	/* x86, ARM, and most others use these
	 * signal numbers */
		posix_signal_bus = 7,
		posix_signal_user_a = 10,
		posix_signal_user_b = 12,
		posix_signal_child = 17,
		posix_signal_continue = 18,
		posix_signal_stack_fault = 16,
		posix_signal_stop = 19,
		posix_signal_terminal_stop = 20,
		posix_signal_tty_input = 21,
		posix_signal_tty_output = 22,
		posix_signal_io_urgent = 23,
		posix_signal_limit_cpu = 24,
		posix_signal_limit_space = 25,
		posix_signal_vt_alarm = 26,
		posix_signal_profile = 27,
		posix_signal_winch = 28,
		posix_signal_poll = 29,
		posix_signal_power = 30,
#	elif KVos == KA_os_fbsd
		posix_signal_bus = 10,
		posix_signal_user_a = 30,
		posix_signal_user_b = 31,
		posix_signal_child = 17,
		posix_signal_continue = 19,
		posix_signal_stack_fault = 16,
		posix_signal_stop = 17,
		posix_signal_terminal_stop = 18,
		posix_signal_tty_input = 21,
		posix_signal_tty_output = 22,
		posix_signal_io_urgent = 16,
		posix_signal_limit_cpu = 24,
		posix_signal_limit_space = 25,
		posix_signal_vt_alarm = 26,
		posix_signal_profile = 27,
		posix_signal_winch = 28,
		posix_signal_info = 29,
		posix_signal_poll = 23,
		posix_signal_power = 30,
#	endif
};

#endif
#ifdef KFplatform_define_types

/* platform types */