0
|
1 #pragma once
|
|
2
|
|
3
|
1016
|
4 #include "mm7_data.h"
|
0
|
5 /* 128 */
|
|
6 #pragma pack(push, 1)
|
|
7 struct stru11
|
|
8 {
|
|
9 //----- (00438526) --------------------------------------------------------
|
|
10 stru11()
|
|
11 {
|
|
12 stru11 *v1; // esi@1
|
|
13 signed int v2; // eax@1
|
|
14 char *v3; // edx@1
|
|
15
|
|
16 v1 = this;
|
|
17 v2 = 0;
|
|
18 this->cpuid_00000000_eax_numops = 0;
|
|
19 this->cpuid_00000001_eax = 0;
|
|
20 this->cpuid_00000001_edx = 0;
|
|
21 this->field_38 = 0;
|
|
22 this->field_3C = 0;
|
|
23 this->cpuid_80000000_edx = 0;
|
|
24 this->cpuid_80000001_eax = 0;
|
|
25 this->cpuid_80000001_edx = 0;
|
|
26 this->cpuid_80000005_ebx = 0;
|
|
27 this->cpuid_80000005_ecx = 0;
|
|
28 this->cpuid_80000005_edx = 0;
|
|
29 this->cpuid_80000006_ecx = 0;
|
|
30 this->field_AC = 0;
|
|
31 this->uProcessorManufacturer = 0;
|
|
32 LOBYTE(this->cpuid_80000002_registers2[0]) = 0;
|
|
33 v3 = (char *)&this->cpuid_00000002_eax;
|
|
34 do
|
|
35 {
|
|
36 if ( v2 < 3 )
|
|
37 *((int *)v3 - 9) = 0;
|
|
38 if ( v2 < 4 )
|
|
39 *(int *)v3 = 0;
|
|
40 if ( v2 < 12 )
|
|
41 *((int *)v3 + 17) = 0;
|
|
42 if ( v2 < 13 )
|
|
43 this->pCPUString[v2] = 0;
|
|
44 if ( v2 < 30 )
|
|
45 *((char *)this->field_40 + v2) = 0;
|
|
46 *((char *)&this->cpuid_80000002_registers2[0] + v2++ + 1) = 0;
|
|
47 v3 += 4;
|
|
48 }
|
|
49 while ( v2 < 48 );
|
|
50 CheckCPU();
|
|
51 }
|
|
52
|
|
53 void CheckCPU();
|
|
54 void RunCPUID();
|
|
55 void RunCPUID_op1();
|
|
56 void RunCPUID_op2();
|
|
57 void RunCPUID_ext2_3_4();
|
|
58
|
|
59 int cpuid_00000000_eax_numops;
|
|
60 int cpuid_00000000_ebx_vendorstr1;
|
|
61 int cpuid_00000000_edx_vendorstr2;
|
|
62 int cpuid_00000000_ecx_vendorstr3;
|
|
63 char pCPUString[16];
|
|
64 int cpuid_00000001_eax;
|
|
65 int cpuid_00000001_edx;
|
|
66 int cpuid_00000002_eax;
|
|
67 int cpuid_00000002_ebx;
|
|
68 int cpuid_00000002_ecx;
|
|
69 int cpuid_00000002_edx;
|
|
70 int field_38;
|
|
71 int field_3C;
|
|
72 int field_40[8];
|
|
73 int cpuid_80000000_edx;
|
|
74 int cpuid_80000001_eax;
|
|
75 int cpuid_80000001_edx;
|
|
76 int cpuid_80000002_registers[4];
|
|
77 int cpuid_80000003_registers[4];
|
|
78 int cpuid_80000004_registers[4];
|
|
79 int cpuid_80000005_ebx;
|
|
80 int cpuid_80000005_ecx;
|
|
81 int cpuid_80000005_edx;
|
|
82 int cpuid_80000006_ecx;
|
|
83 int field_AC;
|
|
84 int uProcessorManufacturer;
|
|
85 int cpuid_80000002_registers2[4];
|
|
86 int cpuid_80000003_registers2[4];
|
|
87 int cpuid_80000004_registers2[4];
|
|
88 int field_E4;
|
|
89 };
|
|
90 #pragma pack(pop)
|