New NOTIFY trap (IPC call) to send queued notification messages.

The call works. Permission check, restriction of outstanding notifications
to be added. Low level code to make it work from within interrupt handlers
will be added as well.
This commit is contained in:
Jorrit Herder
2005-05-19 14:05:51 +00:00
parent 129b82d207
commit 307c825515
13 changed files with 151 additions and 30 deletions

View File

@@ -47,8 +47,8 @@ register message *m_ptr; /* pointer to request message */
rpc->p_ldt_sel = old_ldt_sel;
#endif
rpc->p_nr = m_ptr->PR_PROC_NR; /* this was obliterated by copy */
rpc->p_flags |= NO_MAP; /* inhibit the process from running */
rpc->p_ntf_q = NULL; /* remove pending notifications */
rpc->p_flags |= NO_MAP; /* inhibit process from running */
rpc->p_flags &= ~(PENDING | SIG_PENDING | P_STOP);