For /dev/mem, map in memory to be copied to memory's own address space
[minix3.git] / kernel / system / do_unused.c
blob4e2b0001b259c2264a555d0fd67937448fac8196
1 /* This file provides a catch-all handler for unused kernel calls. A kernel
2 * call may be unused when it is not defined or when it is disabled in the
3 * kernel's configuration.
4 */
5 #include "../system.h"
7 /*===========================================================================*
8 * do_unused *
9 *===========================================================================*/
10 PUBLIC int do_unused(m)
11 message *m; /* pointer to request message */
13 kprintf("SYSTEM: got unused request %d from %d", m->m_type, m->m_source);
14 return(EBADREQUEST); /* illegal message type */