Annotation of XNU/osfmk/kern/norma_task.defs, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             6:  * The contents of this file constitute Original Code as defined in and
        !             7:  * are subject to the Apple Public Source License Version 1.1 (the
        !             8:  * "License").  You may not use this file except in compliance with the
        !             9:  * License.  Please obtain a copy of the License at
        !            10:  * http://www.apple.com/publicsource and read it before using this file.
        !            11:  * 
        !            12:  * This Original Code and all software distributed under the License are
        !            13:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
        !            14:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
        !            15:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
        !            16:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
        !            17:  * License for the specific language governing rights and limitations
        !            18:  * under the License.
        !            19:  * 
        !            20:  * @APPLE_LICENSE_HEADER_END@
        !            21:  */
        !            22: /*
        !            23:  * @OSF_FREE_COPYRIGHT@
        !            24:  * 
        !            25:  */
        !            26: /*
        !            27:  * HISTORY
        !            28:  * 
        !            29:  * Revision 1.1.1.1  1998/09/22 21:05:34  wsanchez
        !            30:  * Import of Mac OS X kernel (~semeria)
        !            31:  *
        !            32:  * Revision 1.1.1.1  1998/03/07 02:25:55  wsanchez
        !            33:  * Import of OSF Mach kernel (~mburg)
        !            34:  *
        !            35:  * Revision 1.1.6.1  1995/02/23  17:31:54  alanl
        !            36:  *     DIPC:  Merge from nmk17b2 to nmk18b8.
        !            37:  *     [95/01/10            alanl]
        !            38:  *
        !            39:  * Revision 1.1.4.1  1994/08/04  02:25:30  mmp
        !            40:  *     DIPC:  Merge up from NMK16.
        !            41:  *     Changed the interface of norma_task_allocate routine for handling
        !            42:  *     new exception ports.
        !            43:  *     [94/02/22            paire]
        !            44:  * 
        !            45:  * Revision 1.1.2.1  1994/04/20  18:44:01  alanl
        !            46:  *     Created, based on contents of old norma/norma_internal.defs.
        !            47:  *     These definitions all apply to creating the illusion of a
        !            48:  *     single task name space across a NORMA domain.
        !            49:  *     [1994/04/20  18:31:07  alanl]
        !            50:  * 
        !            51:  * $EndLog$
        !            52:  */
        !            53: 
        !            54: subsystem
        !            55: #if    KERNEL_USER
        !            56:          KernelUser
        !            57: #endif /* KERNEL_USER */
        !            58: #if    KERNEL_SERVER
        !            59:          KernelServer
        !            60: #endif /* KERNEL_SERVER */
        !            61:                       norma_task_internal 1400;
        !            62: #ifdef KERNEL_USER
        !            63: userprefix r_;
        !            64: #endif /* KERNEL_USER */
        !            65: 
        !            66: #include <mach/std_types.defs>
        !            67: #include <mach/mach_types.defs>
        !            68: import <kern/norma_types.h>;
        !            69: 
        !            70: type norma_registered_port_array_t     = array[*:16] of mach_port_t;
        !            71: 
        !            72: /*
        !            73:  * Create a task with no inherited address space on the given node.
        !            74:  * Used to implement norma_task_create.
        !            75:  */
        !            76: routine norma_task_allocate(
        !            77:                host_priv       : host_priv_t;
        !            78:                vector_start    : int;
        !            79:                emulation_vector: emulation_vector_t;
        !            80:                bootstrap       : mach_port_t;
        !            81:                registered      : norma_registered_port_array_t;
        !            82:                exc_masks       : exception_mask_array_t;
        !            83:                exc_ports       : exception_port_array_t, SameCount;
        !            84:                exc_behaviors   : exception_behavior_array_t, SameCount;
        !            85:                exc_flavors     : exception_flavor_array_t, SameCount;
        !            86:        out     task            : task_t);

unix.superglobalmegacorp.com

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