Annotation of Gnu-Mach/include/mach_debug/ipc_info.h, revision 1.1.1.3

1.1.1.2   root        1: /*
1.1       root        2:  * Mach Operating System
                      3:  * Copyright (c) 1991,1990 Carnegie Mellon University
                      4:  * All Rights Reserved.
1.1.1.2   root        5:  *
1.1       root        6:  * Permission to use, copy, modify and distribute this software and its
                      7:  * documentation is hereby granted, provided that both the copyright
                      8:  * notice and this permission notice appear in all copies of the
                      9:  * software, derivative works or modified versions, and any portions
                     10:  * thereof, and that both notices appear in supporting documentation.
1.1.1.2   root       11:  *
1.1       root       12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
1.1.1.2   root       15:  *
1.1       root       16:  * Carnegie Mellon requests users of this software to return to
1.1.1.2   root       17:  *
1.1       root       18:  *  Software Distribution Coordinator  or  [email protected]
                     19:  *  School of Computer Science
                     20:  *  Carnegie Mellon University
                     21:  *  Pittsburgh PA 15213-3890
1.1.1.2   root       22:  *
1.1       root       23:  * any improvements or extensions that they make and grant Carnegie Mellon
                     24:  * the rights to redistribute these changes.
                     25:  */
                     26: /*
                     27:  *     File:   mach_debug/ipc_info.h
                     28:  *     Author: Rich Draves
                     29:  *     Date:   March, 1990
                     30:  *
                     31:  *     Definitions for the IPC debugging interface.
                     32:  */
                     33: 
                     34: #ifndef        _MACH_DEBUG_IPC_INFO_H_
                     35: #define _MACH_DEBUG_IPC_INFO_H_
                     36: 
                     37: #include <mach/boolean.h>
                     38: #include <mach/port.h>
                     39: #include <mach/machine/vm_types.h>
                     40: 
                     41: /*
                     42:  *     Remember to update the mig type definitions
                     43:  *     in mach_debug_types.defs when adding/removing fields.
                     44:  */
                     45: 
                     46: typedef struct ipc_info_name {
                     47:        mach_port_t iin_name;           /* port name, including gen number */
                     48: /*boolean_t*/integer_t iin_marequest;  /* extant msg-accepted request? */
                     49:        mach_port_type_t iin_type;      /* straight port type */
                     50:        mach_port_urefs_t iin_urefs;    /* user-references */
                     51:        vm_offset_t iin_object;         /* object pointer */
                     52:        natural_t iin_next;             /* marequest/next in free list */
                     53: } ipc_info_name_t;
                     54: 
                     55: typedef ipc_info_name_t *ipc_info_name_array_t;
                     56: 
                     57: /*
                     58:  *     Type definitions for mach_port_kernel_object.
                     59:  *     By remarkable coincidence, these closely resemble
                     60:  *     the IKOT_* definitions in ipc/ipc_kobject.h.
                     61:  */
                     62: 
                     63: #define        IPC_INFO_TYPE_NONE              0
                     64: #define IPC_INFO_TYPE_THREAD           1
                     65: #define        IPC_INFO_TYPE_TASK              2
                     66: #define        IPC_INFO_TYPE_HOST              3
                     67: #define        IPC_INFO_TYPE_HOST_PRIV         4
                     68: #define        IPC_INFO_TYPE_PROCESSOR         5
                     69: #define        IPC_INFO_TYPE_PSET              6
                     70: #define        IPC_INFO_TYPE_PSET_NAME         7
                     71: #define        IPC_INFO_TYPE_PAGER             8
                     72: #define        IPC_INFO_TYPE_PAGING_REQUEST    9
                     73: #define        IPC_INFO_TYPE_DEVICE            10
                     74: #define        IPC_INFO_TYPE_XMM_PAGER         11
                     75: #define IPC_INFO_TYPE_PAGING_NAME      12
                     76: 
1.1.1.2   root       77: #endif /* _MACH_DEBUG_IPC_INFO_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.