]> git.saurik.com Git - apple/system_cmds.git/blobdiff - mach_init.tproj/bootstrap_internal.h
system_cmds-230.0.2.tar.gz
[apple/system_cmds.git] / mach_init.tproj / bootstrap_internal.h
index b494e93ab7ce94995fb9e4bd46675a9b53d06f2a..1592e901d8a65df42438ba58c55f7acbc06c34f9 100644 (file)
@@ -1,23 +1,24 @@
 /*
- * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2002-1999 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * "Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
- * Reserved.  This file contains Original Code and/or Modifications of
- * Original Code as defined in and that are subject to the Apple Public
- * Source License Version 1.0 (the 'License').  You may not use this file
- * except in compliance with the License.  Please obtain a copy of the
- * License at http://www.apple.com/publicsource and read it before using
- * this file.
+ * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
+ * 
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this
+ * file.
  * 
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
- * License for the specific language governing rights and limitations
- * under the License."
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
 
 #import <mach/mach.h>
 #import <mach/boolean.h>
+#import <mach/notify.h>
 
-#define BASEPRI_USER   10      /* AOF Thu Feb 16 14:42:57 PST 1995 */
+#define BASEPRI_USER   31      /* AOF 20/02/2002 */
 
 #define        BITS_PER_BYTE   8       /* this SHOULD be a well defined constant */
 #define        ANYWHERE        TRUE    /* For use with vm_allocate() */
 
+#define DEMAND_REQUEST MACH_NOTIFY_LAST        /* demand service messaged */
+
+#define DELAYED_BOOTSTRAP_DESTROY TRUE         /* destroyed on last reference */
+
 extern const char *program_name;
-extern const char *conf_file;
-extern const char *default_conf;
 extern mach_port_t lookup_only_port;
 extern mach_port_t inherited_bootstrap_port;
 extern mach_port_t self_port;          /* Compatability hack */
 extern boolean_t forward_ok;
 extern boolean_t debugging;
 extern mach_port_t bootstrap_port_set;
-extern int init_priority;
+extern mach_port_t demand_port_set;
+extern mach_port_t notify_port;
+extern mach_port_t backup_port;
 extern boolean_t canReceive(mach_port_t port);
 extern boolean_t canSend(mach_port_t port);
-
-extern void msg_destroy_port(mach_port_t p);