Chameleon

Chameleon Commit Details

Date:2011-07-21 16:04:46 (7 years 10 months ago)
Author:Sergey Slice
Commit:1200
Parents: 1199
Message:debugging...
Changes:
M/branches/slice/trunkM/revision
M/branches/slice/trunkM/Chameleon.xcodeproj/slice.mode1v3
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/decls.pbxbtree
M/branches/slice/trunkM/i386/boot2/modules.c
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/cdecls.pbxbtree
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/imports.pbxbtree
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/pbxindex.header
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/refs.pbxbtree
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/symbols0.pbxsymbols
M/branches/slice/trunkM/Chameleon.xcodeproj/slice.pbxuser
M/branches/slice/trunkM/i386/libsaio/acpi_patcher.c
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/strings.pbxstrings/control
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/files.pbxbtree
M/branches/slice/trunkM/i386/libsaio/usb.c
M/branches/slice/trunkM/i386/libsaio/smbios_getters.c
M/branches/slice/trunkM/i386/libsaio/fake_efi.c
M/branches/slice/trunkM/build/Chameleon.build/Chameleon.pbxindex/strings.pbxstrings/strings
M/branches/slice/trunkM/i386/libsaio/pci_setup.c
M/branches/slice/trunkM/i386/libsaio/smbios.c

File differences

