Chameleon

Chameleon Commit Details

Date:2011-06-09 02:53:33 (12 years 10 months ago)
Author:Azimutz
Commit:998
Parents: 997
Message:Clean and disable DEBUG's. Clean white spaces i missed earlier on BootHelp.txt.
Changes:
M/trunk/i386/libsaio/acpi_patcher.c
M/trunk/doc/BootHelp.txt
M/trunk/i386/libsaio/disk.c
M/trunk/i386/libsaio/load.c
M/trunk/i386/libsaio/biosfn.c
M/trunk/i386/libsaio/hpet.c

File differences

trunk/i386/libsaio/acpi_patcher.c
1414
1515
1616
17
17
1818
1919
2020
#include "aml_generator.h"
#ifndef DEBUG_ACPI
#define DEBUG_ACPI 1
#define DEBUG_ACPI 0
#endif
#if DEBUG_ACPI==2
trunk/i386/libsaio/load.c
2626
2727
2828
29
30
3129
3230
3331
*
*/
//#define DEBUG 1
#include <mach-o/fat.h>
#include <mach-o/loader.h>
#include <mach/machine/thread_status.h>
trunk/i386/libsaio/disk.c
5555
5656
5757
58
59
6058
6159
6260
#define UFS_SUPPORT 0
#endif
//#define DEBUG 1
#include "libsaio.h"
#include "boot.h"
#include "bootstruct.h"
trunk/i386/libsaio/hpet.c
77
88
99
10
10
1111
1212
1313
#include "hpet.h"
#ifndef DEBUG_HPET
#define DEBUG_HPET 1
#define DEBUG_HPET 0
#endif
#if DEBUG_HPET
trunk/i386/libsaio/biosfn.c
4040
4141
4242
43
44
4543
4644
4745
- Added ebiosEjectMedia
*/
//#define DEBUG 1
#include "bootstruct.h"
#include "libsaio.h"
trunk/doc/BootHelp.txt
11
22
33
4
4
55
66
77
......
1717
1818
1919
20
20
2121
2222
2323
......
2525
2626
2727
28
29
28
29
3030
3131
3232
......
4545
4646
4747
48
48
4949
5050
51
51
5252
5353
5454
......
5757
5858
5959
60
60
6161
6262
6363
......
6666
6767
6868
69
69
7070
7171
7272
7373
74
74
7575
76
76
7777
7878
7979
......
9191
9292
9393
94
94
9595
9696
9797
98
98
9999
100100
101101
......
108108
109109
110110
111
111
112112
113113
114114
......
116116
117117
118118
119
119
120120
121121
122122
The boot: prompt waits for you to type advanced startup options.
If you don't type anything, the computer continues starting up normally. It
uses the kernel and configuration files on the startup device, which it also
uses as the root device.
uses as the root device.
Advanced startup options use the following syntax:
flags: -v (verbose) -s (single user mode)
-x (safe mode) -f (ignore caches)
-F (ignore "Kernel Flags" specified in boot configuration file)
"Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32")
kernel flags (e.g. debug=0x144)
Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"
If the computer won't start up properly, you may be able to start it up
using safe mode. Type -x to start up in safe mode, which ignores all
If the computer won't start up properly, you may be able to start it up
using safe mode. Type -x to start up in safe mode, which ignores all
cached driver files.
Special booter hotkeys:
Wait=Yes|No Prompt for a key press before starting the kernel.
"Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt).
Timeout=8 Number of seconds to pause at the boot: prompt.
"Instant Menu"=Yes Force displaying the partition selection menu.
"Instant Menu"=Yes Force displaying the partition selection menu.
"Default Partition" Sets the default boot partition,
=hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a
=hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a
label enclosed in quotes.
"Hide Partition" Remove unwanted partition(s) from the boot menu.
"Rename Partition" Rename partition(s) for the boot menu.
=partition <alias> Where partition is hd(x,y), UUID or label enclosed
[;partition2 <alias2> in quotes. The alias can optionally be quoted too.
[;partition2 <alias2> in quotes. The alias can optionally be quoted too.
...]
GUI=No Disable the GUI (enabled by default).
PciRoot=<value> Use an alternate value for PciRoot (default value 0).
UseKernelCache=Yes|No Default is No. Yes will load pre-linked kernel and will
UseKernelCache=Yes|No Default is No. Yes will load pre-linked kernel and will
ignore /E/E and /S/L/E/Extensions.mkext.
GraphicsEnabler=Yes|No Automatic device-properties generation for gfx cards.
AtiConfig=<cardcfg> Use a different card config
UseAtiROM=Yes|No Use an alternate Ati ROM image
UseAtiROM=Yes|No Use an alternate Ati ROM image
(path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
(path: /Extra/<vendorid>_<devid>.rom)
VBIOS=Yes|No Inject NVIDIA VBIOS into device-properties.
display_0=<value> Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).
Wake=No Disable wake up after hibernation (default: enabled).
ForceWake=Yes Force using the sleepimage (disabled by default).
WakeImage=<file> Use an alternate sleepimage file.
WakeImage=<file> Use an alternate sleepimage file.
(default path is /private/var/vm/sleepimage).
DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.
DSDT=<file> Use an alternate DSDT.aml file
DSDT=<file> Use an alternate DSDT.aml file
(default paths:
/DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
EnableC3State=Yes Enable specific Processor power state, C3.
EnableC4State=Yes Enable specific Processor power state, C4.
SMBIOS=<file> Use an alternate SMBIOS.plist file
SMBIOS=<file> Use an alternate SMBIOS.plist file
(default paths:
/Extra/SMBIOS.plist bt(0,0)/Extra/SMBIOS.plist).
smbios.plist doesn't exist, factory values are kept.
"Scan Single Drive" Scan the drive only where the booter got loaded from.
=Yes|No Fix rescan pbs when using a DVD reader in AHCI mode.
=Yes|No Fix rescan pbs when using a DVD reader in AHCI mode.
Rescan=Yes Enable CD-ROM rescan mode.
"Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode.
SystemId=<UUID> Set manually the system id UUID,

Archive Download the corresponding diff file

Revision: 998