this repo has no description
1/*
2 * Copyright (c) 2008 Apple Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/*
24 * FILE: bootfiles.h
25 * AUTH: Soren Spies (sspies)
26 * DATE: 22 March 2006 (Copyright Apple Computer, Inc)
27 * DESC: constants for boot caches
28 */
29
30#ifndef __BOOTFILES_H__
31#define __BOOTFILES_H__
32
33#include <paths.h>
34
35/* Boot != Root directories */
36#define kBootDirR "com.apple.boot.R"
37#define kBootDirP "com.apple.boot.P"
38#define kBootDirS "com.apple.boot.S"
39
40/* Boot != Root key for firmware's /chosen */
41#define kBootRootActiveKey "bootroot-active"
42
43/* The kernel */
44#define kDefaultKernel "/mach_kernel"
45#define kKernelSymfile (_PATH_VARRUN "mach.sym")
46// kKernelSymfile obsolete, remove when load.c deleted
47
48/* The system extensions folder */
49#define kSystemExtensionsDir "/System/Library/Extensions"
50// kSystemExtensionsDir semi-obsolete in light of supporting multiple exts folders
51
52/* The system mkext file */
53#define kDefaultMkext "/System/Library/Extensions.mkext"
54// kDefaultMkext obsolete, see OSKextPrivate.h
55
56/* The booter configuration file */
57#define kBootConfig "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"
58#define kKernelFlagsKey "Kernel Flags"
59#define kMKextCacheKey "MKext Cache"
60#define kKernelNameKey "Kernel"
61#define kKernelCacheKey "Kernel Cache"
62#define kRootUUIDKey "Root UUID"
63#define kRootMatchKey "Root Match"
64
65#endif __BOOTFILES_H__