2005-08-05 11:41:15 +02:00
|
|
|
/* This file provides a catch-all handler for unused system calls. A system
|
|
|
|
* call may be unused when it is not defined or when it is disabled in the
|
|
|
|
* kernel's configuration.
|
|
|
|
*/
|
2005-07-14 17:12:12 +02:00
|
|
|
#include "../system.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* do_unused *
|
|
|
|
*===========================================================================*/
|
|
|
|
PUBLIC int do_unused(m)
|
|
|
|
message *m; /* pointer to request message */
|
|
|
|
{
|
2005-08-05 11:41:15 +02:00
|
|
|
kprintf("SYSTEM: got unused request %d from %d", m->m_type, m->m_source);
|
2005-08-10 12:23:55 +02:00
|
|
|
return(EBADREQUEST); /* illegal message type */
|
2005-07-14 17:12:12 +02:00
|
|
|
}
|
|
|
|
|