Chameleon

Chameleon Svn Source Tree

Root/branches/azimutz/CleanCut/i386/boot2

File Age Rev Message Size
  ..
blob appleboot.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 10.37 kB
blob appleClut8.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 5.36 kB
blob bmdecompress.c 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 7.32 kB
blob boot.c 13 years 8 months 335 azimutz: Ok, this were the fun stops :) - two keys to do the same thing, two keys to remember... thought it was a good idea to merge the best of the two, the educational side of arch=i386 + the practical one of -x32. And while i'm at it, why not make it even more practical!? Typing just 32 to get i386 arch. - -legacy kernel flag was not being passed on 10.6.x; the reason why is on the kernel code, Legacy mode is only available when i386 arch is specified (makes sense). So, while testing Meklort's kernel patcher, i felt the need to add the key. -legacy flag, sets i386 arch on the booter side & Legacy mode on the kernel side. - and how do we override the last two if they are flagged on Boot.plist? Typing just 64 to get x86_64 arch. - changed the code so x86_64 arch becomes default, seems more natural. And also added these flags to BootHelp.txt 20.18 kB
blob boot.h 13 years 8 months 337 azimutz: Start "search algo" related stuff. This was what motivated me initially to look at Chameleon code with learning eyes. I had two problems: - the booter "always" checks selected volume for drivers, invalidating any drivers on rescue media. - the other is the Boot.plist override (loadOverrideConfig) that i was completely unaware of, until i checked the code. So, this was the first stuff that i came up with: - CanOverride=n disables overriding of the default Boot.plist (it doesn't stop the file from loading). - Extensions=/path-to-folder/ loads drivers from an alternate folder. The drives override key only got this format after i found the dsdt search also on search_and_get_acpi_fd; when i first added it was when i found that the selected volume drivers were always loaded :) 7.96 kB
blob boot2.s 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 14.06 kB
blob drivers.c 13 years 8 months 342 azimutz: As you can see, there is a catch... a good one, i think! I did tried to keep /Extra path, though my real intention was to remove it, in favor of loading files only from booter volume and OS specific folders, providing we could keep the same functionality. That turned out to be true and as /Extra path kept giving me troubles, i removed it. Pros: simpler code that can be easily added any were needed (as mentioned on search_and_get_acpi_fd). Cons: none that i couldn't solve so far :) Just a note on ramdisks: when a rd is aliased as bt(0,0), all paths started by bt(0,0) (booter volume) will point to the rd and not to the volume were the booter is installed; meaning that, with this algo that only uses bt(0,0) paths, when using a rd aliased as bt, the rd will be the only volume searched!! This makes rd's aliased as bt, ideal to load full sets of files, like when using pre-boot discs, were the files need to be all loaded from the ramdisk into memory. 23.76 kB
blob graphic_utils.c 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 2.81 kB
blob graphic_utils.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 1.82 kB
blob graphics.c 13 years 8 months 312 azimutz: Matching trunk rev 309. 34.91 kB
blob graphics.h 14 years 1 month 128 diebuche: Sry, meant to apply it to my branch 1.40 kB
blob gui.c 13 years 8 months 321 azimutz: Adding some comments. Also gathered some "loose" stuff while looking for the typos; duplicates, deactivated code, etc... and a bit of eye candy (some of it restored). 50.73 kB
blob gui.h 13 years 8 months 254 zef: Merged back changes of branches/zef between r224-r253: Now loadThemeImage() and loadEmbeddedThemeImage() are unified along with the LOADPNG macro. Updated loadThemeImage() for handling embedded images. Converted embedded them loop to a binary search. Maximum loop is now log2(n). Using different image fallback scheme makes "useRollOver" testing obsolete (removed). Updated boot2's Makefile with Kabyl's version for generating the embeddedImages[] array. Added optional Apple HFS RAID device icon support, using device_hfsraid.png + device_hfsraid_o.png files. Removed device_fat32.png and device_fat16.png and replaced with device_fat.png. For compatibility reasons the booter can still handle the fat32/16 images. 3.58 kB
blob IOHibernatePrivate.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 11.46 kB
blob lzss.c 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 3.24 kB
blob Makefile 13 years 8 months 254 zef: Merged back changes of branches/zef between r224-r253: Now loadThemeImage() and loadEmbeddedThemeImage() are unified along with the LOADPNG macro. Updated loadThemeImage() for handling embedded images. Converted embedded them loop to a binary search. Maximum loop is now log2(n). Using different image fallback scheme makes "useRollOver" testing obsolete (removed). Updated boot2's Makefile with Kabyl's version for generating the embeddedImages[] array. Added optional Apple HFS RAID device icon support, using device_hfsraid.png + device_hfsraid_o.png files. Removed device_fat32.png and device_fat16.png and replaced with device_fat.png. For compatibility reasons the booter can still handle the fat32/16 images. 4.21 kB
blob mboot.c 14 years 2 months 23 rekursor: Merged modifications from my branch to trunk as requested by Zef. This includes asere patch with few modifications /bug fixes. Included JrCs coding standard name convention change. See CHANGES file for details. 18.96 kB
blob mboot.h 13 years 8 months 321 azimutz: Adding some comments. Also gathered some "loose" stuff while looking for the typos; duplicates, deactivated code, etc... and a bit of eye candy (some of it restored). 908 bytes
blob multiboot.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 6.86 kB
blob options.c 13 years 8 months 321 azimutz: Adding some comments. Also gathered some "loose" stuff while looking for the typos; duplicates, deactivated code, etc... and a bit of eye candy (some of it restored). 39.11 kB
blob picopng.c 14 years 2 months 23 rekursor: Merged modifications from my branch to trunk as requested by Zef. This includes asere patch with few modifications /bug fixes. Included JrCs coding standard name convention change. See CHANGES file for details. 37.88 kB
blob picopng.h 14 years 2 months 23 rekursor: Merged modifications from my branch to trunk as requested by Zef. This includes asere patch with few modifications /bug fixes. Included JrCs coding standard name convention change. See CHANGES file for details. 613 bytes
blob prompt.c 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 1.95 kB
blob ramdisk.c 13 years 8 months 321 azimutz: Adding some comments. Also gathered some "loose" stuff while looking for the typos; duplicates, deactivated code, etc... and a bit of eye candy (some of it restored). 6.71 kB
blob ramdisk.h 13 years 8 months 256 meklort: Addid support for loading an md0 ramdisk and passing it to xnu 956 bytes
blob resume.c 14 years 2 months 46 rekursor: Released pre6 that fixes the hibernation problem, features a new algo for smarter SystemType determination, see CHANGES for details. 6.16 kB
blob WKdm.h 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 8.02 kB
blob WKdmDecompress.c 14 years 3 months 1 zef: Created base layout and initial import to trunk using r687. 8.63 kB

svn co -r 342 http://forge.voodooprojects.org/svn/chameleon Help