source: branches/minix3-book/kernel/system/do_unused.c@ 25

Last change on this file since 25 was 4, checked in by Mattia Monga, 14 years ago

Importazione sorgenti libro

File size: 606 bytes
Line 
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"
6
7/*===========================================================================*
8 * do_unused *
9 *===========================================================================*/
10PUBLIC int do_unused(m)
11message *m; /* pointer to request message */
12{
13 kprintf("SYSTEM: got unused request %d from %d", m->m_type, m->m_source);
14 return(EBADREQUEST); /* illegal message type */
15}
16
Note: See TracBrowser for help on using the repository browser.