Root/
Source at commit 1267 created 12 years 8 months ago. By meklort, Strip out code. Update Makefiles | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 1999-2003 Apple Computer, Inc. All rights reserved.␊ |
3 | *␊ |
4 | * @APPLE_LICENSE_HEADER_START@␊ |
5 | * ␊ |
6 | * Portions Copyright (c) 1999-2003 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 2.0 (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 | * Copyright 1994 NeXT Computer, Inc.␊ |
26 | * All rights reserved.␊ |
27 | */␊ |
28 | ␊ |
29 | #ifndef __BOOT2_BOOT_H␊ |
30 | #define __BOOT2_BOOT_H␊ |
31 | ␊ |
32 | #include <sys/types.h>␊ |
33 | ␊ |
34 | /*␊ |
35 | * Keys used in system Boot.plist␊ |
36 | */␊ |
37 | #define kGraphicsModeKey␉"Graphics Mode"␊ |
38 | #define kTextModeKey␉␉"Text Mode"␊ |
39 | #define kQuietBootKey␉␉"Quiet Boot"␊ |
40 | #define kKernelFlagsKey␉␉"Kernel Flags"␊ |
41 | #define karch␉␉␉␉"arch"␉␉␉␉/* boot.c */␊ |
42 | #define kProductVersion␉␉"ProductVersion"␉/* boot.c */␊ |
43 | #define kMKextCacheKey␉␉"MKext Cache"␊ |
44 | #define kKernelNameKey␉␉"Kernel"␊ |
45 | #define kKernelCacheKey␉␉"Kernel Cache"␊ |
46 | #define kUseKernelCache␉␉"UseKernelCache"␉/* boot.c */␊ |
47 | #define kBootDeviceKey␉␉"Boot Device"␊ |
48 | #define kTimeoutKey␉␉␉"Timeout"␊ |
49 | #define kRootDeviceKey␉␉"rd"␊ |
50 | #define kBootUUIDKey␉␉"boot-uuid"␊ |
51 | #define kHelperRootUUIDKey␉"Root UUID"␊ |
52 | #define kPlatformKey␉␉"platform"␊ |
53 | #define kACPIKey␉␉␉"acpi"␊ |
54 | #define kCDROMPromptKey␉␉"CD-ROM Prompt"␊ |
55 | #define kCDROMOptionKey␉␉"CD-ROM Option Key"␊ |
56 | #define kRescanPromptKey␉"Rescan Prompt"␊ |
57 | #define kRescanKey␉␉ "Rescan"␊ |
58 | #define kScanSingleDriveKey␉"Scan Single Drive"␊ |
59 | #define kInsantMenuKey␉␉"Instant Menu"␊ |
60 | #define kDefaultKernel␉␉"mach_kernel"␊ |
61 | #define kGUIKey␉␉␉␉"GUI"␊ |
62 | #define kBootBannerKey␉␉"Boot Banner"␊ |
63 | #define kWaitForKeypressKey␉"Wait"␊ |
64 | ␊ |
65 | #define kDSDT␉␉␉␉"DSDT"␉␉␉␉/* acpi_patcher.c */␊ |
66 | #define kDropSSDT␉␉␉"DropSSDT"␉␉␉/* acpi_patcher.c */␊ |
67 | #define kRestartFix␉␉␉"RestartFix"␉␉/* acpi_patcher.c */␊ |
68 | #define kGeneratePStates␉"GeneratePStates"␉/* acpi_patcher.c */␊ |
69 | #define kGenerateCStates␉"GenerateCStates"␉/* acpi_patcher.c */␊ |
70 | #define kEnableC2States␉␉"EnableC2State"␉␉/* acpi_patcher.c */␊ |
71 | #define kEnableC3States␉␉"EnableC3State"␉␉/* acpi_patcher.c */␊ |
72 | #define kEnableC4States␉␉"EnableC4State"␉␉/* acpi_patcher.c */␊ |
73 | ␊ |
74 | #define kWake␉␉␉␉"Wake"␉␉␉␉/* boot.c */␊ |
75 | #define kForceWake␉␉␉"ForceWake"␉␉␉/* boot.c */␊ |
76 | #define kWakeImage␉␉␉"WakeImage"␉␉␉/* boot.c */␊ |
77 | ␊ |
78 | #define kbusratio␉␉␉"busratio"␉␉␉/* cpu.c */␊ |
79 | ␊ |
80 | #define kDeviceProperties␉"device-properties"␉/* device_inject.c */␊ |
81 | ␊ |
82 | #define kHidePartition␉␉"Hide Partition"␉/* disk.c */␊ |
83 | #define kRenamePartition␉"Rename Partition"␉/* disk.c */␊ |
84 | #define kDefaultPartition␉"Default Partition"␉/* sys.c */␊ |
85 | ␊ |
86 | #define kSMBIOSKey␉␉␉"SMBIOS"␉␉␉/* fake_efi.c */␊ |
87 | #define kSMBIOSdefaults␉␉"SMBIOSdefaults"␉/* smbios_patcher.c */␊ |
88 | #define kSystemID␉␉␉"SystemId"␉␉␉/* fake_efi.c */␊ |
89 | #define kSystemType␉␉␉"SystemType"␉␉/* fake_efi.c */␊ |
90 | ␊ |
91 | #define kUseMemDetect␉␉"UseMemDetect"␉ /* platform.c */␊ |
92 | ␊ |
93 | #define kPCIRootUID␉␉␉"PCIRootUID"␉␉/* pci_root.c */␊ |
94 | ␊ |
95 | #define kUseAtiROM␉␉␉"UseAtiROM"␉␉␉/* ati.c */␊ |
96 | #define kAtiConfig␉␉␉"AtiConfig"␉␉␉/* ati.c */␊ |
97 | #define kATYbinimage␉␉"ATYbinimage"␉␉/* ati.c */␊ |
98 | ␊ |
99 | #define kUseNvidiaROM␉␉"UseNvidiaROM"␉␉/* nvidia.c */␊ |
100 | #define kVBIOS␉␉␉␉"VBIOS"␉␉␉␉/* nvidia.c */␊ |
101 | #define kdcfg0␉␉␉␉"display_0"␉␉␉/* nvidia.c */␊ |
102 | #define kdcfg1␉␉␉␉"display_1"␉␉␉/* nvidia.c */␊ |
103 | ␊ |
104 | #define kEthernetBuiltIn␉"EthernetBuiltIn"␉/* pci_setup.c */␊ |
105 | #define kGraphicsEnabler␉"GraphicsEnabler"␉/* pci_setup.c */␊ |
106 | #define kForceHPET␉␉␉"ForceHPET"␉␉␉/* pci_setup.c */␊ |
107 | ␊ |
108 | #define kMD0Image␉␉␉"md0"␉␉␉␉/* ramdisk.h */␊ |
109 | ␊ |
110 | #define kUSBBusFix␉␉␉"USBBusFix"␉␉␉/* usb.c */␊ |
111 | #define kEHCIacquire␉␉"EHCIacquire"␉␉/* usb.c */␊ |
112 | #define kUHCIreset␉␉␉"UHCIreset"␉␉␉/* usb.c */␊ |
113 | #define kLegacyOff␉␉␉"USBLegacyOff"␉␉/* usb.c */␊ |
114 | #define kEHCIhard␉␉␉"EHCIhard"␉␉␉/* usb.c */␊ |
115 | ␊ |
116 | /*␊ |
117 | * Flags to the booter or kernel␊ |
118 | */␊ |
119 | #define kVerboseModeFlag␉"-v"␊ |
120 | #define kSafeModeFlag␉␉"-x"␊ |
121 | #define kIgnoreCachesFlag␉"-f"␊ |
122 | #define kIgnoreBootFileFlag␉"-F"␊ |
123 | #define kSingleUserModeFlag␉"-s"␊ |
124 | ␊ |
125 | /*␊ |
126 | * Booter behavior control␊ |
127 | */␊ |
128 | #define kBootTimeout -1␊ |
129 | #define kCDBootTimeout 8␊ |
130 | ␊ |
131 | extern void initialize_runtime();␊ |
132 | extern void common_boot(int biosdev);␊ |
133 | ␊ |
134 | ␊ |
135 | #endif /* !__BOOT2_BOOT_H */␊ |
136 |