6 * Subscribe to a certain set of process events from PM. Subsequent calls will
7 * replace the set, and the empty set (a zero mask) will unsubscribe the caller
8 * altogether. Usage restrictions apply; see PM's event.c for details. Return
9 * OK or a negative error code.
12 proceventmask(unsigned int mask
)
16 memset(&m
, 0, sizeof(m
));
17 m
.m_lsys_pm_proceventmask
.mask
= mask
;
19 return _taskcall(PM_PROC_NR
, PM_PROCEVENTMASK
, &m
);