The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/kern/ipc_tt.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1993,1991,1990,1989,1988,1987 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    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.
   11  * 
   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.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 /*
   27  * HISTORY
   28  * $Log:        ipc_tt.h,v $
   29  * Revision 2.7  93/11/17  17:12:22  dbg
   30  *      ANSI-fied.
   31  *      [93/06/16            dbg]
   32  * 
   33  * Revision 2.6  91/06/25  10:29:05  rpd
   34  *      Changed the convert_foo_to_bar functions
   35  *      to use ipc_port_t instead of mach_port_t.
   36  *      [91/05/27            rpd]
   37  * 
   38  * Revision 2.5  91/05/14  16:43:09  mrt
   39  *      Correcting copyright
   40  * 
   41  * Revision 2.4  91/02/05  17:27:19  mrt
   42  *      Changed to new Mach copyright
   43  *      [91/02/01  16:14:05  mrt]
   44  * 
   45  * Revision 2.3  91/01/08  15:16:15  rpd
   46  *      Added retrieve_task_self_fast, retrieve_thread_self_fast.
   47  *      [90/12/27            rpd]
   48  * 
   49  * Revision 2.2  90/06/02  14:54:42  rpd
   50  *      Converted to new IPC.
   51  *      [90/03/26  22:05:32  rpd]
   52  * 
   53  * Revision 2.1  89/08/03  15:57:16  rwd
   54  * Created.
   55  * 
   56  * Revision 2.3  88/09/25  22:14:32  rpd
   57  *      Changed includes to the new style.
   58  *      [88/09/19  16:25:46  rpd]
   59  * 
   60  * Revision 2.2  88/08/06  18:21:33  rpd
   61  * Created.
   62  * 
   63  */ 
   64 
   65 #ifndef _KERN_IPC_TT_H_
   66 #define _KERN_IPC_TT_H_
   67 
   68 #include <mach/boolean.h>
   69 #include <mach/port.h>
   70 
   71 #include <ipc/ipc_types.h>
   72 #include <kern/kern_types.h>
   73 
   74 extern void ipc_task_init(task_t task, task_t parent);
   75 extern void ipc_task_enable(task_t);
   76 extern void ipc_task_disable(task_t);
   77 extern void ipc_task_terminate(task_t);
   78 
   79 extern void ipc_thread_init(thread_t);
   80 extern void ipc_thread_enable(thread_t);
   81 extern void ipc_thread_disable(thread_t);
   82 extern void ipc_thread_terminate(thread_t);
   83 
   84 #if 0
   85 extern ipc_port_t
   86 retrieve_task_self(task_t);
   87 #endif
   88 
   89 extern ipc_port_t
   90 retrieve_task_self_fast(task_t);
   91 
   92 #if 0
   93 extern ipc_port_t
   94 retrieve_thread_self(thread_t);
   95 #endif
   96 
   97 extern ipc_port_t
   98 retrieve_thread_self_fast(thread_t);
   99 
  100 #if 0
  101 extern ipc_port_t
  102 retrieve_task_exception(task_t);
  103 
  104 extern ipc_port_t
  105 retrieve_thread_exception(thread_t);
  106 #endif
  107 
  108 extern task_t
  109 convert_port_to_task(ipc_port_t);
  110 
  111 extern ipc_port_t
  112 convert_task_to_port(task_t);
  113 
  114 extern void
  115 task_deallocate(task_t);
  116 
  117 extern thread_t
  118 convert_port_to_thread(ipc_port_t);
  119 
  120 extern ipc_port_t
  121 convert_thread_to_port(thread_t);
  122 
  123 extern void
  124 thread_deallocate(thread_t);
  125 
  126 extern struct vm_map *
  127 convert_port_to_map(ipc_port_t);
  128 
  129 extern struct ipc_space *
  130 convert_port_to_space(ipc_port_t);
  131 
  132 extern void
  133 space_deallocate(ipc_space_t);
  134 
  135 #endif  /* _KERN_IPC_TT_H_ */

Cache object: ba084df64f22b1926c3f5bac80c4e898


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.