Chameleon

Chameleon Commit Details

Date:2015-07-14 14:47:30 (8 years 9 months ago)
Author:ErmaC
Commit:2736
Parents: 2735
Message:Fix RAM speed detection information for System Profiler detect as 0 Mhz, introduced with commit 2382 (Thx Alex J to spot this issue)
Changes:
M/trunk/i386/libsaio/smbios_getters.c

File differences

trunk/i386/libsaio/smbios_getters.c
497497
498498
499499
500
501
502
503
504
505500
506501
507502
......
514509
515510
516511
517
518
512
519513
520514
521515
......
531525
532526
533527
534
535
536
537
538
539528
540529
541530
......
548537
549538
550539
551
552
540
553541
554542
555543
......
559547
560548
561549
562
563
564
565
566
567550
568551
569552
......
576559
577560
578561
562
563
564
565
579566
580567
581568
......
585572
586573
587574
588
589
590
591
592
593575
594576
595577
......
605587
606588
607589
590
591
592
593
608594
609595
610596
......
614600
615601
616602
617
618
619
620
621
622603
623604
624605
......
631612
632613
633614
615
616
617
618
634619
635620
636621
static int idx = -1;
intmap;
if (!bootInfo->memDetect)
{
return false;
}
idx++;
if (idx < MAX_RAM_SLOTS)
{
}
}
value->byte = 2; // means Unknown
return true;
return false;
//value->byte = SMB_MEM_TYPE_DDR2;
//return true;
}
static int idx = -1;
intmap;
if (!bootInfo->memDetect)
{
return false;
}
idx++;
if (idx < MAX_RAM_SLOTS)
{
}
}
value->dword = 0; // means Unknown
return true;
return false;
//value->dword = 800;
//return true;
}
static int idx = -1;
intmap;
if (!bootInfo->memDetect)
{
return false;
}
idx++;
if (idx < MAX_RAM_SLOTS)
{
}
}
if (!bootInfo->memDetect)
{
return false;
}
value->string = NOT_AVAILABLE;
return true;
}
static int idx = -1;
intmap;
if (!bootInfo->memDetect)
{
return false;
}
idx++;
//DBG("getSMBMemoryDeviceSerialNumber index: %d, MAX_RAM_SLOTS: %d\n", idx, MAX_RAM_SLOTS);
}
}
if (!bootInfo->memDetect)
{
return false;
}
value->string = NOT_AVAILABLE;
return true;
}
static int idx = -1;
intmap;
if (!bootInfo->memDetect)
{
return false;
}
idx++;
if (idx < MAX_RAM_SLOTS)
{
}
}
if (!bootInfo->memDetect)
{
return false;
}
value->string = NOT_AVAILABLE;
return true;
}

Archive Download the corresponding diff file

Revision: 2736