Chameleon

Chameleon Commit Details

Date:2010-09-14 14:19:15 (10 years 2 months ago)
Author:Azimutz
Commit:527
Parents: 526
Message:Some small adjustments still related to Memory module.
Changes:
M/branches/azimutz/Chazi/doc-azi/CHANGES.txt
M/branches/azimutz/Chazi/i386/modules/Memory/spd.c
M/branches/azimutz/Chazi/i386/modules/Memory/spd.h
M/branches/azimutz/Chazi/i386/libsaio/pci_setup.c

File differences

branches/azimutz/Chazi/doc-azi/CHANGES.txt
320320
321321
322322
323
323
324324
325325
326326
......
328328
329329
330330
331
332
333
334
335
336
337
338
339
331340
332341
333342
- (rev 524)
Change: Added GraphicsEnabler module. Needs no introduction :)
Feedback is welcome.
Working as usual with my ATI Radeon X1300, doing the injection thing.
Working as usual with my ATI Radeon X1300 openGL engine, doing the injection thing.
Newsflash: looks like it's raining modules over Meklort's branch :D
---------------//---------------//---------------
- (rev 526)
Change: Added Memory detection module. Also needs no intro...
Working properly with my controler:
Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
Motif: ---
---------------//---------------//---------------
- (rev )
Change:template
branches/azimutz/Chazi/i386/libsaio/pci_setup.c
3131
3232
3333
34
35
36
37
3834
3935
40
36
4137
4238
4339
case PCI_CLASS_NETWORK_ETHERNET:
if (do_eth_devprop)
set_eth_builtin(current);
break;/*
case PCI_CLASS_DISPLAY_VGA:
execute_hook(kGraphicsEnablerKey, current, NULL, NULL, NULL);
break;
*/case PCI_CLASS_SERIAL_USB:
case PCI_CLASS_SERIAL_USB:
notify_usb_dev(current);
break;
branches/azimutz/Chazi/i386/modules/Memory/spd.c
66
77
88
9
9
10
11
1012
1113
1214
13
14
1515
1616
1717
......
231231
232232
233233
234
234
235235
236236
237237
......
325325
326326
327327
328
328
329329
330330
331331
* System profiler fix and other fixes by Mozodojo.
*/
#include "libsaio.h"
//#include "libsaio.h" - included on the header.
//#include "saio_internal.h" - included on bootstruct.h
#include "bootstruct.h"
#include "pci.h"
#include "platform.h"
#include "spd.h"
#include "saio_internal.h"
#include "bootstruct.h"
#include "memvendors.h"
#ifndef DEBUG_SPD
c = spd[i];
if (isalpha(c) || isdigit(c) || ispunct(c)) // It seems that System Profiler likes only letters and digits...
asciiPartNo[index++] = c;
else if (!isascii(c))
if (isspace(c)) //Azi: this is the way that works properly for me!! The other gives me extra characters.
break;
}
slot->Frequency,
slot->Vendor,
slot->PartNo,
slot->SerialNo);
slot->SerialNo);
if(DEBUG_SPD) {
dumpPhysAddr("spd content: ",slot->spd, spd_size);
getc();
branches/azimutz/Chazi/i386/modules/Memory/spd.h
77
88
99
10
1011
11
12
1213
1314
1415
#ifndef __LIBSAIO_SPD_H
#define __LIBSAIO_SPD_H
//#include "libsaio.h"
#include "platform.h"
#include "libsaio.h"
#include "io_inline.h"
void scan_spd(PlatformInfo_t *p);

Archive Download the corresponding diff file

Revision: 527