···11+/*
22+ * Copyright (c) 2008 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. Please obtain a copy of the License at
1010+ * http://www.opensource.apple.com/apsl/ and read it before using this
1111+ * file.
1212+ *
1313+ * The Original Code and all software distributed under the License are
1414+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1515+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1616+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1717+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1818+ * Please see the License for the specific language governing rights and
1919+ * limitations under the License.
2020+ *
2121+ * @APPLE_LICENSE_HEADER_END@
2222+ */
2323+/*
2424+ * FILE: bootfiles.h
2525+ * AUTH: Soren Spies (sspies)
2626+ * DATE: 22 March 2006 (Copyright Apple Computer, Inc)
2727+ * DESC: constants for boot caches
2828+ */
2929+3030+#ifndef __BOOTFILES_H__
3131+#define __BOOTFILES_H__
3232+3333+#include <paths.h>
3434+3535+/* Boot != Root directories */
3636+#define kBootDirR "com.apple.boot.R"
3737+#define kBootDirP "com.apple.boot.P"
3838+#define kBootDirS "com.apple.boot.S"
3939+4040+/* Boot != Root key for firmware's /chosen */
4141+#define kBootRootActiveKey "bootroot-active"
4242+4343+/* The kernel */
4444+#define kDefaultKernel "/mach_kernel"
4545+#define kKernelSymfile (_PATH_VARRUN "mach.sym")
4646+// kKernelSymfile obsolete, remove when load.c deleted
4747+4848+/* The system extensions folder */
4949+#define kSystemExtensionsDir "/System/Library/Extensions"
5050+// kSystemExtensionsDir semi-obsolete in light of supporting multiple exts folders
5151+5252+/* The system mkext file */
5353+#define kDefaultMkext "/System/Library/Extensions.mkext"
5454+// kDefaultMkext obsolete, see OSKextPrivate.h
5555+5656+/* The booter configuration file */
5757+#define kBootConfig "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"
5858+#define kKernelFlagsKey "Kernel Flags"
5959+#define kMKextCacheKey "MKext Cache"
6060+#define kKernelNameKey "Kernel"
6161+#define kKernelCacheKey "Kernel Cache"
6262+#define kRootUUIDKey "Root UUID"
6363+#define kRootMatchKey "Root Match"
6464+6565+#endif __BOOTFILES_H__