]> git.saurik.com Git - apple/xnu.git/blob - osfmk/i386/commpage/commpage_sigs.c
xnu-792.18.15.tar.gz
[apple/xnu.git] / osfmk / i386 / commpage / commpage_sigs.c
1 #include "commpage.h"
2
3 static unsigned int sigdata[] =
4 {
5 0x06004018, 0x01000000, 0x6d6f635f, 0x65726170, 0x646e615f, 0x6177735f,
6 0x00323370, 0x06004018, 0x2828e07c, 0x4018077c, 0x14008240, 0x2d29807c,
7 0xf0ffa240, 0x01006038, 0x2000804e, 0x00006038, 0x2000804e, 0x06004018,
8 0x00000000, 0x6d6f635f, 0x65726170, 0x646e615f, 0x6177735f, 0x00323370,
9 0x06004018, 0x06004018, 0x01000000, 0x6d6f635f, 0x65726170, 0x646e615f,
10 0x6177735f, 0x62323370, 0x00000000, 0x06004018, 0xac06007c, 0x2828e07c,
11 0x4018077c, 0x18008240, 0x2d29807c, 0xf0ffa240, 0x2c01004c, 0x01006038,
12 0x2000804e, 0x00006038, 0x2000804e, 0x2000804e, 0x06004018, 0x00000000,
13 0x6d6f635f, 0x65726170, 0x646e615f, 0x6177735f, 0x62323370, 0x00000000,
14 0x06004018, 0x06004018, 0x01000000, 0x6d6f635f, 0x65726170, 0x646e615f,
15 0x6177735f, 0x62343670, 0x00000000, 0x06004018, 0xac04207c, 0xa828e07c,
16 0x4018277c, 0x1800c240, 0xad29807c, 0xf0ffc240, 0x2c01004c, 0x01006038,
17 0x2000804e, 0xf8ff0039, 0x00006038, 0xad09887c, 0x2000804e, 0x2000804e,
18 0x06004018, 0x00000000, 0x6d6f635f, 0x65726170, 0x646e615f, 0x6177735f,
19 0x62343670, 0x00000000, 0x06004018, 0x06004018, 0x01000000, 0x6d656d5f,
20 0x5f746573, 0x74746170, 0x006e7265, 0x06004018, 0x10000071, 0x000009c8,
21 0x080029c8, 0x14008241, 0x000008d8, 0x080028d8, 0xf0ff8438, 0x10000839,
22 0xbfd18054, 0x0000807f, 0xbe068454, 0x70008241, 0xec47007c, 0xa603097c,
23 0x2000c038, 0x3400be41, 0x000008d8, 0x080028d8, 0x100008d8, 0x180028d8,
24 0x200008d8, 0x280028d8, 0x300008d8, 0x380028d8, 0x40000839, 0xdcff0042,
25 0x34000048, 0xec47007c, 0xec47067c, 0x000008d8, 0x080028d8, 0x100008d8,
26 0x180028d8, 0x200008d8, 0x280028d8, 0x300008d8, 0x380028d8, 0x40000839,
27 0xd4ff0042, 0x3fe18054, 0x3e078454, 0x2000824d, 0xa603097c, 0x000008d8,
28 0x080028d8, 0x10000839, 0xf4ff0042, 0x2000804e, 0x2000804e, 0x06004018,
29 0x00000000, 0x6d656d5f, 0x5f746573, 0x74746170, 0x006e7265, 0x06004018,
30 0x06004018, 0x01000000, 0x6f74615f, 0x5f63696d, 0x75716e65, 0x00657565,
31 0x06004018, 0x2818c07c, 0x2e29c47c, 0x00000060, 0x2d19807c, 0x2000e24d,
32 0xecffff4b, 0x2000804e, 0x06004018, 0x00000000, 0x6f74615f, 0x5f63696d,
33 0x75716e65, 0x00657565, 0x06004018, 0x06004018, 0x01000000, 0x6f74615f,
34 0x5f63696d, 0x75716564, 0x00657565, 0x06004018, 0x781b657c, 0x2828607c,
35 0x0000032c, 0x2000824d, 0x2e20c37c, 0x2d29c07c, 0xecffc240, 0x00000060,
36 0x2000804e, 0x06004018, 0x00000000, 0x6f74615f, 0x5f63696d, 0x75716564,
37 0x00657565, 0x06004018, 0x06004018, 0x01000000, 0x6f74615f, 0x5f63696d,
38 0x72726162, 0x00726569, 0x06004018, 0x2000804e, 0x06004018, 0x00000000,
39 0x6f74615f, 0x5f63696d, 0x72726162, 0x00726569, 0x06004018, 0x06004018,
40 0x01000000, 0x6f74615f, 0x5f63696d, 0x5f646461, 0x00003233, 0x06004018,
41 0x2820a07c, 0x142ac37c, 0x2d21c07c, 0xf4ffc240, 0x7833c37c, 0x2000804e,
42 0x06004018, 0x00000000, 0x6f74615f, 0x5f63696d, 0x5f646461, 0x00003233,
43 0x06004018, 0x06004018, 0x01000000, 0x63616d5f, 0x62615f68, 0x756c6f73,
44 0x745f6574, 0x00656d69, 0x06004018, 0x00004018, 0x04006000, 0x00000000,
45 0x00000000, 0x63616d5f, 0x62615f68, 0x756c6f73, 0x745f6574, 0x5f656d69,
46 0x68676968, 0x00000000, 0x00004018, 0x00004018, 0x04008000, 0x00000000,
47 0x00000000, 0x63616d5f, 0x62615f68, 0x756c6f73, 0x745f6574, 0x5f656d69,
48 0x00776f6c, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x63616d5f,
49 0x62615f68, 0x756c6f73, 0x745f6574, 0x00656d69, 0x06004018, 0x06004018,
50 0x01000000, 0x6970735f, 0x6f6c5f6e, 0x745f6b63, 0x00007972, 0x06004018,
51 0x05004018, 0x04006000, 0x05004018, 0x00004018, 0x04006000, 0x00000000,
52 0x00000000, 0x6970735f, 0x6f6c5f6e, 0x745f6b63, 0x775f7972, 0x70706172,
53 0x00007265, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6970735f,
54 0x6f6c5f6e, 0x745f6b63, 0x00007972, 0x06004018, 0x06004018, 0x01000000,
55 0x6970735f, 0x6f6c5f6e, 0x00006b63, 0x06004018, 0x05004018, 0x04006000,
56 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000, 0x6970735f,
57 0x6f6c5f6e, 0x775f6b63, 0x70706172, 0x00007265, 0x00004018, 0x2000804e,
58 0x06004018, 0x00000000, 0x6970735f, 0x6f6c5f6e, 0x00006b63, 0x06004018,
59 0x06004018, 0x01000000, 0x6970735f, 0x6e755f6e, 0x6b636f6c, 0x00000000,
60 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x00004018, 0x00000000,
61 0x00000000, 0x00000000, 0x6970735f, 0x6e755f6e, 0x6b636f6c, 0x00000000,
62 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6970735f, 0x6e755f6e,
63 0x6b636f6c, 0x00000000, 0x06004018, 0x06004018, 0x01000000, 0x6874705f,
64 0x64616572, 0x7465675f, 0x63657073, 0x63696669, 0x00000000, 0x06004018,
65 0x02004018, 0xc082ffff, 0x02004018, 0x2000804e, 0x06004018, 0x00000000,
66 0x6874705f, 0x64616572, 0x7465675f, 0x63657073, 0x63696669, 0x00000000,
67 0x06004018, 0x06004018, 0x01000000, 0x7465675f, 0x656d6974, 0x6164666f,
68 0x00000079, 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x00004018,
69 0x04006000, 0x00000000, 0x00000000, 0x7465675f, 0x656d6974, 0x6164666f,
70 0x72775f79, 0x65707061, 0x00000072, 0x00004018, 0x2000804e, 0x06004018,
71 0x00000000, 0x7465675f, 0x656d6974, 0x6164666f, 0x00000079, 0x06004018,
72 0x06004018, 0x01000000, 0x7379735f, 0x6163645f, 0x5f656863, 0x73756c66,
73 0x00000068, 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x05004018,
74 0x04008000, 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000,
75 0x7379735f, 0x6163645f, 0x5f656863, 0x73756c66, 0x00000068, 0x00004018,
76 0x2000804e, 0x06004018, 0x00000000, 0x7379735f, 0x6163645f, 0x5f656863,
77 0x73756c66, 0x00000068, 0x06004018, 0x06004018, 0x01000000, 0x7379735f,
78 0x6163695f, 0x5f656863, 0x61766e69, 0x6164696c, 0x00006574, 0x06004018,
79 0x05004018, 0x04006000, 0x05004018, 0x05004018, 0x04008000, 0x05004018,
80 0x00004018, 0x00000000, 0x00000000, 0x00000000, 0x7379735f, 0x6163695f,
81 0x5f656863, 0x61766e69, 0x6164696c, 0x775f6574, 0x70706172, 0x00007265,
82 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x7379735f, 0x6163695f,
83 0x5f656863, 0x61766e69, 0x6164696c, 0x00006574, 0x06004018, 0x06004018,
84 0x01000000, 0x6874705f, 0x64616572, 0x6c65735f, 0x00000066, 0x06004018,
85 0x02004018, 0x8085ffff, 0x02004018, 0x2000804e, 0x06004018, 0x00000000,
86 0x6874705f, 0x64616572, 0x6c65735f, 0x00000066, 0x06004018, 0x06004018,
87 0x01000000, 0x657a625f, 0x00006f72, 0x06004018, 0x05004018, 0x04006000,
88 0x05004018, 0x05004018, 0x04008000, 0x05004018, 0x00004018, 0x00000000,
89 0x00000000, 0x00000000, 0x657a625f, 0x00006f72, 0x00004018, 0x2000804e,
90 0x06004018, 0x00000000, 0x657a625f, 0x00006f72, 0x06004018, 0x06004018,
91 0x01000000, 0x6f63625f, 0x00007970, 0x06004018, 0x05004018, 0x04006000,
92 0x05004018, 0x05004018, 0x04008000, 0x05004018, 0x05004018, 0x0400a000,
93 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000, 0x6f63625f,
94 0x00007970, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6f63625f,
95 0x00007970, 0x06004018, 0x06004018, 0x01000000, 0x6d656d5f, 0x65766f6d,
96 0x00000000, 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x05004018,
97 0x04008000, 0x05004018, 0x05004018, 0x0400a000, 0x05004018, 0x00004018,
98 0x00000000, 0x00000000, 0x00000000, 0x6d656d5f, 0x65766f6d, 0x00000000,
99 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6d656d5f, 0x65766f6d,
100 0x00000000, 0x06004018, 0x06004018, 0x01000000, 0x6e616e5f, 0x6d69746f,
101 0x00000065, 0x06004018, 0x00004018, 0x04006000, 0x00000000, 0x00000000,
102 0x6e616e5f, 0x6d69746f, 0x69685f65, 0x00006867, 0x00004018, 0x00004018,
103 0x04008000, 0x00000000, 0x00000000, 0x6e616e5f, 0x6d69746f, 0x6f6c5f65,
104 0x00000077, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6e616e5f,
105 0x6d69746f, 0x00000065, 0x06004018, 0x06004018, 0x01000000, 0x6a626f5f,
106 0x736d5f63, 0x6e655367, 0x00000064, 0x06004018, 0x00004018, 0x00000000,
107 0x00000400, 0x00000000, 0x6a626f5f, 0x736d5f63, 0x6e655367, 0x00000064,
108 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f, 0x736d5f63, 0x6e655367,
109 0x00000064, 0x06004018, 0x06004018, 0x01000000, 0x6a626f5f, 0x73615f63,
110 0x6e676973, 0x6176695f, 0x00000072, 0x06004018, 0x00004018, 0x00000000,
111 0x00000400, 0x00000000, 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6176695f,
112 0x65675f72, 0x6972656e, 0x00000063, 0x00004018, 0x06004018, 0x00000000,
113 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6176695f, 0x00000072, 0x06004018,
114 0x06004018, 0x01000000, 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6f6c675f,
115 0x006c6162, 0x06004018, 0x00004018, 0x00000000, 0x00000400, 0x00000000,
116 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6f6c675f, 0x5f6c6162, 0x656e6567,
117 0x00636972, 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f, 0x73615f63,
118 0x6e676973, 0x6f6c675f, 0x006c6162, 0x06004018, 0x06004018, 0x01000000,
119 0x6a626f5f, 0x73615f63, 0x6e676973, 0x7274735f, 0x43676e6f, 0x00747361,
120 0x06004018, 0x00004018, 0x00000000, 0x00000400, 0x00000000, 0x6a626f5f,
121 0x73615f63, 0x6e676973, 0x7274735f, 0x43676e6f, 0x5f747361, 0x656e6567,
122 0x00636972, 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f, 0x73615f63,
123 0x6e676973, 0x7274735f, 0x43676e6f, 0x00747361, 0x06004018,
124 };
125 commpage_descriptor sigdata_descriptor =
126 { sigdata, sizeof(sigdata), 0xffff3000, 0, 0 };
127
128 static unsigned int badata[] =
129 {
130 0xaa3aff4b, 0x3a3aff4b, 0xca39ff4b, 0x6e39ff4b, 0x0230ff4b, 0x5a32ff4b,
131 0xae32ff4b, 0x0a33ff4b, 0x4633ff4b, 0x9633ff4b, 0x3634ff4b, 0xaa34ff4b,
132 0x1235ff4b, 0x7e35ff4b, 0xd635ff4b, 0x4a36ff4b, 0xce36ff4b, 0x6637ff4b,
133 0xae37ff4b, 0x0e38ff4b, 0x7a38ff4b, 0x6630ff4b, 0xde30ff4b, 0x5e31ff4b,
134 };
135 static commpage_descriptor badata_descriptor_ary[] =
136 {
137 { &badata[ 0], 4, 0xfffefea0, 0, 0 },
138 { &badata[ 1], 4, 0xfffefeb0, 0, 0 },
139 { &badata[ 2], 4, 0xfffefec0, 0, 0 },
140 { &badata[ 3], 4, 0xfffeff00, 0, 0 },
141 { &badata[ 4], 4, 0xffff8080, 0, 0 },
142 { &badata[ 5], 4, 0xffff8100, 0, 0 },
143 { &badata[ 6], 4, 0xffff8140, 0, 0 },
144 { &badata[ 7], 4, 0xffff8180, 0, 0 },
145 { &badata[ 8], 4, 0xffff81a0, 0, 0 },
146 { &badata[ 9], 4, 0xffff8200, 0, 0 },
147 { &badata[10], 4, 0xffff8220, 0, 0 },
148 { &badata[11], 4, 0xffff8260, 0, 0 },
149 { &badata[12], 4, 0xffff82a0, 0, 0 },
150 { &badata[13], 4, 0xffff82c0, 0, 0 },
151 { &badata[14], 4, 0xffff82e0, 0, 0 },
152 { &badata[15], 4, 0xffff84e0, 0, 0 },
153 { &badata[16], 4, 0xffff8520, 0, 0 },
154 { &badata[17], 4, 0xffff8580, 0, 0 },
155 { &badata[18], 4, 0xffff8600, 0, 0 },
156 { &badata[19], 4, 0xffff8780, 0, 0 },
157 { &badata[20], 4, 0xffff87a0, 0, 0 },
158 { &badata[21], 4, 0xffff8f80, 0, 0 },
159 { &badata[22], 4, 0xffff8fc0, 0, 0 },
160 { &badata[23], 4, 0xffff9000, 0, 0 },
161 };
162 commpage_descriptor *ba_descriptors[] =
163 {
164 &badata_descriptor_ary[ 0],
165 &badata_descriptor_ary[ 1],
166 &badata_descriptor_ary[ 2],
167 &badata_descriptor_ary[ 3],
168 &badata_descriptor_ary[ 4],
169 &badata_descriptor_ary[ 5],
170 &badata_descriptor_ary[ 6],
171 &badata_descriptor_ary[ 7],
172 &badata_descriptor_ary[ 8],
173 &badata_descriptor_ary[ 9],
174 &badata_descriptor_ary[10],
175 &badata_descriptor_ary[11],
176 &badata_descriptor_ary[12],
177 &badata_descriptor_ary[13],
178 &badata_descriptor_ary[14],
179 &badata_descriptor_ary[15],
180 &badata_descriptor_ary[16],
181 &badata_descriptor_ary[17],
182 &badata_descriptor_ary[18],
183 &badata_descriptor_ary[19],
184 &badata_descriptor_ary[20],
185 &badata_descriptor_ary[21],
186 &badata_descriptor_ary[22],
187 &badata_descriptor_ary[23],
188 0
189 };