]> git.saurik.com Git - apple/xnu.git/blob - osfmk/i386/commpage/commpage_sigs.c
xnu-1228.12.14.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, 0xc0008428, 0xa642407c,
21 0x00804064, 0x10000571, 0xa643007c, 0x1000a038, 0xce48007c, 0x2000c038,
22 0x7c008441, 0x30002039, 0x10008241, 0xce41007c, 0x10000839, 0xf0ff8438,
23 0xbed18054, 0xec45007c, 0xbe068454, 0xffff0030, 0x40004039, 0x60006039,
24 0xa603097c, 0xec45067c, 0x10000048, 0x00000060, 0x00000060, 0x00000060,
25 0xec450a7c, 0xec450b7c, 0xce41007c, 0xce41057c, 0xce41067c, 0xce41097c,
26 0x40000839, 0xe4ff0042, 0xce41007c, 0xce41057c, 0xce41067c, 0xce41097c,
27 0x40000839, 0x7fd98054, 0xfe068454, 0x18008241, 0xa603097c, 0xce41007c,
28 0xce41057c, 0x20000839, 0xf4ff0042, 0xa643407c, 0x2000804e, 0x2000804e,
29 0x06004018, 0x00000000, 0x6d656d5f, 0x5f746573, 0x74746170, 0x006e7265,
30 0x06004018, 0x06004018, 0x01000000, 0x6f74615f, 0x5f63696d, 0x75716e65,
31 0x00657565, 0x06004018, 0x2818c07c, 0x2e29c47c, 0x00000060, 0x2d19807c,
32 0x2000e24d, 0xecffff4b, 0x2000804e, 0x06004018, 0x00000000, 0x6f74615f,
33 0x5f63696d, 0x75716e65, 0x00657565, 0x06004018, 0x06004018, 0x01000000,
34 0x6f74615f, 0x5f63696d, 0x75716564, 0x00657565, 0x06004018, 0x781b657c,
35 0x2828607c, 0x0000032c, 0x2000824d, 0x2e20c37c, 0x2d29c07c, 0xecffc240,
36 0x00000060, 0x2000804e, 0x06004018, 0x00000000, 0x6f74615f, 0x5f63696d,
37 0x75716564, 0x00657565, 0x06004018, 0x06004018, 0x01000000, 0x6f74615f,
38 0x5f63696d, 0x72726162, 0x00726569, 0x06004018, 0x2000804e, 0x06004018,
39 0x00000000, 0x6f74615f, 0x5f63696d, 0x72726162, 0x00726569, 0x06004018,
40 0x06004018, 0x01000000, 0x6f74615f, 0x5f63696d, 0x5f646461, 0x00003233,
41 0x06004018, 0x2820a07c, 0x142ac37c, 0x2d21c07c, 0xf4ffc240, 0x7833c37c,
42 0x2000804e, 0x06004018, 0x00000000, 0x6f74615f, 0x5f63696d, 0x5f646461,
43 0x00003233, 0x06004018, 0x06004018, 0x01000000, 0x63616d5f, 0x62615f68,
44 0x756c6f73, 0x745f6574, 0x00656d69, 0x06004018, 0x00004018, 0x04006000,
45 0x00000000, 0x00000000, 0x63616d5f, 0x62615f68, 0x756c6f73, 0x745f6574,
46 0x5f656d69, 0x68676968, 0x00000000, 0x00004018, 0x00004018, 0x04008000,
47 0x00000000, 0x00000000, 0x63616d5f, 0x62615f68, 0x756c6f73, 0x745f6574,
48 0x5f656d69, 0x00776f6c, 0x00004018, 0x2000804e, 0x06004018, 0x00000000,
49 0x63616d5f, 0x62615f68, 0x756c6f73, 0x745f6574, 0x00656d69, 0x06004018,
50 0x06004018, 0x01000000, 0x6970735f, 0x6f6c5f6e, 0x745f6b63, 0x00007972,
51 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x00004018, 0x04006000,
52 0x00000000, 0x00000000, 0x6970735f, 0x6f6c5f6e, 0x745f6b63, 0x775f7972,
53 0x70706172, 0x00007265, 0x00004018, 0x2000804e, 0x06004018, 0x00000000,
54 0x6970735f, 0x6f6c5f6e, 0x745f6b63, 0x00007972, 0x06004018, 0x06004018,
55 0x01000000, 0x6970735f, 0x6f6c5f6e, 0x00006b63, 0x06004018, 0x05004018,
56 0x04006000, 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000,
57 0x6970735f, 0x6f6c5f6e, 0x775f6b63, 0x70706172, 0x00007265, 0x00004018,
58 0x2000804e, 0x06004018, 0x00000000, 0x6970735f, 0x6f6c5f6e, 0x00006b63,
59 0x06004018, 0x06004018, 0x01000000, 0x6970735f, 0x6e755f6e, 0x6b636f6c,
60 0x00000000, 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x00004018,
61 0x00000000, 0x00000000, 0x00000000, 0x6970735f, 0x6e755f6e, 0x6b636f6c,
62 0x00000000, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6970735f,
63 0x6e755f6e, 0x6b636f6c, 0x00000000, 0x06004018, 0x06004018, 0x01000000,
64 0x6874705f, 0x64616572, 0x7465675f, 0x63657073, 0x63696669, 0x00000000,
65 0x06004018, 0x02004018, 0xc082ffff, 0x02004018, 0x2000804e, 0x06004018,
66 0x00000000, 0x6874705f, 0x64616572, 0x7465675f, 0x63657073, 0x63696669,
67 0x00000000, 0x06004018, 0x06004018, 0x01000000, 0x7465675f, 0x656d6974,
68 0x6164666f, 0x00000079, 0x06004018, 0x05004018, 0x04006000, 0x05004018,
69 0x00004018, 0x04006000, 0x00000000, 0x00000000, 0x7465675f, 0x656d6974,
70 0x6164666f, 0x72775f79, 0x65707061, 0x00000072, 0x00004018, 0x2000804e,
71 0x06004018, 0x00000000, 0x7465675f, 0x656d6974, 0x6164666f, 0x00000079,
72 0x06004018, 0x06004018, 0x01000000, 0x7379735f, 0x6163645f, 0x5f656863,
73 0x73756c66, 0x00000068, 0x06004018, 0x05004018, 0x04006000, 0x05004018,
74 0x05004018, 0x04008000, 0x05004018, 0x00004018, 0x00000000, 0x00000000,
75 0x00000000, 0x7379735f, 0x6163645f, 0x5f656863, 0x73756c66, 0x00000068,
76 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x7379735f, 0x6163645f,
77 0x5f656863, 0x73756c66, 0x00000068, 0x06004018, 0x06004018, 0x01000000,
78 0x7379735f, 0x6163695f, 0x5f656863, 0x61766e69, 0x6164696c, 0x00006574,
79 0x06004018, 0x05004018, 0x04006000, 0x05004018, 0x05004018, 0x04008000,
80 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000, 0x7379735f,
81 0x6163695f, 0x5f656863, 0x61766e69, 0x6164696c, 0x775f6574, 0x70706172,
82 0x00007265, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x7379735f,
83 0x6163695f, 0x5f656863, 0x61766e69, 0x6164696c, 0x00006574, 0x06004018,
84 0x06004018, 0x01000000, 0x6874705f, 0x64616572, 0x6c65735f, 0x00000066,
85 0x06004018, 0x02004018, 0x8085ffff, 0x02004018, 0x2000804e, 0x06004018,
86 0x00000000, 0x6874705f, 0x64616572, 0x6c65735f, 0x00000066, 0x06004018,
87 0x06004018, 0x01000000, 0x657a625f, 0x00006f72, 0x06004018, 0x05004018,
88 0x04006000, 0x05004018, 0x05004018, 0x04008000, 0x05004018, 0x00004018,
89 0x00000000, 0x00000000, 0x00000000, 0x657a625f, 0x00006f72, 0x00004018,
90 0x2000804e, 0x06004018, 0x00000000, 0x657a625f, 0x00006f72, 0x06004018,
91 0x06004018, 0x01000000, 0x6f63625f, 0x00007970, 0x06004018, 0x05004018,
92 0x04006000, 0x05004018, 0x05004018, 0x04008000, 0x05004018, 0x05004018,
93 0x0400a000, 0x05004018, 0x00004018, 0x00000000, 0x00000000, 0x00000000,
94 0x6f63625f, 0x00007970, 0x00004018, 0x2000804e, 0x06004018, 0x00000000,
95 0x6f63625f, 0x00007970, 0x06004018, 0x06004018, 0x01000000, 0x6d656d5f,
96 0x65766f6d, 0x00000000, 0x06004018, 0x05004018, 0x04006000, 0x05004018,
97 0x05004018, 0x04008000, 0x05004018, 0x05004018, 0x0400a000, 0x05004018,
98 0x00004018, 0x00000000, 0x00000000, 0x00000000, 0x6d656d5f, 0x65766f6d,
99 0x00000000, 0x00004018, 0x2000804e, 0x06004018, 0x00000000, 0x6d656d5f,
100 0x65766f6d, 0x00000000, 0x06004018, 0x06004018, 0x01000000, 0x6e616e5f,
101 0x6d69746f, 0x00000065, 0x06004018, 0x00004018, 0x04006000, 0x00000000,
102 0x00000000, 0x6e616e5f, 0x6d69746f, 0x69685f65, 0x00006867, 0x00004018,
103 0x00004018, 0x04008000, 0x00000000, 0x00000000, 0x6e616e5f, 0x6d69746f,
104 0x6f6c5f65, 0x00000077, 0x00004018, 0x2000804e, 0x06004018, 0x00000000,
105 0x6e616e5f, 0x6d69746f, 0x00000065, 0x06004018, 0x06004018, 0x01000000,
106 0x6a626f5f, 0x736d5f63, 0x6e655367, 0x00000064, 0x06004018, 0x00004018,
107 0x00000000, 0x00000400, 0x00000000, 0x6a626f5f, 0x736d5f63, 0x6e655367,
108 0x00000064, 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f, 0x736d5f63,
109 0x6e655367, 0x00000064, 0x06004018, 0x06004018, 0x01000000, 0x6a626f5f,
110 0x73615f63, 0x6e676973, 0x6176695f, 0x00000072, 0x06004018, 0x00004018,
111 0x00000000, 0x00000400, 0x00000000, 0x6a626f5f, 0x73615f63, 0x6e676973,
112 0x6176695f, 0x65675f72, 0x6972656e, 0x00000063, 0x00004018, 0x06004018,
113 0x00000000, 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6176695f, 0x00000072,
114 0x06004018, 0x06004018, 0x01000000, 0x6a626f5f, 0x73615f63, 0x6e676973,
115 0x6f6c675f, 0x006c6162, 0x06004018, 0x00004018, 0x00000000, 0x00000400,
116 0x00000000, 0x6a626f5f, 0x73615f63, 0x6e676973, 0x6f6c675f, 0x5f6c6162,
117 0x656e6567, 0x00636972, 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f,
118 0x73615f63, 0x6e676973, 0x6f6c675f, 0x006c6162, 0x06004018, 0x06004018,
119 0x01000000, 0x6a626f5f, 0x73615f63, 0x6e676973, 0x7274735f, 0x43676e6f,
120 0x00747361, 0x06004018, 0x00004018, 0x00000000, 0x00000400, 0x00000000,
121 0x6a626f5f, 0x73615f63, 0x6e676973, 0x7274735f, 0x43676e6f, 0x5f747361,
122 0x656e6567, 0x00636972, 0x00004018, 0x06004018, 0x00000000, 0x6a626f5f,
123 0x73615f63, 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 0xae3aff4b, 0x3e3aff4b, 0xce39ff4b, 0x7239ff4b, 0x0230ff4b, 0x5e32ff4b,
131 0xb232ff4b, 0x0e33ff4b, 0x4a33ff4b, 0x9a33ff4b, 0x3a34ff4b, 0xae34ff4b,
132 0x1635ff4b, 0x8235ff4b, 0xda35ff4b, 0x4e36ff4b, 0xd236ff4b, 0x6a37ff4b,
133 0xb237ff4b, 0x1238ff4b, 0x7e38ff4b, 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 };