Differences From
Artifact [4c89ca109f]:
39 39 #elif KVos == KA_os_fbsd
40 40 posix_flag_anonymous = 0x1000,
41 41 #endif
42 42
43 43 /* platform flags */
44 44 posix_flag_linux_hugetlb = 0x40000
45 45 };
46 +
47 +enum posix_signal {
48 + /* these numbers appear to be consistent across all
49 + * platforms; we may have to specialize them if this
50 + * assumption turns out to be untrue however. */
51 + posix_signal_hangup = 1,
52 + posix_signal_interrupt = 2,
53 + posix_signal_quit = 3,
54 + posix_signal_illegal = 4,
55 + posix_signal_trap = 5,
56 + posix_signal_abort = 6,
57 + posix_signal_bus = 7,
58 + posix_signal_float = 8,
59 + posix_signal_kill = 9,
60 + posix_signal_user_a = 10,
61 + posix_signal_user_b = 12,
62 + posix_signal_segfault = 11,
63 + posix_signal_pipe = 13,
64 + posix_signal_alarm = 14,
65 + posix_signal_terminate = 15,
66 + posix_signal_stack_fault = 16,
67 + posix_signal_child = 17,
68 + posix_signal_continue = 18,
69 + posix_signal_stop = 19,
70 + posix_signal_terminal_stop = 20,
71 + posix_signal_tty_input = 21,
72 + posix_signal_tty_output = 22,
73 + posix_signal_io_urgent = 23,
74 + posix_signal_limit_cpu = 24,
75 + posix_signal_limit_space = 25,
76 + posix_signal_vt_alarm = 26,
77 + posix_signal_profile = 27,
78 + posix_signal_winch = 28,
79 + posix_signal_poll = 29,
80 + posix_signal_power = 30,
81 + posix_signal_system = 31,
82 +};
46 83
47 84 #endif
48 85 #ifdef KFplatform_define_types
49 86
50 87 /* platform types */
51 88
52 89 typedef s64 k_platform_syscall_return;