|
|
1.1 ! root 1: /* ! 2: * Mach device definitions (i386at version). ! 3: * ! 4: * Copyright (c) 1996 The University of Utah and ! 5: * the Computer Systems Laboratory at the University of Utah (CSL). ! 6: * All rights reserved. ! 7: * ! 8: * Permission to use, copy, modify and distribute this software is hereby ! 9: * granted provided that (1) source code retains these copyright, permission, ! 10: * and disclaimer notices, and (2) redistributions including binaries ! 11: * reproduce the notices in supporting documentation, and (3) all advertising ! 12: * materials mentioning features or use of this software display the following ! 13: * acknowledgement: ``This product includes software developed by the ! 14: * Computer Systems Laboratory at the University of Utah.'' ! 15: * ! 16: * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS ! 17: * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF ! 18: * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. ! 19: * ! 20: * CSL requests users of this software to return to [email protected] any ! 21: * improvements that they make and grant CSL redistribution rights. ! 22: * ! 23: * Author: Shantanu Goel, University of Utah CSL ! 24: */ ! 25: ! 26: #ifndef _I386AT_DEV_HDR_H_ ! 27: #define _I386AT_DEV_HDR_H_ ! 28: ! 29: struct device_emulation_ops; ! 30: ! 31: /* This structure is associated with each open device port. ! 32: The port representing the device points to this structure. */ ! 33: struct device ! 34: { ! 35: struct device_emulation_ops *emul_ops; ! 36: void *emul_data; ! 37: }; ! 38: ! 39: typedef struct device *device_t; ! 40: ! 41: #define DEVICE_NULL ((device_t) 0) ! 42: ! 43: #endif /* _I386AT_DEV_HDR_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.