Annotation of kernel/mach/mach_traps.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
        !             7:  * Reserved.  This file contains Original Code and/or Modifications of
        !             8:  * Original Code as defined in and that are subject to the Apple Public
        !             9:  * Source License Version 1.1 (the "License").  You may not use this file
        !            10:  * except in compliance with the License.  Please obtain a copy of the
        !            11:  * License at http://www.apple.com/publicsource and read it before using
        !            12:  * this file.
        !            13:  * 
        !            14:  * The Original Code and all software distributed under the License are
        !            15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
        !            16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
        !            17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
        !            18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
        !            19:  * License for the specific language governing rights and limitations
        !            20:  * under the License.
        !            21:  * 
        !            22:  * @APPLE_LICENSE_HEADER_END@
        !            23:  */
        !            24: 
        !            25: /* 
        !            26:  * Mach Operating System
        !            27:  * Copyright (c) 1989 Carnegie-Mellon University
        !            28:  * Copyright (c) 1988 Carnegie-Mellon University
        !            29:  * Copyright (c) 1987 Carnegie-Mellon University
        !            30:  * All rights reserved.  The CMU software License Agreement specifies
        !            31:  * the terms and conditions for use and redistribution.
        !            32:  */
        !            33: /*
        !            34:  * HISTORY
        !            35:  */
        !            36: /*
        !            37:  *     Definitions of general Mach system traps.
        !            38:  *
        !            39:  *     IPC traps are defined in <mach/message.h>.
        !            40:  *     Kernel RPC functions are defined in <mach/mach_interface.h>.
        !            41:  */
        !            42: 
        !            43: #ifndef        _MACH_MACH_TRAPS_H_
        !            44: #define _MACH_MACH_TRAPS_H_
        !            45: 
        !            46: #import <mach/mach_types.h>
        !            47: #import <mach/message.h>
        !            48: 
        !            49: mach_port_t            mach_reply_port(void);
        !            50: mach_port_t            mach_thread_self(void);
        !            51: mach_port_t            mach_task_self(void);
        !            52: mach_port_t            mach_host_self(void);
        !            53: port_t                 (task_self)(void);
        !            54: port_t                 task_notify(void);
        !            55: port_t                 thread_self(void);
        !            56: port_t                 thread_reply(void);
        !            57: host_t                 host_self(void);
        !            58: boolean_t              swtch(void);
        !            59: boolean_t              swtch_pri(int pri);
        !            60: kern_return_t          thread_switch(mach_port_t thread_name, int option,
        !            61:                                      mach_msg_timeout_t option_time);
        !            62: kern_return_t          map_fd(int fd, vm_offset_t offset, vm_offset_t *va,
        !            63:                               boolean_t findspace, vm_size_t size);
        !            64: 
        !            65: #if defined(KERNEL_PRIVATE)
        !            66: host_priv_t            host_priv_self(void);
        !            67: port_t                 device_master_self(void);
        !            68: port_t                 _event_port_by_tag(int num);
        !            69: port_t                 _lookupd_port(port_name_t name),
        !            70:                        _lookupd_port1(port_name_t name);
        !            71: port_t                 task_by_pid(int pid);
        !            72: kern_return_t          init_process(void);
        !            73: int            mach_swapon(char *filename, int flags, long lowat, long hiwat);
        !            74: #import <kern/time_stamp.h>
        !            75: kern_return_t  kern_timestamp(struct   tsval   *tsp);
        !            76: #endif /* KERNEL_PRIVATE */
        !            77: 
        !            78: #endif /* _MACH_MACH_TRAPS_H_ */

unix.superglobalmegacorp.com

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