branches/slice/trunkM/Chameleon.xcodeproj/slice.pbxuser
22
33
44
5
6
7
5
6
7
88
99
1010
1111
12
13
14
12
13
14
1515
1616
1717
......
2323
2424
2525
26
27
28
26
27
28
2929
3030
3131
......
6363
6464
6565
66
67
66
67
6868
6969
7070
7171
72
73
74
7275
7376
7477
......
7982
8083
8184
82
83
8485
8586
86
8787
8888
89
90
89
90
9191
9292
9393
......
130130
131131
132132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
133160
134161
135162
......
244271
245272
246273
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267274
268275
269276
......
284291
285292
286293
287
288
289
290
291
292
293
294
295
296
297294
298295
299296
......
314311
315312
316313
317
314
318315
319
320
321
316
317
318
319
322320
321
322
323323
324
324
325325
326
327
328
329
326
327
328
329
330330
331
332
331
332
333333
334334
335335
......
433433
434434
435435
436
437
438
436
437
438
439439
440440
441441
......
475475
476476
477477
478
479
480
478
479
480
481481
482482
483483
......
539539
540540
541541
542
543
544
542
543
544
545545
546546
547547
......
588588
589589
590590
591
592
593
591
592
593
594594
595595
596596
......
635635
636636
637637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
638652
639653
640654
{
012E60F8137AC68F00E35218 /* smbios_decode.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {887, 3029}}";
sepNavSelRange = "{0, 0}";
sepNavVisRange = "{0, 810}";
sepNavIntBoundsRect = "{{0, 0}, {873, 3094}}";
sepNavSelRange = "{787, 16}";
sepNavVisRange = "{269, 1564}";
};
};
012E60F9137AC68F00E35218 /* smbios_getters.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1454, 6851}}";
sepNavSelRange = "{13684, 0}";
sepNavVisRange = "{6233, 612}";
sepNavIntBoundsRect = "{{0, 0}, {1454, 6461}}";
sepNavSelRange = "{12199, 0}";
sepNavVisRange = "{12658, 1029}";
};
};
012E60FA137AC68F00E35218 /* smbios_getters.h */ = {
};
012E60FB137AC68F00E35218 /* smbios.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {877, 12376}}";
sepNavSelRange = "{27806, 9}";
sepNavVisRange = "{27294, 696}";
sepNavIntBoundsRect = "{{0, 0}, {901, 12870}}";
sepNavSelRange = "{28671, 0}";
sepNavVisRange = "{28624, 668}";
sepNavWindowFrame = "{{15, 60}, {889, 813}}";
};
};
PBXFileDataSource_Target_ColumnID,
);
};
PBXPerProjectTemplateStateSaveDate = 332935263;
PBXWorkspaceStateSaveDate = 332935263;
PBXPerProjectTemplateStateSaveDate = 332949013;
PBXWorkspaceStateSaveDate = 332949013;
};
perUserProjectItems = {
1208BED013D70B8900694228 /* PBXTextBookmark */ = 1208BED013D70B8900694228 /* PBXTextBookmark */;
1208BED513D710A600694228 /* PBXTextBookmark */ = 1208BED513D710A600694228 /* PBXTextBookmark */;
120E55C813D8694A00E2D592 /* PBXTextBookmark */ = 120E55C813D8694A00E2D592 /* PBXTextBookmark */;
120E55C913D8694A00E2D592 /* PBXTextBookmark */ = 120E55C913D8694A00E2D592 /* PBXTextBookmark */;
120E55CA13D8694A00E2D592 /* PBXTextBookmark */ = 120E55CA13D8694A00E2D592 /* PBXTextBookmark */;
122A5BCA1375C49300795FF0 /* PBXTextBookmark */ = 122A5BCA1375C49300795FF0 /* PBXTextBookmark */;
122A5BCB1375C49300795FF0 /* PBXTextBookmark */ = 122A5BCB1375C49300795FF0 /* PBXTextBookmark */;
1237521013D814370027F8A5 /* PBXTextBookmark */ = 1237521013D814370027F8A5 /* PBXTextBookmark */;
1237560813D81EE60027F8A5 /* PBXTextBookmark */ = 1237560813D81EE60027F8A5 /* PBXTextBookmark */;
1237560913D81EE60027F8A5 /* PBXTextBookmark */ = 1237560913D81EE60027F8A5 /* PBXTextBookmark */;
1237560A13D81EE60027F8A5 /* PBXTextBookmark */ = 1237560A13D81EE60027F8A5 /* PBXTextBookmark */;
1237560B13D81EE60027F8A5 /* PBXTextBookmark */ = 1237560B13D81EE60027F8A5 /* PBXTextBookmark */;
1237560C13D81EE60027F8A5 /* PBXTextBookmark */ = 1237560C13D81EE60027F8A5 /* PBXTextBookmark */;
1237560D13D81EE60027F8A5 /* PBXTextBookmark */ = 1237560D13D81EE60027F8A5 /* PBXTextBookmark */;
1237561D13D823130027F8A5 /* PBXTextBookmark */ = 1237561D13D823130027F8A5 /* PBXTextBookmark */;
12375A1613D82F2C0027F8A5 /* PBXTextBookmark */ = 12375A1613D82F2C0027F8A5 /* PBXTextBookmark */;
12375A2913D82FD80027F8A5 /* PBXTextBookmark */ = 12375A2913D82FD80027F8A5 /* PBXTextBookmark */;
12375A3C13D831AB0027F8A5 /* PBXTextBookmark */ = 12375A3C13D831AB0027F8A5 /* PBXTextBookmark */;
12375A3D13D831AB0027F8A5 /* PBXTextBookmark */ = 12375A3D13D831AB0027F8A5 /* PBXTextBookmark */;
12375A3E13D831AB0027F8A5 /* PBXTextBookmark */ = 12375A3E13D831AB0027F8A5 /* PBXTextBookmark */;
1272D14613D860AF00EDABD3 /* PBXTextBookmark */ = 1272D14613D860AF00EDABD3 /* PBXTextBookmark */;
1272D14713D860AF00EDABD3 /* PBXTextBookmark */ = 1272D14713D860AF00EDABD3 /* PBXTextBookmark */;
1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */ = 1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */;
1284EEF913D6F95000A6BE87 /* PBXTextBookmark */ = 1284EEF913D6F95000A6BE87 /* PBXTextBookmark */;
128EB70A13D31D3900E0DA4B /* PBXTextBookmark */ = 128EB70A13D31D3900E0DA4B /* PBXTextBookmark */;
path = "/Users/slice/Projects/Apple/AppleSMBIOS-41/AppleSMBIOS.cpp";
sourceTree = "<absolute>";
};
120E55C813D8694A00E2D592 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FB137AC68F00E35218 /* smbios.c */;
name = "smbios.c: 871";
rLen = 0;
rLoc = 28671;
rType = 0;
vrLen = 668;
vrLoc = 28624;
};
120E55C913D8694A00E2D592 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D5F11F3868000754B65 /* pci_setup.c */;
rLen = 14;
rLoc = 2159;
rType = 0;
};
120E55CA13D8694A00E2D592 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D5F11F3868000754B65 /* pci_setup.c */;
name = "pci_setup.c: 91";
rLen = 14;
rLoc = 2159;
rType = 0;
vrLen = 616;
vrLoc = 1671;
};
122A5BB51375B61C00795FF0 /* Source Control */ = {
isa = PBXSourceControlManager;
fallbackIsa = XCSourceControlManager;
vrLen = 1039;
vrLoc = 3039;
};
1237560B13D81EE60027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60F9137AC68F00E35218 /* smbios_getters.c */;
name = "smbios_getters.c: 497";
rLen = 0;
rLoc = 13684;
rType = 0;
vrLen = 612;
vrLoc = 6233;
};
1237560C13D81EE60027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D5F11F3868000754B65 /* pci_setup.c */;
name = "pci_setup.c: 24";
rLen = 19;
rLoc = 470;
rType = 0;
vrLen = 829;
vrLoc = 160;
};
1237560D13D81EE60027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056CF711F3868000754B65 /* boot.h */;
vrLen = 774;
vrLoc = 477;
};
12375A1613D82F2C0027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = B0056D2611F3868000754B65 /* acpi_patcher.c */;
name = "acpi_patcher.c: 823";
rLen = 19;
rLoc = 28073;
rType = 0;
vrLen = 987;
vrLoc = 27547;
};
12375A2913D82FD80027F8A5 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FA137AC68F00E35218 /* smbios_getters.h */;
vrLen = 1037;
vrLoc = 20605;
};
12375A3D13D831AB0027F8A5 /* PBXTextBookmark */ = {
1272D14613D860AF00EDABD3 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FB137AC68F00E35218 /* smbios.c */;
rLen = 9;
rLoc = 27806;
fRef = B0056D2611F3868000754B65 /* acpi_patcher.c */;
name = "acpi_patcher.c: 1344";
rLen = 7;
rLoc = 44190;
rType = 0;
vrLen = 815;
vrLoc = 43404;
};
12375A3E13D831AB0027F8A5 /* PBXTextBookmark */ = {
1272D14713D860AF00EDABD3 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 012E60FB137AC68F00E35218 /* smbios.c */;
name = "smbios.c: 836";
rLen = 9;
rLoc = 27806;
fRef = 012E60F9137AC68F00E35218 /* smbios_getters.c */;
name = "smbios_getters.c: 460";
rLen = 0;
rLoc = 12199;
rType = 0;
vrLen = 696;
vrLoc = 27294;
vrLen = 1029;
vrLoc = 12658;
};
1284EEE713D6F35E00A6BE87 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
};
6DBAFD1413B0D21E0047ED33 /* modules.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {950, 14807}}";
sepNavSelRange = "{5464, 24}";
sepNavVisRange = "{3798, 521}";
sepNavIntBoundsRect = "{{0, 0}, {950, 14690}}";
sepNavSelRange = "{6994, 7}";
sepNavVisRange = "{6030, 672}";
};
};
B0056CF611F3868000754B65 /* boot.c */ = {
};
B0056D2611F3868000754B65 /* acpi_patcher.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {877, 17485}}";
sepNavSelRange = "{28073, 19}";
sepNavVisRange = "{27547, 987}";
sepNavIntBoundsRect = "{{0, 0}, {803, 17992}}";
sepNavSelRange = "{349, 0}";
sepNavVisRange = "{0, 549}";
sepNavWindowFrame = "{{15, 60}, {889, 813}}";
};
};
};
B0056D3F11F3868000754B65 /* fake_efi.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {873, 11167}}";
sepNavSelRange = "{28916, 0}";
sepNavVisRange = "{30020, 333}";
sepNavIntBoundsRect = "{{0, 0}, {1321, 11089}}";
sepNavSelRange = "{30110, 23}";
sepNavVisRange = "{29309, 1140}";
};
};
B0056D4011F3868000754B65 /* fake_efi.h */ = {
};
B0056D5F11F3868000754B65 /* pci_setup.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {877, 1300}}";
sepNavSelRange = "{470, 19}";
sepNavVisRange = "{160, 829}";
sepNavIntBoundsRect = "{{0, 0}, {877, 1196}}";
sepNavSelRange = "{2159, 14}";
sepNavVisRange = "{1671, 616}";
};
};
B0056D6011F3868000754B65 /* platform.c */ = {
sepNavVisRange = "{12099, 456}";
};
};
B0056D7111F3868000754B65 /* usb.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {866, 4706}}";
sepNavSelRange = "{567, 14}";
sepNavVisRange = "{532, 695}";
};
};
B0056D7411F3868000754B65 /* xml.c */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {782, 15561}}";
sepNavSelRange = "{9431, 7}";
sepNavVisRange = "{9086, 897}";
};
};
B0056D7F11F3868000754B65 /* CREDITS */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {782, 442}}";
branches/slice/trunkM/Chameleon.xcodeproj/slice.mode1v3
272272
273273
274274
275
275
276276
277277
278278
279279
280280
281281
282
282
283283
284284
285285
......
309309
310310
311311
312
313
314312
315313
316314
317315
318316
319
317
320318
321319
322320
......
324322
325323
326324
327
325
328326
329327
330328
331
329
332330
333331
334332
......
353351
354352
355353
356
357
358354
359355
360
361356
362357
363
358
359
360
361
364362
365363
366364
......
372370
373371
374372
375
373
376374
377375
378376
379377
380378
381379
382
380
383381
384382
383
384
385385
386386
387387
......
392392
393393
394394
395
395
396396
397397
398398
399399
400400
401401
402
402
403403
404404
405405
......
418418
419419
420420
421
421
422422
423
423
424424
425425
426426
......
640640
641641
642642
643
643
644644
645645
646646
......
773773
774774
775775
776
777
778776
779777
780778
......
801799
802800
803801
802
803
804804
805805
806806
......
836836
837837
838838
839
840
839
840
841841
842842
843843
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
<integer>85</integer>
<integer>86</integer>
<integer>11</integer>
<integer>3</integer>
<integer>0</integer>
</array>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
<string>{{0, 1021}, {186, 600}}</string>
<string>{{0, 1052}, {186, 600}}</string>
</dict>
<key>PBXTopSmartGroupGIDs</key>
<array/>
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>smbios.c</string>
<string>pci_setup.c</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>smbios.c</string>
<string>pci_setup.c</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>12375A3E13D831AB0027F8A5</string>
<string>120E55CA13D8694A00E2D592</string>
<key>history</key>
<array>
<string>122A5BCA1375C49300795FF0</string>
<string>1237560813D81EE60027F8A5</string>
<string>1237560913D81EE60027F8A5</string>
<string>1237560A13D81EE60027F8A5</string>
<string>1237560B13D81EE60027F8A5</string>
<string>1237560C13D81EE60027F8A5</string>
<string>1237560D13D81EE60027F8A5</string>
<string>1237561D13D823130027F8A5</string>
<string>12375A1613D82F2C0027F8A5</string>
<string>12375A2913D82FD80027F8A5</string>
<string>12375A3C13D831AB0027F8A5</string>
<string>12375A3D13D831AB0027F8A5</string>
<string>1272D14613D860AF00EDABD3</string>
<string>1272D14713D860AF00EDABD3</string>
<string>120E55C813D8694A00E2D592</string>
<string>120E55C913D8694A00E2D592</string>
</array>
</dict>
<key>SplitCount</key>
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 0}, {938, 399}}</string>
<string>{{0, 0}, {938, 384}}</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>399pt</string>
<string>384pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 404}, {938, 214}}</string>
<string>{{0, 389}, {938, 229}}</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>214pt</string>
<string>229pt</string>
</dict>
</array>
<key>Proportion</key>
</array>
<key>TableOfContents</key>
<array>
<string>12375A3F13D831AB0027F8A5</string>
<string>120E55CB13D8694A00E2D592</string>
<string>1CE0B1FE06471DED0097A5F4</string>
<string>12375A4013D831AB0027F8A5</string>
<string>120E55CC13D8694A00E2D592</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
<key>TableOfContents</key>
<array>
<string>122A5BB81375BA4700795FF0</string>
<string>12375A3513D831A70027F8A5</string>
<string>120E55BE13D8694400E2D592</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>431pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
<key>TableOfContents</key>
<array>
<string>1C530D57069F1CE1000CFCEE</string>
<string>12375A3A13D831A70027F8A5</string>
<string>12375A3B13D831A70027F8A5</string>
<string>120E55C613D8694400E2D592</string>
<string>120E55C713D8694400E2D592</string>
<string>1CDD528C0622207200134675</string>
<string>1CD0528E0623707200166675</string>
</array>
branches/slice/trunkM/i386/libsaio/acpi_patcher.c
1616
1717
1818
19
19
2020
2121
2222
#include "smbios_getters.h"
#ifndef DEBUG_ACPI
#define DEBUG_ACPI 0
#define DEBUG_ACPI 1
#endif
#if DEBUG_ACPI==2
branches/slice/trunkM/i386/libsaio/usb.c
1313
1414
1515
16
16
1717
1818
1919
20
20
2121
2222
2323
#include "pci.h"
#ifndef DEBUG_USB
#define DEBUG_USB 0
#define DEBUG_USB 1
#endif
#if DEBUG_USB
#define DBG(x...)printf(x)
#define DBG(x...)verbose(x)
#else
#define DBG(x...)
#endif
branches/slice/trunkM/i386/libsaio/pci_setup.c
9090
9191
9292
93
9493
9594
9695
execute_hook("PCIDevice", current, NULL, NULL, NULL);
DBG("setup_pci_devs current devID=%08x\n", current->device_id);
setup_pci_devs(current->children);
DBG("setup_pci_devs children devID=%08x\n", current->device_id);
current = current->next;
}
}
branches/slice/trunkM/i386/libsaio/smbios.c
868868
869869
870870
871
872
873
874
875
876
871877
872878
873879
874880
881
882
883
884
875885
876886
877887
DmiTablePair[i].dmi &&
DmiTablePair[i].dmi->length >= minlength ) {
current_pos = i+1;
#if DEBUG_SMBIOS
DBG("SMBIOS table type %d found\n", type);
printf("Press a key to continue... (DEBUG)\n");
getchar();
#endif
return DmiTablePair[i].dmi;
}
}
DBG("SMBIOS table type %d not found\n", type);
#if DEBUG_ACPI
printf("Press a key to continue... (DEBUG)\n");
getchar();
#endif
return NULL; // not found
};
branches/slice/trunkM/i386/libsaio/fake_efi.c
736736
737737
738738
739
740
739741
740
742
741743
742
743
744
744745
745746
746747
747748
748
749
749750
750751
752
753
754
755
751756
752757
753758
//Slice - remember globals
Platform = (PlatformInfo_t *)gPlatform;
root_pci_dev = (pci_dt_t*)gRootPCIDev;
setup_pci_devs(root_pci_dev);
smbios_p = (EFI_PTR32)getSmbios(SMBIOS_ORIGINAL);
#if DEBUG
verbose("2:Platform=%x root_pci=%x\n", Platform, root_pci_dev);
verbose("SMBIOS_ORIGINAL=%x \n", smbios_p);
#endif
setup_pci_devs(root_pci_dev);
smbios_p = (EFI_PTR32)getSmbios(SMBIOS_ORIGINAL);
getSmbiosTableStructure((void*)(EFI_PTR32)smbios_p);
readSMBIOSInfo((void*)(EFI_PTR32)smbios_p);
// load smbios.plist file if any
setupSmbiosConfigFile("smbios.plist");
setupSmbiosConfigFile("smbios.plist");
setupSMBIOSTable();
#if DEBUG
verbose("SMBIOS_PATCHED=%x smbios_p=%x\n", getSmbios(SMBIOS_PATCHED), smbios_p);
getchar();
#endif
// Initialize the base table
if (archCpuType == CPU_TYPE_I386)
branches/slice/trunkM/i386/libsaio/smbios_getters.c
99
1010
1111
12
12
1313
1414
1515
16
16
1717
1818
1919
......
457457
458458
459459
460
460
461461
462462
463463
#include "bootstruct.h"
#ifndef DEBUG_SMBIOS
#define DEBUG_SMBIOS 0
#define DEBUG_SMBIOS 1
#endif
#if DEBUG_SMBIOS
#define DBG(x...)printf(x)
#define DBG(x...)verbose(x)
#else
#define DBG(x...)
#endif
continue;
}
//TODO validate
#if 0 //NOTYET
#if DEBUG_SMBIOS
msglog("Platform CPU Info:\n FSB=%d\n MaxSpeed=%d\n CurrentSpeed=%d\n", Platform->CPU.FSBFrequency/MEGA, Platform->CPU.TSCFrequency/MEGA, Platform->CPU.CPUFrequency/MEGA);
if ((cpuInfo->externalClock) && (cpuInfo->externalClock < 400)) { //<400MHz
branches/slice/trunkM/i386/boot2/modules.c
44
55
66
7
7
88
99
1010
*/
#ifdef CONFIG_MODULES
#ifndef CONFIG_MODULE_DEBUG
#define CONFIG_MODULE_DEBUG 0
#define CONFIG_MODULE_DEBUG 1
#endif
#include "boot.h"
branches/slice/trunkM/revision
1
1
1198
1198:1199

Archive Download the corresponding diff file

Revision: 1200