|
|
1.1 ! root 1: /* $Header: /src386/kernel/io.386/RCS/msgstub.c,v 1.6 93/04/16 06:59:26 bin Exp Locker: bin $ ! 2: * ! 3: * The information contained herein is a trade secret of INETCO ! 4: * Systems, and is confidential information. It is provided under ! 5: * a license agreement, and may be copied or disclosed only under ! 6: * the terms of that agreement. Any reproduction or disclosure of ! 7: * this material without the express written authorization of ! 8: * INETCO Systems or persuant to the license agreement is unlawful. ! 9: * ! 10: * Copyright (c) 1985 ! 11: * An unpublished work by INETCO Systems, Ltd. ! 12: * All rights reserved. ! 13: */ ! 14: ! 15: /* ! 16: * Message Device Driver Stub. ! 17: * ! 18: * This module provides stubs for messaging routines accessed by the ! 19: * operating system, and is linked in when messaging is not specified. ! 20: * ! 21: * Author: Allan Cornish, INETCO Systems Ltd., Nov 1986. ! 22: * ! 23: * $Log: msgstub.c,v $ ! 24: * Revision 1.6 93/04/16 06:59:26 bin ! 25: * Hal: kernel 76 update ! 26: * ! 27: * Revision 1.2 92/01/06 12:29:17 hal ! 28: * Compile with cc.mwc. ! 29: * ! 30: * Revision 2.1 88/09/03 13:09:42 src ! 31: * *** empty log message *** ! 32: * ! 33: * Revision 1.1 88/03/24 17:05:52 src ! 34: * Initial revision ! 35: * ! 36: * 86/12/12 Allan Cornish /usr/src/sys/i8086/drv/msgstub.c ! 37: * Added 3rd argument to msgpoll() to support non-blocking polls. ! 38: * ! 39: * 85/11/21 Allan Cornish /usr/src/sys/i8086/drv/msgstub.c ! 40: * Initial Revision. ! 41: */ ! 42: ! 43: #include <sys/coherent.h> ! 44: #include <errno.h> ! 45: ! 46: msgpoll( qid, ev, msec ) ! 47: int qid; ! 48: int ev; ! 49: int msec; ! 50: { ! 51: return POLLNVAL; ! 52: } ! 53: ! 54: msgget() ! 55: { ! 56: u.u_error = ENXIO; ! 57: } ! 58: ! 59: msgrcv() ! 60: { ! 61: u.u_error = ENXIO; ! 62: } ! 63: ! 64: msgsnd() ! 65: { ! 66: u.u_error = ENXIO; ! 67: } ! 68: ! 69: msgctl() ! 70: { ! 71: u.u_error = ENXIO; ! 72: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.