SayoriOS 0.3.3

cpu_intel.h
1 //
2 // Created by ndraey on 03.10.23.
3 //
4
5 #pragma once
6
7 static const char *intel_brand_names[] = {
8 "Brand ID Not Supported.",
9 "Intel(R) Celeron(R) processor",
10 "Intel(R) Pentium(R) III processor",
11 "Intel(R) Pentium(R) III Xeon(R) processor",
12 "Intel(R) Pentium(R) III processor",
13 "Reserved",
14 "Mobile Intel(R) Pentium(R) III processor-M",
15 "Mobile Intel(R) Celeron(R) processor",
16 "Intel(R) Pentium(R) 4 processor",
17 "Intel(R) Pentium(R) 4 processor",
18 "Intel(R) Celeron(R) processor",
19 "Intel(R) Xeon(R) Processor",
20 "Intel(R) Xeon(R) processor MP",
21 "Reserved",
22 "Mobile Intel(R) Pentium(R) 4 processor-M",
23 "Mobile Intel(R) Pentium(R) Celeron(R) processor",
24 "Reserved",
25 "Mobile Genuine Intel(R) processor",
26 "Intel(R) Celeron(R) M processor",
27 "Mobile Intel(R) Celeron(R) processor",
28 "Intel(R) Celeron(R) processor",
29 "Mobile Geniune Intel(R) processor",
30 "Intel(R) Pentium(R) M processor",
31 "Mobile Intel(R) Celeron(R) processor"
32 };
33
34 static const char *intel_additional_brand_names[] = {
35 "Reserved",
36 "Reserved",
37 "Reserved",
38 "Intel(R) Celeron(R) processor",
39 "Reserved",
40 "Reserved",
41 "Reserved",
42 "Reserved",
43 "Reserved",
44 "Reserved",
45 "Reserved",
46 "Intel(R) Xeon(R) processor MP",
47 "Reserved",
48 "Reserved",
49 "Intel(R) Xeon(R) processor",
50 "Reserved",
51 "Reserved",
52 "Reserved",
53 "Reserved",
54 "Reserved",
55 "Reserved",
56 "Reserved",
57 "Reserved",
58 "Reserved"
59 };
60
61 static const char* intel_cpu_types[] = {
62 "Original OEM",
63 "Overdrive",
64 "Dual-capable",
65 "Reserved"
66 };
67
68 static const char* intel_cpu_family_names[] = {
69 [3] = "i386",
70 [4] = "i486",
71 [5] = "Pentium",
72 [6] = "Pentium Pro",
73 [15] = "Pentium 4"
74 };
75
76 static const char* intel_model_names[][9] = {
77 [0] = {},
78 [1] = {},
79 [2] = {},
80 [3] = {},
81 [4] = {
82 [0] = "DX",
83 [1] = "DX",
84 [2] = "SX",
85 [3] = "487/DX2",
86 [4] = "SL",
87 [5] = "SX2",
88 [7] = "Write-back enchanced SX2",
89 [8] = "DX4",
90 },
91 [5] = {
92 [1] = "60/66",
93 [2] = "75-200",
94 [3] = "For 486 systems",
95 [4] = "MMX",
96 },
97 [6] = {
98 [1] = "Pentium Pro",
99 [3] = "Pentium II Model 3",
100 [5] = "Pentium II Model 5 / Xeon / Celeron",
101 [6] = "Celeron",
102 [7] = "Pentium III / Pentium III Xeon - external L2 cache",
103 [8] = "Pentium III / Pentium III Xeon - internal L2 cache",
104 }
105 };