Chameleon

Chameleon Commit Details

Date:2010-02-17 18:20:51 (14 years 2 months ago)
Author:Tamás Kosárszky
Commit:83
Parents: 82
Message:Changed "Default Partition" behaviour to accept only native system volumes or foreign partitions.
Changes:
M/trunk/CHANGES
M/trunk/i386/libsaio/sys.c

File differences

trunk/CHANGES
1
12
23
34
- Changed "Default Partition" behaviour 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.
trunk/i386/libsaio/sys.c
776776
777777
778778
779
779780
780781
781782
......
786787
787788
788789
789
790
791
790792
791793
792794
/*
* Checking "Default Partition" key in system configuration - use format: hd(x,y) -
* to override the default selection.
* We accept only kBVFlagSystemVolume or kBVFlagForeignBoot volumes.
*/
const char * val;
char testStr[64];
for ( bvr = chain; bvr; bvr = bvr->next )
{
*testStr = '\0';
if ( bvr->biosdev >= 0x80 && bvr->biosdev < 0x100 )
if ( bvr->biosdev >= 0x80 && bvr->biosdev < 0x100
&& ( bvr->flags & ( kBVFlagSystemVolume|kBVFlagForeignBoot ) ) )
{
sprintf(testStr, "hd(%d,%d)", bvr->biosdev - 0x80, bvr->part_no);
if (strcmp(testStr, val) == 0)

Archive Download the corresponding diff file

Revision: 83