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/man/host_processors.man

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) 1991,1990 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:       host_processors.man,v $
   29 .\" Revision 2.5  93/05/10  19:30:56  rvb
   30 .\"     updated
   31 .\"     [93/04/21  16:03:04  lli]
   32 .\" 
   33 .\" Revision 2.1.1.1  93/04/21  16:01:18  lli
   34 .\"     updated
   35 .\" 
   36 .\" Revision 2.4  91/05/14  17:05:17  mrt
   37 .\"     Correcting copyright
   38 .\" 
   39 .\" Revision 2.3  91/02/14  14:10:34  mrt
   40 .\"     Changed to new Mach copyright
   41 .\"     [91/02/12  18:10:41  mrt]
   42 .\" 
   43 .\" Revision 2.2  90/08/07  18:35:19  rpd
   44 .\"     Created.
   45 .\" 
   46 .TH host_processors 2 2/2/89
   47 .CM 4
   48 .SH NAME
   49 .nf
   50 host_processors  \-  gets processor ports for a host
   51 .SH SYNOPSIS
   52 .nf
   53 .ft B
   54 #include <mach.h>
   55 
   56 .nf
   57 .ft B
   58 kern_return_t host_processors(host_priv, processor_list, processor_count)
   59     mach_port_t         host_priv;
   60     processor_array_t   *processor_list;        /* out, ptr to array */
   61     mach_msg_type_number_t*     *processor_count;       /* out */
   62 
   63 
   64 .fi
   65 .ft P
   66 .SH ARGUMENTS
   67 .TP 15
   68 .B
   69 host_priv
   70 Privileged host port for the desired host.
   71 .TP 15
   72 .B
   73 processor_list
   74 The set of processors existing on
   75 .B host_priv
   76 , no particular ordering is guaranteed. 
   77 .TP 15
   78 .B
   79 processor_count
   80 The number of threads in the 
   81 .B processor_list.
   82 
   83 .SH DESCRIPTION
   84 .B host_processors
   85 gets send rights to  the processor port for each processor
   86 existing on 
   87 .B host_priv.
   88 This is the privileged port that allows its
   89 holder to control a processor. 
   90 .B processor_list
   91 is an array that is
   92 created as a result of this call. The caller may wish to 
   93 .B vm_deallocate
   94 this array when the data is no longer needed.
   95 
   96 .SH DIAGNOSTICS
   97 .TP 25
   98 KERN_SUCCESS
   99 The call succeeded.
  100 .TP 25
  101 KERN_INVALID_ARGUMENT
  102 .B host_priv
  103 is not a privileged host port.
  104 .TP 25
  105 KERN_INVALID_ADDRESS
  106 .B processor_count
  107 points to inaccessible memory.
  108 
  109 .SH SEE ALSO
  110 .B processor_start, processor_exit, processor_info, processor_control
  111 
  112 .SH BUGS
  113 Availability limited.
  114 

Cache object: bca1abd9c72f6e8932715f71e8e7b695


[ 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.