This is mach_types.h in view mode; [Download] [Up]
/* * Mach Operating System * Copyright (c) 1992,1991,1990,1989,1988 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. * * Carnegie Mellon requests users of this software to return to * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. */ /* * HISTORY * $Log: mach_types.h,v $ * Revision 2.11 93/01/24 13:20:48 danner * Include the pc_sample.h definition for everyone. The * sample_control structure is included in task.h and thread.h. * [93/01/12 rvb] * * Revision 2.10 93/01/14 17:44:36 danner * Moved definition of vm_address_t to std_types.h. * [92/12/14 pds] * Cleanup. * [92/06/10 pds] * * Revision 2.9 92/03/10 16:27:03 jsb * NORMA_VM: define mach_xmm_obj_t and xmm_kobj_lookup(). * [92/02/10 08:47:29 jsb] * * Revision 2.8 91/06/25 10:30:20 rpd * Added KERNEL-compilation includes for *_array_t types. * [91/05/23 rpd] * * Revision 2.7 91/06/06 17:08:07 jsb * Added emulation_vector_t for new get/set emulation vector calls. * [91/05/24 17:46:31 jsb] * * Revision 2.6 91/05/14 16:55:17 mrt * Correcting copyright * * Revision 2.5 91/02/05 17:33:43 mrt * Changed to new Mach copyright * [91/02/01 17:18:38 mrt] * * Revision 2.4 90/08/07 18:00:30 rpd * Added processor_set_name_array_t. * Removed vm_region_t, vm_region_array_t. * [90/08/07 rpd] * * Revision 2.3 90/06/02 14:58:42 rpd * Converted to new IPC. * [90/03/26 22:33:59 rpd] * * Revision 2.2 90/01/22 23:05:48 af * Added inclusion of vm_attributes. * [89/12/09 af] * * Moved KERNEL type definitions into kern/mach_types_kernel.h, so * that changing them will not affect user programs. * [89/04/06 dbg] * * Removed io_buf_t, io_buf_ptr_t in favor of device interface. * Removed include of ipc_netport.h. Removed vm_page_data_t * (obsolete). * [89/01/14 dbg] * * Revision 2.1 89/08/03 16:02:27 rwd * Created. * * Revision 2.3 89/02/25 18:38:04 gm0w * Changes for cleanup. * * Revision 2.2 89/01/15 16:30:50 rpd * Moved from kern/ to mach/. * [89/01/15 14:35:53 rpd] * * Revision 2.10 89/01/12 11:15:18 rpd * Removed pointer_t declaration; it belongs in std_types.h. * * Revision 2.9 89/01/12 07:57:53 rpd * Moved basic stuff to std_types.h. Removed debugging definitions. * Moved io_buf definitions to device_types.h. * [89/01/12 04:51:54 rpd] * * Revision 2.8 89/01/04 13:37:34 rpd * Include <kern/fpa_counters.h>, for fpa_counters_t. * [89/01/01 15:03:52 rpd] * * Revision 2.7 88/09/25 22:15:28 rpd * Changed sys/callout.h to kern/callout_statistics.h. * [88/09/09 14:00:19 rpd] * * Changed includes to the new style. * Added include of sys/callout.h. * [88/09/09 04:47:42 rpd] * * Revision 2.6 88/08/06 18:22:34 rpd * Changed sys/mach_ipc_netport.h to kern/ipc_netport.h. * * Revision 2.5 88/07/21 00:36:06 rpd * Added include of ipc_statistics.h. * * Revision 2.4 88/07/17 19:33:20 mwyoung * *** empty log message *** * * 29-Jun-88 Michael Young (mwyoung) at Carnegie-Mellon University * Use new <mach/memory_object.h>. * * 9-Apr-88 Daniel Julin (dpj) at Carnegie-Mellon University * Changed mach_ipc_vmtp.h to mach_ipc_netport.h. * * 1-Mar-88 Mary Thompson (mrt) at Carnegie Mellon * Added a conditional on _MACH_INIT_ before the include * of mach_init.h so that the kernel make of mach_user_internal * would not include mach_init.h * * 18-Jan-88 David Golub (dbg) at Carnegie-Mellon University * Added includes of task_info, thread_info, task_special_ports, * thread_special_ports for new interfaces. * * 12-Dec-87 Michael Young (mwyoung) at Carnegie-Mellon University * Reduced old history. */ /* * File: mach/mach_types.h * Author: Avadis Tevanian, Jr., Michael Wayne Young * Date: 1986 * * Mach external interface definitions. * */ #ifndef _MACH_MACH_TYPES_H_ #define _MACH_MACH_TYPES_H_ #import <mach/host_info.h> #import <mach/machine.h> #import <mach/machine/vm_types.h> #import <mach/memory_object.h> #import <mach/port.h> #import <mach/processor_info.h> #import <mach/task_info.h> #import <mach/task_special_ports.h> #import <mach/thread_info.h> #import <mach/thread_special_ports.h> #import <mach/thread_status.h> #import <mach/time_value.h> #import <mach/vm_attributes.h> #import <mach/vm_inherit.h> #import <mach/vm_prot.h> #import <mach/vm_statistics.h> typedef mach_port_t task_t; typedef task_t *task_array_t; typedef task_t vm_task_t; typedef task_t ipc_space_t; typedef mach_port_t thread_t; typedef thread_t *thread_array_t; typedef mach_port_t host_t; typedef mach_port_t host_priv_t; typedef mach_port_t processor_t; typedef mach_port_t *processor_array_t; typedef mach_port_t processor_set_t; typedef mach_port_t processor_set_name_t; typedef mach_port_t *processor_set_array_t; typedef mach_port_t *processor_set_name_array_t; /* * Define NULL types here. */ #define HOST_NULL (host_t)0 #define PROCESSOR_SET_NULL (processor_set_t)0 #define PROCESSOR_NULL (processor_t)0 #define TASK_NULL (task_t)0 #define THREAD_NULL (thread_t)0 /* * Backwards compatibility, for those programs written * before mach/{std,mach}_types.{defs,h} were set up. */ #import <mach/std_types.h> typedef unsigned int vm_region_t; typedef vm_region_t *vm_region_array_t; typedef char vm_page_data_t[4096]; #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.