Small update to shared driver code: SYS_EVENT (signal) is now known.

Fixed drivers. HARD_STOP message no longer exists.
This commit is contained in:
Jorrit Herder
2005-07-26 12:50:25 +00:00
parent 3d0b9140f2
commit a63d324caa
8 changed files with 43 additions and 79 deletions

View File

@@ -542,6 +542,7 @@ int scode; /* scan code for a function key */
#if DEAD_CODE
notify(proc_nr, &m);
#else
printf("alerted %d \n", proc_nr);
alert(proc_nr);
#endif
}
@@ -614,7 +615,6 @@ PUBLIC void do_panic_dumps(m)
message *m; /* request message to TTY */
{
/* Wait for keystrokes for printing debugging info and reboot. */
int quiet, code;
/* A panic! Allow debug dumps until user wants to shutdown. */
@@ -629,6 +629,7 @@ message *m; /* request message to TTY */
*/
while (nb_receive(ANY, m) == OK) {
switch(m->m_type) {
case FKEY_CONTROL: do_fkey_ctl(m); break;
case SYS_EVENT: do_new_kmess(m); break;
case DIAGNOSTICS: do_diagnostics(m); break;
default: ; /* do nothing */