Chameleon

Chameleon Commit Details

Date:2011-07-22 12:34:05 (8 years 2 months ago)
Author:Sergey Slice
Commit:1208
Parents: 1207
Message:SMBByte->SMBWord bug
Changes:
M/branches/slice/trunkM/Chameleon.xcodeproj/slice.pbxuser
M/branches/slice/trunkM/revision
M/branches/slice/trunkM/Chameleon.xcodeproj/slice.mode1v3
M/branches/slice/trunkM/i386/libsaio/device_inject.c
M/branches/slice/trunkM/i386/libsaio/smbios.c
M/branches/slice/trunkM/i386/libsaio/smbios_decode.c

File differences

branches/slice/trunkM/Chameleon.xcodeproj/slice.pbxuser
22
33
44
5
6
7
5
6
7
88
99
1010
......
2323
2424
2525
26
27
28
26
27
28
2929
3030
3131
......
6363
6464
6565
66
67
66
67
6868
6969
7070
7171
72
72
7373
7474
7575
76
7776
7877
7978
......
8382
8483
8584
85
86
87
8688
8789
8890
......
9496
9597
9698
97
98
9999
100100
101101
......
124124
125125
126126
127
127
128128
129
130
129
130
131131
132
132
133133
134
135
134
135
136136
137137
138138
......
178178
179179
180180
181
182
183
184
185
186
187
188
189
190
191181
192182
193183
......
278268
279269
280270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
281301
282302
283303
......
388408
389409
390410
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411411
412412
413413
......
447447
448448
449449
450
450
451451
452
452
453453
454454
455455
......
539539
540540
541541
542
543
544
542
543
544
545545
546546
547547
......
637637
638638
639639
640
641
642
640
641
642
643643
644644
645645
{
012E60F8137AC68F00E35218 /* smbios_decode.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {887, 3068}}";
sepNavSelRange = "{10086, 0}";
sepNavVisRange = "{5590, 1333}";
sepNavIntBoundsRect = "{{0, 0}, {877, 3211}}";
sepNavSelRange = "{243, 0}";
sepNavVisRange = "{0, 343}";
};
};
012E60F9137AC68F00E35218 /* smbios_getters.c */ = {
};
012E60FB137AC68F00E35218 /* smbios.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1076, 12012}}";
sepNavSelRange = "{259, 0}";
sepNavVisRange = "{0, 772}";
sepNavIntBoundsRect = "{{0, 0}, {964, 12441}}";
sepNavSelRange = "{28730, 17}";
sepNavVisRange = "{28231, 833}";
sepNavWindowFrame = "{{15, 60}, {889, 813}}";
};
};
PBXFileDataSource_Target_ColumnID,
);
};
PBXPerProjectTemplateStateSaveDate = 333013407;
PBXWorkspaceStateSaveDate = 333013407;
PBXPerProjectTemplateStateSaveDate = 333016839;
PBXWorkspaceStateSaveDate = 333016839;
};
perUserProjectItems = {
1208BED013D70B8900694228 /* PBXTextBookmark */ = 1208BED013D70B8900694228 /* PBXTextBookmark */;
1208BED513D710A600694228 /* PBXTextBookmark */ = 1208BED513D710A600694228 /* PBXTextBookmark */;
120E55C813D8694A00E2D592 /* PBXTextBookmark */ = 120E55C813D8694A00E2D592 /* PBXTextBookmark */;
1217E1F813D96F3800800327 /* PBXTextBookmark */ = 1217E1F813D96F3800800327 /* PBXTextBookmark */;
122A5BCA1375C49300795FF0 /* PBXTextBookmark */ = 122A5BCA1375C49300795FF0 /* PBXTextBookmark */;
122A5BCB1375C49300795FF0 /* PBXTextBookmark */ = 122A5BCB1375C49300795FF0 /* PBXTextBookmark */;
1237560213D81EE60027F8A5 /* PBXTextBookmark */ = 1237560213D81EE60027F8A5 /* PBXTextBookmark */;
1237560313D81EE60027F8A5 /* PBXTextBookmark */ = 1237560313D81EE60027F8A5 /* PBXTextBookmark */;
1237560613D81EE60027F8A5 /* PBXTextBookmark */ = 1237560613D81EE60027F8A5 /* PBXTextBookmark */;
1237560713D81EE60027F8A5 /* PBXTextBookmark */ = 1237560713D81EE60027F8A5 /* PBXTextBookmark */;
1237560813D81EE60027F8A5 /* PBXTextBookmark */ = 1237560813D81EE60027F8A5 /* PBXTextBookmark */;
1237561D13D823130027F8A5 /* PBXTextBookmark */ = 1237561D13D823130027F8A5 /* PBXTextBookmark */;
12375A2913D82FD80027F8A5 /* PBXTextBookmark */ = 12375A2913D82FD80027F8A5 /* PBXTextBookmark */;
12375A3C13D831AB0027F8A5 /* PBXTextBookmark */ = 12375A3C13D831AB0027F8A5 /* PBXTextBookmark */;
1282533913D96A7000820E2D /* PBXTextBookmark */ = 1282533913D96A7000820E2D /* PBXTextBookmark */;
1282534B13D96C3B00820E2D /* PBXTextBookmark */ = 1282534B13D96C3B00820E2D /* PBXTextBookmark */;
1282535013D96C7100820E2D /* PBXTextBookmark */ = 1282535013D96C7100820E2D /* PBXTextBookmark */;
1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */ = 1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */;
1284EEF913D6F95000A6BE87 /* PBXTextBookmark */ = 1284EEF913D6F95000A6BE87 /* PBXTextBookmark */;
128EB70A13D31D3900E0DA4B /* PBXTextBookmark */ = 128EB70A13D31D3900E0DA4B /* PBXTextBookmark */;
12D15FE813D3634F00ABAAF4 /* PBXTextBookmark */ = 12D15FE813D3634F00ABAAF4 /* PBXTextBookmark */;
12E9C0AA13D95C2F0096128F /* PBXTextBookmark */ = 12E9C0AA13D95C2F0096128F /* PBXTextBookmark */;
12E9C0BD13D95F8F0096128F /* PBXTextBookmark */ = 12E9C0BD13D95F8F0096128F /* PBXTextBookmark */;
12E9C0BF13D95F8F0096128F /* PBXTextBookmark */ = 12E9C0BF13D95F8F0096128F /* PBXTextBookmark */;
12E9C0F013D961D90096128F /* PBXTextBookmark */ = 12E9C0F013D961D90096128F /* PBXTextBookmark */;
12EDC2D91376FCB300937D70 /* PBXTextBookmark */ = 12EDC2D91376FCB300937D70 /* PBXTextBookmark */;
12EE45C013D896210092C48C /* PBXTextBookmark */ = 12EE45C013D896210092C48C /* PBXTextBookmark */;
12FBE8FA13D89F1700E385CB /* PBXTextBookmark */ = 12FBE8FA13D89F1700E385CB /* PBXTextBookmark */;
vrLen = 799;
vrLoc = 2489;
};
120E55C813D8694A00E2D592 /* PBXTextBookmark */ = {
1217E1F813D96F3800800327 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FB137AC68F00E35218 /* smbios.c */;
name = "smbios.c: 871";
fRef = 012E60F8137AC68F00E35218 /* smbios_decode.c */;
name = "smbios_decode.c: 12";
rLen = 0;
rLoc = 28721;
rLoc = 243;
rType = 0;
vrLen = 668;
vrLoc = 28624;
vrLen = 343;
vrLoc = 0;
};
122A5BB51375B61C00795FF0 /* Source Control */ = {
isa = PBXSourceControlManager;
vrLen = 570;
vrLoc = 0;
};
1237560313D81EE60027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60F8137AC68F00E35218 /* smbios_decode.c */;
name = "smbios_decode.c: 1";
rLen = 0;
rLoc = 0;
rType = 0;
vrLen = 810;
vrLoc = 0;
};
1237560613D81EE60027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D5B11F3868000754B65 /* pci.c */;
vrLen = 1037;
vrLoc = 20605;
};
1282533913D96A7000820E2D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 6DBAFD1513B0D21E0047ED33 /* modules.h */;
name = "modules.h: 90";
rLen = 10;
rLoc = 2190;
rType = 0;
vrLen = 1131;
vrLoc = 1781;
};
1282534B13D96C3B00820E2D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FB137AC68F00E35218 /* smbios.c */;
name = "smbios.c: 923";
rLen = 0;
rLoc = 30483;
rType = 0;
vrLen = 987;
vrLoc = 30064;
};
1282535013D96C7100820E2D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60F8137AC68F00E35218 /* smbios_decode.c */;
name = "smbios_decode.c: 62";
rLen = 9;
rLoc = 2449;
rType = 0;
vrLen = 1026;
vrLoc = 1950;
};
1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D6111F3868000754B65 /* platform.h */;
vrLen = 1105;
vrLoc = 12611;
};
12E9C0BF13D95F8F0096128F /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 6DBAFD1513B0D21E0047ED33 /* modules.h */;
name = "modules.h: 90";
rLen = 10;
rLoc = 2190;
rType = 0;
vrLen = 1133;
vrLoc = 1781;
};
12E9C0F013D961D90096128F /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 6DBAFD1513B0D21E0047ED33 /* modules.h */;
name = "modules.h: 90";
rLen = 10;
rLoc = 2190;
rType = 0;
vrLen = 1132;
vrLoc = 1781;
};
12EDC2D91376FCB300937D70 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D3911F3868000754B65 /* device_tree.c */;
};
6DBAFD1513B0D21E0047ED33 /* modules.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {877, 1547}}";
sepNavIntBoundsRect = "{{0, 0}, {877, 1495}}";
sepNavSelRange = "{2190, 10}";
sepNavVisRange = "{1781, 1132}";
sepNavVisRange = "{1781, 1131}";
};
};
6DBAFD6C13B0D4590047ED33 /* IOAudioDebug.h */ = {
};
B0056D3711F3868000754B65 /* device_inject.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {713, 4706}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{1448, 604}";
sepNavIntBoundsRect = "{{0, 0}, {782, 4706}}";
sepNavSelRange = "{659, 0}";
sepNavVisRange = "{528, 744}";
};
};
B0056D3911F3868000754B65 /* device_tree.c */ = {
};
B0056D6511F3868000754B65 /* SMBIOS.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {782, 6318}}";
sepNavSelRange = "{14808, 14}";
sepNavVisRange = "{14080, 936}";
sepNavIntBoundsRect = "{{0, 0}, {782, 6305}}";
sepNavSelRange = "{4247, 9}";
sepNavVisRange = "{3612, 875}";
};
};
B0056D6811F3868000754B65 /* spd.c */ = {
branches/slice/trunkM/Chameleon.xcodeproj/slice.mode1v3
309309
310310
311311
312
313
312314
313315
314316
315317
316318
317
319
318320
319321
320322
......
322324
323325
324326
325
327
326328
327329
328330
329
331
330332
331333
332334
......
344346
345347
346348
347
348349
349350
350351
......
354355
355356
356357
357
358358
359359
360360
361361
362
362
363
364
363365
364366
365367
......
371373
372374
373375
374
376
375377
376378
377379
378380
379381
380382
381
383
382384
383385
384
385
386386
387387
388388
......
393393
394394
395395
396
396
397397
398398
399399
400400
401401
402402
403
403
404404
405405
406406
......
419419
420420
421421
422
422
423423
424
424
425425
426426
427427
......
559559
560560
561561
562
563562
564563
565564
......
641640
642641
643642
644
643
645644
646645
647646
......
774773
775774
776775
776
777
777778
778779
779780
780781
781782
782
783
783784
784785
785786
......
800801
801802
802803
803
804
805804
806805
807806
......
837836
838837
839838
840
841
839
840
842841
843842
844843
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>modules.h</string>
<string>smbios_decode.c</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>modules.h</string>
<string>smbios_decode.c</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>12E9C0F013D961D90096128F</string>
<string>1217E1F813D96F3800800327</string>
<key>history</key>
<array>
<string>122A5BCA1375C49300795FF0</string>
<string>1208BED013D70B8900694228</string>
<string>1208BED513D710A600694228</string>
<string>1237560213D81EE60027F8A5</string>
<string>1237560313D81EE60027F8A5</string>
<string>1237560613D81EE60027F8A5</string>
<string>1237560713D81EE60027F8A5</string>
<string>1237560813D81EE60027F8A5</string>
<string>1237561D13D823130027F8A5</string>
<string>12375A2913D82FD80027F8A5</string>
<string>12375A3C13D831AB0027F8A5</string>
<string>120E55C813D8694A00E2D592</string>
<string>12EE45C013D896210092C48C</string>
<string>12FBE8FA13D89F1700E385CB</string>
<string>12E9C0AA13D95C2F0096128F</string>
<string>12E9C0BD13D95F8F0096128F</string>
<string>12E9C0BF13D95F8F0096128F</string>
<string>1282533913D96A7000820E2D</string>
<string>1282534B13D96C3B00820E2D</string>
<string>1282535013D96C7100820E2D</string>
</array>
</dict>
<key>SplitCount</key>
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 0}, {938, 333}}</string>
<string>{{0, 0}, {938, 303}}</string>
<key>RubberWindowFrame</key>
<string>294 219 1146 659 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
<string>333pt</string>
<string>303pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 338}, {938, 280}}</string>
<string>{{0, 308}, {938, 310}}</string>
<key>RubberWindowFrame</key>
<string>294 219 1146 659 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
<key>Proportion</key>
<string>280pt</string>
<string>310pt</string>
</dict>
</array>
<key>Proportion</key>
</array>
<key>TableOfContents</key>
<array>
<string>12E9C0F113D961D90096128F</string>
<string>1217E1F913D96F3800800327</string>
<string>1CE0B1FE06471DED0097A5F4</string>
<string>12E9C0F213D961D90096128F</string>
<string>1217E1FA13D96F3800800327</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
<integer>5</integer>
<key>WindowOrderList</key>
<array>
<string>1C530D57069F1CE1000CFCEE</string>
<string>122A5BB81375BA4700795FF0</string>
<string>/Users/slice/Projects/Chameleons/chameleon/branches/slice/trunkM/Chameleon.xcodeproj</string>
</array>
<key>TableOfContents</key>
<array>
<string>122A5BB81375BA4700795FF0</string>
<string>12E9C0EC13D961D60096128F</string>
<string>1217E1FB13D96F3800800327</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CDD528C0622207200134675</string>
<key>PBXProjectModuleLabel</key>
<string></string>
<string>device_inject.c</string>
<key>StatusBarVisibility</key>
<true/>
</dict>
<string>431pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<key>TableOfContents</key>
<array>
<string>1C530D57069F1CE1000CFCEE</string>
<string>12E9C0EE13D961D60096128F</string>
<string>12E9C0EF13D961D60096128F</string>
<string>1282534913D96C3900820E2D</string>
<string>1282534A13D96C3900820E2D</string>
<string>1CDD528C0622207200134675</string>
<string>1CD0528E0623707200166675</string>
</array>
branches/slice/trunkM/i386/libsaio/device_inject.c
3535
3636
3737
38
38
3939
4040
4141
......
4949
5050
5151
52
53
52
53
5454
5555
5656
......
5858
5959
6060
61
61
6262
6363
6464
*len = string->length;
return devprop_generate_string(string);
}
verbose("efi_inject_get_devprop_string NULL trying stringdata\n");
//verbose("efi_inject_get_devprop_string NULL trying stringdata\n");
return NULL;
}
/* Generate devprop string.
*/
uint32_t strlength;
char *string = efi_inject_get_devprop_string(&strlength);
// uint32_t strlength;
char *string = efi_inject_get_devprop_string(&stringlength);
/* Use the static "device-properties" boot config key contents if available,
* otheriwse use the generated one.
if (!getValueForKey(kDeviceProperties, &val, &cnt, &bootInfo->chameleonConfig) && string)
{
val = (const char*)string;
cnt = strlength * 2;
cnt = stringlength * 2;
}
if (cnt > 1)
branches/slice/trunkM/i386/libsaio/smbios.c
1111
1212
1313
14
14
1515
1616
1717
......
893893
894894
895895
896
896897
897898
898899
......
914915
915916
916917
917
918
919
920
921
918
919
920
921
922
922923
923924
924925
#include "smbios_getters.h"
#ifndef DEBUG_SMBIOS
#define DEBUG_SMBIOS 1
#define DEBUG_SMBIOS 0
#endif
#if DEBUG_SMBIOS
uint8_t *structPtr = (uint8_t *)eps->dmi.tableAddress;
SMBStructHeader *structHeader = (SMBStructHeader *)structPtr;
SMBByte tmp = 0;
SMBWord tmpW = 0;
int dimmnbr = 0;
Platform->DMI.MaxMemorySlots= 0;
//Slice - values from DMI/SMBIOS are defined correct if overclocked
// do not need in complex MSR calculation
case kSMBTypeProcessorInformation:
tmp = ((SMBProcessorInformation *)structHeader)->externalClock;
Platform->CPU.FSBFrequency = tmp * MEGA + (tmp & 7) * 110000; //According to Intel 133->133.33MHz
tmp = ((SMBProcessorInformation *)structHeader)->currentClock;
Platform->CPU.CPUFrequency = tmp * MEGA + (tmp & 7) * 110000;
DBG("From SMBIOS: FSB=%d CPU=%d\n", Platform->CPU.FSBFrequency, Platform->CPU.CPUFrequency);
tmpW = ((SMBProcessorInformation *)structHeader)->externalClock;
Platform->CPU.FSBFrequency = tmpW * MEGA + (tmpW & 7) * 110000; //According to Intel 133->133.33MHz
tmpW = ((SMBProcessorInformation *)structHeader)->currentClock;
Platform->CPU.CPUFrequency = tmpW * MEGA + (tmpW & 7) * 110000;
msglog("From SMBIOS: FSB=%d CPU=%d\n", Platform->CPU.FSBFrequency, Platform->CPU.CPUFrequency);
break;
case kSMBTypePhysicalMemoryArray:
branches/slice/trunkM/i386/libsaio/smbios_decode.c
99
1010
1111
12
12
1313
1414
1515
......
5959
6060
6161
62
62
6363
6464
6565
......
7272
7373
7474
75
75
7676
77
77
7878
7979
8080
......
8888
8989
9090
91
91
9292
9393
9494
......
105105
106106
107107
108
108
109109
110110
111111
112112
113113
114114
115
116
117
115
116
117
118118
119119
120120
......
125125
126126
127127
128
128
129129
130130
131131
#include "smbios.h"
#ifndef DEBUG_SMBIOS
#define DEBUG_SMBIOS 1
#define DEBUG_SMBIOS 0
#endif
#if DEBUG_SMBIOS
if (minorVersion < 4 || structHeader->header.length < 27)
return;
DBG("\tskuNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->skuNumber));
//DBG("\tskuNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->skuNumber));
DBG("\tfamily: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->family));
DBG("\n");
}
DBG("BaseBoard:\n");
DBG("\tmanufacturer: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->manufacturer));
DBG("\tproduct: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->product));
DBG("\tversion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->version));
//DBG("\tversion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->version));
DBG("\tserialNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->serialNumber));
DBG("\tassetTagNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTagNumber));
//DBG("\tassetTagNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTagNumber));
DBG("\tlocationInChassis: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->locationInChassis));
DBG("\tboardType: 0x%X\n", structHeader->boardType);
DBG("\n");
DBG("SystemEnclosure:\n");
DBG("\tmanufacturer: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->manufacturer));
DBG("\ttype: %d\n", structHeader->type);
DBG("\tversion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->version));
//DBG("\tversion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->version));
DBG("\tserialNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->serialNumber));
DBG("\tassetTagNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTagNumber));
DBG("\n");
DBG("\tprocessorFamily: 0x%X\n", structHeader->processorFamily);
DBG("\tmanufacturer: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->manufacturer));
DBG("\tprocessorID: 0x%llX\n", structHeader->processorID);
DBG("\tprocessorVersion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->processorVersion));
//DBG("\tprocessorVersion: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->processorVersion));
DBG("\texternalClock: %dMHz\n", structHeader->externalClock);
DBG("\tmaximumClock: %dMHz\n", structHeader->maximumClock);
DBG("\tcurrentClock: %dMHz\n", structHeader->currentClock);
if (minorVersion < 3 || structHeader->header.length < 35)
return;
DBG("\tserialNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->serialNumber));
DBG("\tassetTag: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTag));
DBG("\tpartNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->partNumber));
//DBG("\tserialNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->serialNumber));
//DBG("\tassetTag: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->assetTag));
//DBG("\tpartNumber: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->partNumber));
DBG("\n");
}
{
DBG("MemoryDevice:\n");
DBG("\tdeviceLocator: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->deviceLocator));
DBG("\tbankLocator: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->bankLocator));
//DBG("\tbankLocator: %s\n", getSMBStringForField((SMBStructHeader *)structHeader, structHeader->bankLocator));
DBG("\tmemoryType: %s\n", SMBMemoryDeviceTypes[structHeader->memoryType]);
if (minorVersion < 3 || structHeader->header.length < 27)
branches/slice/trunkM/revision
1
1
1206
1206:1207

Archive Download the corresponding diff file

Revision: 1208