Index: branches/azimutz/CleanCut/TODO =================================================================== --- branches/azimutz/CleanCut/TODO (revision 399) +++ branches/azimutz/CleanCut/TODO (revision 400) @@ -2,13 +2,14 @@ ==================================== - Integrate Prasys current work on options and quick shortcut modified version of 18seven -- Add autodetection of efistring algorythm to enabke graphics enabler to beanbled by default while not conflicting whith other efi string overriden content +- Add auto detection of efistring algorithm to enable graphics enabler to be enabled by default while not + conflicting with other efi string overriden content (original idea of Galaxy) - Add a more sophisticated acpi loading mechanism to enable loading custom acpi tables when dsdtdrop=y Here's a specification to think about: First we must care about if a forced DSDT full path has been specified (was the pb smith had in - his first tries) and take it for the DSDT path as is. + his first tries) and take it for the DSDT path as is. Then we have the case where no DSDT path was set where we run our usual DSDT search algorithm to find this file. In the latter case, the file has to be named DSDT.aml and be in one of the / /Extra or bt(0,0)/Extra directory. @@ -17,13 +18,13 @@ Whatever the path was hardcoded in the DSDT option or was automatically found, we extract the path part of the DSDT file that has been successfully found and we run a loop to enumerate all other acpi files in the same directory. Now for each acpi file found, we should compare the name with an existing acpi table found in the system that - we would normally load and replace this usual injection by the content of the file. + we would normally load and replace this usual injection by the content of the file. - Once DropDSDT=y is set, no other acpi table than dsdt is loaded, then it is the responsability of user + Once DropDSDT=y is set, no other acpi table than dsdt is loaded, then it is the responsibility of user to provide any other acpi table. - Add a new module capable of writing proprietary Chameleon data to ioreg: - Using the DT__xxx() API, we will creat e a set of functions to write + Using the DT__xxx() API, we will create a set of functions to write to log info, chameleon boot info to be retrieved by helper applications... the only public function for log info purpose of this module would be: logMessageToIOREG(...); // var args printf style format @@ -31,7 +32,7 @@ The preferred internal behavior of the log info ioreg buffer would be to store the messages in a consolidated buffer then only write once, - this buffer (i.e just before call the kernel) with flushLogToIOREG(); + this buffer (i.e just before call the kernel) with flushLogToIOREG(); The other public function for writing chameleon boot info data would be: verbose() should incorporate a call to logMessageToIOREG() Index: branches/azimutz/CleanCut/i386/libsaio/acpi_patcher.c =================================================================== --- branches/azimutz/CleanCut/i386/libsaio/acpi_patcher.c (revision 399) +++ branches/azimutz/CleanCut/i386/libsaio/acpi_patcher.c (revision 400) @@ -126,7 +126,7 @@ fd = open(dirSpecDSDT,0); if (fd >= 0) { - printf("ACPI file search cache hit: file found at %s\n", dirSpecDSDT); + verbose("ACPI file search cache hit: file found at %s\n", dirSpecDSDT); goto success_fd; } } Index: branches/azimutz/CleanCut/i386/libsaio/pci_root.c =================================================================== --- branches/azimutz/CleanCut/i386/libsaio/pci_root.c (revision 399) +++ branches/azimutz/CleanCut/i386/libsaio/pci_root.c (revision 400) @@ -90,7 +90,7 @@ if (rootuid == 11) rootuid=0; //usually when _UID isnt present, it means uid is zero else if (rootuid < 0 || rootuid > 9) { - printf("PciRoot uid value wasnt found, using 0, if you want it to be 1, use -PciRootUID flag"); + verbose("PciRoot uid value wasnt found, using 0, if you want it to be 1, use -PciRootUID flag"); rootuid = 0; } out: Index: branches/azimutz/CleanCut/i386/libsaio/ati.c =================================================================== --- branches/azimutz/CleanCut/i386/libsaio/ati.c (revision 399) +++ branches/azimutz/CleanCut/i386/libsaio/ati.c (revision 400) @@ -431,7 +431,7 @@ if (!device || !ati_dev) { return 0; } - printf("dumping pci config space, 256 bytes\n"); + verbose("dumping pci config space, 256 bytes\n"); config_space = malloc(256); for (i=0; i<=255; i++) { config_space[i] = pci_config_read8( ati_dev->dev.addr, i); @@ -744,7 +744,7 @@ } if (bios[0] == 0x55 && bios[1] == 0xaa) { - printf("Found bios image\n"); + verbose("Found bios image\n"); bios_size = bios[2] * 512; struct pci_rom_pci_header_t *rom_pci_header; Index: branches/azimutz/CleanCut/i386/libsaio/stringTable.c =================================================================== --- branches/azimutz/CleanCut/i386/libsaio/stringTable.c (revision 399) +++ branches/azimutz/CleanCut/i386/libsaio/stringTable.c (revision 400) @@ -698,7 +698,7 @@ } else { - printf("No override config provided!\n"); + verbose("No override config provided!\n"); ret = -1; } return ret; Index: branches/azimutz/CleanCut/i386/boot2/options.c =================================================================== --- branches/azimutz/CleanCut/i386/boot2/options.c (revision 399) +++ branches/azimutz/CleanCut/i386/boot2/options.c (revision 400) @@ -1176,8 +1176,8 @@ else return -1; - // Needed to enable search for override Boot.plist on OS specific folders - // from loadOverrideConfig(). Find out which version mac os we're booting. + // Needed here to enable search for override Boot.plist on OS specific folders. + // Find out which Mac OS version we're booting. if (!loadConfigFile("/System/Library/CoreServices/SystemVersion.plist", &systemVersion)) { if (getValueForKey(kProductVersion, &value, &len, &systemVersion)) @@ -1187,7 +1187,7 @@ strncpy(gMacOSVersion, value, MIN(len, 4)); gMacOSVersion[MIN(len, 4)] = '\0'; } - } // doesn't print to screen here! + } //Azi: implemented at loadOverrideConfig. // Load config table specified by the user, or use the default.