Chameleon

Chameleon Commit Details

Date:2011-07-12 21:57:10 (8 years 1 month ago)
Author:Azimutz
Commit:1152
Parents: 1151
Message:Update CHANGES with the source of rev 1148 + small edits here and there.
Changes:
M/trunk/i386/libsaio/console.c
M/trunk/i386/boot2/boot.c
M/trunk/i386/libsaio/nvidia.c
M/trunk/i386/boot2/boot.h
M/trunk/i386/libsaio/pci_setup.c
M/trunk/CHANGES
M/trunk/i386/libsaio/sys.c

File differences

trunk/i386/libsaio/console.c
263263
264264
265265
266
266
267267
void pause()
{
printf("Press a key to continue...\n");
getchar(); // replace getchar() by pause() ?? were useful...?
getchar(); // replace getchar() by pause() were useful.
}
trunk/i386/libsaio/nvidia.c
13191319
13201320
13211321
1322
1322
13231323
13241324
13251325
......
13371337
13381338
13391339
1340
1340
13411341
13421342
13431343
}
}
if (getValueForKey(kdcfg0, &value, &len, &bootInfo->chameleonConfig) && len == DCFG0_LEN * 2){
if (getValueForKey(kDcfg0, &value, &len, &bootInfo->chameleonConfig) && len == DCFG0_LEN * 2){
uint8_t new_dcfg0[DCFG0_LEN];
}
if (getValueForKey(kdcfg1, &value, &len, &bootInfo->chameleonConfig) && len == DCFG1_LEN * 2){
if (getValueForKey(kDcfg1, &value, &len, &bootInfo->chameleonConfig) && len == DCFG1_LEN * 2){
uint8_t new_dcfg1[DCFG1_LEN];
trunk/i386/libsaio/sys.c
481481
482482
483483
484
485
486
487
488
489
490
484
485
486
487
488
489
490
491491
492492
493493
......
520520
521521
522522
523
523
524524
525525
526526
int open_bvdev(const char *bvd, const char *path, int flags)
{
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
const struct devsw*dp;
const char*cp;
BVRefbvr;
inti;
intlen;
intunit;
intpartition;
if ((i = open(path, flags)) >= 0) {
return i;
bvr = newBootVolumeRef(dp->biosdev + unit, partition);
return open_bvr(bvr, path, flags);
}
}
}
return -1;
}
trunk/i386/libsaio/pci_setup.c
5050
5151
5252
53
54
55
53
54
55
5656
5757
5858
setup_ati_devprop(current);
break;
case PCI_VENDOR_ID_INTEL:
setup_gma_devprop(current);
break;
case PCI_VENDOR_ID_INTEL:
setup_gma_devprop(current);
break;
case PCI_VENDOR_ID_NVIDIA:
setup_nvidia_devprop(current);
trunk/i386/boot2/boot.c
180180
181181
182182
183
184
183
184
185185
186186
187187
bool dummyVal;
if (getBoolForKey(kWaitForKeypressKey, &dummyVal, &bootInfo->chameleonConfig) && dummyVal) {
printf("Press any key to continue...");
getchar();
printf("(Wait) ");
pause();
}
usb_loop();
trunk/i386/boot2/boot.h
111111
112112
113113
114
115
114
115
116116
117117
118118
#define kUseNvidiaROM"UseNvidiaROM"/* nvidia.c */
#define kVBIOS"VBIOS"/* nvidia.c */
#define kdcfg0"display_0"/* nvidia.c */
#define kdcfg1"display_1"/* nvidia.c */
#define kDcfg0"display_0"/* nvidia.c */
#define kDcfg1"display_1"/* nvidia.c */
#define kEthernetBuiltIn"EthernetBuiltIn"/* pci_setup.c */
#define kGraphicsEnabler"GraphicsEnabler"/* pci_setup.c */
trunk/CHANGES
1
2
13
24
35
......
3335
3436
3537
36
38
3739
3840
3941
4042
41
43
4244
4345
4446
- Added NVidia ION AHCI controllers dev id to AHCIPortInjector kext.
Forgot to mention source on the commit: http://forum.voodooprojects.org/index.php/topic,1170.0.html
- Renamed com.apple.Boot.plist to org.chameleon.Boot.plist.
- Added "ShowInfo" key (enabled by default for now), which enables/disables the display of
partition and resolution related info, on the Gui.
- Optimized cursor spinout in textmode if no verbose mode is set
- Added ram table structures definitions
- Added getSmbios() a param permitting to select between orig and new smbios entries
- Changed "Default Partition" behaviour to accept only native system volumes or foreign partitions.
- Changed "Default Partition" behavior to accept only native system volumes or foreign partitions.
- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
- Added ATI new framebuffers support and new cards from PCEFI10.6
- improved ACPI file search algo by implementing a cache.
- Nvidia injection fix
- pciroot would not always return correct UID in autodection mode
- pciroot would not always return correct UID in auto detection mode
- Fixed the hibernation problem in boot2/resume.c
- Fixed all new booter versions with SystemType would override the facp value even if correct,
now keeps the facp value if correct and no override has been done, implemented a best effort algo.

Archive Download the corresponding diff file

Revision: 1152