Index: branches/cparm/doc/ModuleHelp.txt =================================================================== --- branches/cparm/doc/ModuleHelp.txt (revision 1126) +++ branches/cparm/doc/ModuleHelp.txt (revision 1127) @@ -1,14 +1,15 @@ GUI module: ---------- - GUI=No Disable the GUI (enabled by default). - "Boot Banner"=Yes|No Show boot banner in GUI mode (enabled by default). - "Legacy Logo"=Yes|No Use the legacy grey apple logo (disabled by default). - RandomTheme=Yes|No Enable/Disable switching skin randomly at boot time. + GUI=No Disable the GUI (Enabled by default). + "Boot Banner"=Yes|No Show boot banner in GUI mode (Enabled by default). + "Legacy Logo"=Yes|No Use the legacy grey apple logo (Disabled by default). + RandomTheme=Yes|No Enable/Disable switching skin randomly at boot time(Disabled by default). GraphicsEnabler module: ---------------------- - GraphicsEnabler=Yes|No Automatic device-properties generation for gfx cards. + EnableGFXModule=Yes|No Fully enable/disable the GraphicsEnabler module (Enabled by default, if the module is installed) + UseAtiROM=Yes|No Use an alternate Ati ROM image (path: /Extra/_.rom) UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image @@ -18,30 +19,41 @@ Networking module: ----------------- - EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation - for ethernet interfaces. + EnableNetworkModule=Yes|No Fully enable/disable the Networking module (Enabled by default, if the module is installed) + + EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation + for ethernet interfaces. (Enabled by default) + + EnableWifi=Yes|No Enable wifi device-properties generation, if detected. (Enabled by default) + Memory module: ------------- - UseMemDetect=Yes|No Enable/Disable advanced memory detection + EnableMemoryModule=Yes|No Fully enable/disable the Memory module (Enabled by default, if the module is installed) USBFix module: ---------- - USBBusFix=Yes Enable all USB fixes below: - EHCIacquire=Yes Enable the EHCI fix (disabled by default). - UHCIreset=Yes Enable the UHCI fix (disabled by default). - USBLegacyOff=Yes Enable the USB Legacy fix (disabled by default). + EnableUSBModule=Yes|No Fully enable/disable the USB module (Enabled by default, if the module is installed) + + USBBusFix=Yes|No Enable all USB fixes below (except EHCIhard): (Enabled by default) + EHCIacquire=Yes|No Enable the EHCI fix . + UHCIreset=Yes|No Enable the UHCI fix . + USBLegacyOff=Yes|No Enable the USB Legacy fix . + EHCIhard = Yes|No Try EHCI soft reset (Disabled by default) + HPET module: ----------- - ForceHPET=Yes|No Force Enable HPET. + EnableUSBModule=Yes|No Fully enable/disable the HPET module (Enabled by default, if the module is installed) HibernateEnabler: ---------------- - Wake=No Disable wake up after hibernation (default: enabled). - ForceWake=Yes Force using the sleepimage (disabled by default). - WakeImage= Use an alternate sleepimage file. - (default path is /private/var/vm/sleepimage). + EnableHibernateModule=Yes|No Fully enable/disable the HibernateEnabler module (Enabled by default, if the module is installed) + + Wake=No Disable wake up after hibernation (default: enabled). + ForceWake=Yes Force using the sleepimage (Disabled by default). + WakeImage= Use an alternate sleepimage file. + (default path is /private/var/vm/sleepimage). SMBIOS modules: -------------- @@ -49,23 +61,29 @@ (default path: /Extra/SMBIOS.plist, bt(0,0)/Extra/SMBIOS.plist). - SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding - if smbios.plist doesn't exist, factory - values are kept. + SMBIOSdefaults=Yes|No Don't use the Default values for SMBIOS overriding + if smbios.plist doesn't exist, factory + values are kept(Disabled by default). RamDiskLoader module: --------------------- - md0= Load raw img file into memory for use as XNU's md0 - ramdisk. /Extra/Postboot.img is used otherwise. +-------------------- + EnableRamDiskLoader=Yes|No Fully enable/disable the RamDiskLoader module (Enabled by default, if the module is installed) + + md0= Load raw img file into memory for use as XNU's md0 + ramdisk. /Extra/Postboot.img is used otherwise. Keymapper module: ----------------- - KeyboardType= change the type of the Keyboard. (Default is QWERTY) - for now only ="AZERTY" is supported. +---------------- + EnableKeyMapper=Yes|No Fully enable/disable the Keymapper module (Enabled by default, if the module is installed) + + KeyboardType= change the type of the Keyboard. (Default is QWERTY) + for now only ="AZERTY" is supported. CPUfreq module: -------------- - FixFSB=Yes Enable alternative front side bus fix + EnableCPUfreqModule=Yes|No Fully enable/disable the CPUfreq module (Enabled by default, if the module is installed) + + FixFSB=Yes|No Enable alternative front side bus fix(Disabled by default). MaxBusRatio= (was BusRatio) Set the current Bus Ratio to n, n must be a multiple of 10, @@ -79,7 +97,20 @@ Acpipatcher module: ------------------ - DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables. + EnableAcpiModule=Yes|No Fully enable/disable the Acpipatcher module (Enabled by default, if the module is installed) + + RestartFix=Yes|No Enable/Disable internal restart fix patch(Enabled by default, only available for intel platform). + + EnableSpeedStep=Yes|No Enable/Disable GenerateCStates & GeneratePStates (Disabled by default). + + GeneratePStates=Yes|No Enable/Disable Generate P-states SSDT table (Disabled by default). + GenerateCStates=Yes|No Enable/Disable Generate C-states SSDT table (Disabled by default). + EnableC4State=Yes|No Enable C4 state in C-states SSDT table, GenerateCStates=Yes is needed (Disabled by default). + + P-States= P-States fine tuning method, see usage below(GeneratePStates=Yes is needed). + ACPIDropTables= drop acpi table(s) method (can drop any unwanted tables), see usage below. + C-States= C-States fine tuning method, see usage below(GenerateCStates=Yes is needed). + DSDT= Use an alternate DSDT.aml file, (default path: /DSDT.aml Extra/DSDT.aml, bt(0,0)/Extra/DSDT.aml). @@ -87,7 +118,9 @@ quickSSDTsearch=Yes|No If Yes, Acpipatcher will not search ssdt-(x+1).aml if ssdt-x.aml do not exist, (eg. if ssdt-0.aml do not exist, - Acpipather will not search ssdt-1.aml). + Acpipather will not search ssdt-1.aml)(Enabled by default). + + UpdateACPI=Yes|No Enable/Disable ACPI version update(Disabled by default). MaxBusRatio= (was BusRatio) Set the current Bus Ratio to n, n must be a multiple of 10, @@ -143,21 +176,23 @@ . C4 - . - . + Latency + THE LATENCY FOR THIS STATE + Power + THE POWER FOR THIS STATE -DropTables usage e.g: + ACPIDropTables usage e.g: ACPIDropTables SSDT - // drop ssdt tables + // drop SSDT table(s) TAMG Yes //drop TAMG table ECDT - ANY_VALUE //drop ECDT table + ANY_VALUE_EXCEPT_NO //drop ECDT table XXXX //drop XXXX table (if exist) YYYY Index: branches/cparm/i386/modules/RamDiskLoader/Makefile =================================================================== --- branches/cparm/i386/modules/RamDiskLoader/Makefile (revision 1126) +++ branches/cparm/i386/modules/RamDiskLoader/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-mdynamic-no-pic + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/ACPIPatcher/Makefile =================================================================== --- branches/cparm/i386/modules/ACPIPatcher/Makefile (revision 1126) +++ branches/cparm/i386/modules/ACPIPatcher/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-mdynamic-no-pic -Wextra -Wpacked -Wpadded -Wunreachable-code -Winline -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wconversion + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/GUI/Makefile =================================================================== --- branches/cparm/i386/modules/GUI/Makefile (revision 1126) +++ branches/cparm/i386/modules/GUI/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common -fno-stack-protector #-lc_kext -libcc_kext -fstack-protector-all + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common -fno-stack-protector #-fstack-protector-all DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/GraphicsEnabler/Makefile =================================================================== --- branches/cparm/i386/modules/GraphicsEnabler/Makefile (revision 1126) +++ branches/cparm/i386/modules/GraphicsEnabler/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-lc_kext -libcc_kext + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/SMBiosGetters/Makefile =================================================================== --- branches/cparm/i386/modules/SMBiosGetters/Makefile (revision 1126) +++ branches/cparm/i386/modules/SMBiosGetters/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common -fno-stack-protector #-lc_kext -lc_kext -libcc_kext -fstack-protector-all + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common -fno-stack-protector #-fstack-protector-all DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/HibernateEnabler/Makefile =================================================================== --- branches/cparm/i386/modules/HibernateEnabler/Makefile (revision 1126) +++ branches/cparm/i386/modules/HibernateEnabler/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-mdynamic-no-pic + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/Keymapper/Makefile =================================================================== --- branches/cparm/i386/modules/Keymapper/Makefile (revision 1126) +++ branches/cparm/i386/modules/Keymapper/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-lc_kext -libcc_kext -mdynamic-no-pic + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/USBFix/Makefile =================================================================== --- branches/cparm/i386/modules/USBFix/Makefile (revision 1126) +++ branches/cparm/i386/modules/USBFix/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-lc_kext -libcc_kext + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/Memory/Makefile =================================================================== --- branches/cparm/i386/modules/Memory/Makefile (revision 1126) +++ branches/cparm/i386/modules/Memory/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-lc_kext -libcc_kext + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/ACPICodec/Makefile =================================================================== --- branches/cparm/i386/modules/ACPICodec/Makefile (revision 1126) +++ branches/cparm/i386/modules/ACPICodec/Makefile (revision 1127) @@ -28,7 +28,7 @@ -DRCZ_COMPRESSED_FILE_SUPPORT $(DEBUG) \ -fno-builtin $(OMIT_FRAME_POINTER_CFLAG) \ -mpreferred-stack-boundary=2 -fno-align-functions -fno-stack-protector \ - -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common #-lc_kext #-mdynamic-no-pic -Wextra -Wpacked -Wpadded -Wunreachable-code -Winline -Wunsafe-loop-optimizations -funsafe-loop-optimizations -Wconversion + -march=pentium4 -msse2 -mfpmath=sse -msoft-float -fno-common DEFINES= CONFIG = hd Index: branches/cparm/i386/modules/Makefile =================================================================== --- branches/cparm/i386/modules/Makefile (revision 1126) +++ branches/cparm/i386/modules/Makefile (revision 1127) @@ -26,7 +26,7 @@ VPATH = $(OBJROOT):$(SYMROOT) # The order of building is important. -SUBDIRS = Resolution KernelPatcher KextPatcher GUI GraphicsEnabler HPET USBFix Memory Networking ACPICodec ACPIPatcher Bits NetbookInstaller CPUfreq Keymapper OSXInstall RamDiskLoader HibernateEnabler SMBiosPatcher SMBiosGetters HelloWorld +SUBDIRS = KernelPatcher GUI GraphicsEnabler HPET USBFix Memory Networking ACPICodec ACPIPatcher NetbookInstaller CPUfreq Keymapper RamDiskLoader HibernateEnabler SMBiosPatcher SMBiosGetters HelloWorld all embedtheme tags debug install installhdrs: @rm -rf $(OBJROOT) @mkdir $(OBJROOT)