/* Field names for system signals (sent by a signal manager). */
#define SIGS_SIGNAL_RECEIVED (COMMON_RQ_BASE+0)
-# define SIGS_SIG_NUM m2_i1
/* Common request to all processes: gcov data. */
#define COMMON_REQ_GCOV_DATA (COMMON_RQ_BASE+1)
} mess_lsys_krn_readbios;
_ASSERT_MSG_SIZE(mess_lsys_krn_readbios);
+typedef struct {
+ int num;
+
+ uint8_t padding[52];
+} mess_pm_lsys_sigs_signal;
+_ASSERT_MSG_SIZE(mess_pm_lsys_sigs_signal);
+
typedef struct {
off_t offset;
void *addr;
mess_sigcalls m_sigcalls;
mess_lsys_krn_readbios m_lsys_krn_readbios;
+ mess_pm_lsys_sigs_signal m_pm_lsys_sigs_signal;
mess_input_tty_event m_input_tty_event;
mess_krn_lsys_schedule m_krn_lsys_schedule;
}
else {
/* Handle system signals from a signal manager. */
- signo = m_ptr->SIGS_SIG_NUM;
+ signo = m_ptr->m_pm_lsys_sigs_signal.num;
/* Debug. */
#if SEF_SIGNAL_DEBUG
/* Translate every non-termination sys signal into a message. */
message m;
m.m_type = SIGS_SIGNAL_RECEIVED;
- m.SIGS_SIG_NUM = signo;
+ m.m_pm_lsys_sigs_signal.num = signo;
asynsend3(rmp->mp_endpoint, &m, AMF_NOREPLY);
}
else {
/* Translate every non-termination signal into a message. */
m.m_type = SIGS_SIGNAL_RECEIVED;
- m.SIGS_SIG_NUM = signo;
+ m.m_pm_lsys_sigs_signal.num = signo;
asynsend3(rpub->endpoint, &m, AMF_NOREPLY);
return OK; /* signal has been delivered */