-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathboot.c
135 lines (135 loc) · 5.21 KB
/
boot.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#define boot_len 1052
static const unsigned char boot_data[] = {
0x42,0x4F,0x52,0x32,0x0,0x0,0x2,0x8E,
0x0,0x0,0x0,0x26,0x17,0x30,0xF,0x0,
0x0,0xD,0x0,0x1,0xD,0x0,0x2,0x17,
0x1,0x0,0x8F,0x0,0x3,0x10,0x0,0x4,
0xF,0x0,0x5,0xD,0x0,0x6,0xF,0x0,
0x7,0xD,0x0,0x8,0x8F,0x0,0x9,0x10,
0x0,0xA,0x8F,0x0,0xB,0x10,0x0,0xC,
0x8F,0x0,0xD,0x10,0x0,0xE,0x8F,0x0,
0xF,0xD,0x0,0x10,0x17,0x2,0x0,0x17,
0x3,0x0,0x8F,0x0,0x11,0xD,0x0,0x10,
0x17,0x4,0x0,0x17,0x5,0x0,0x8F,0x0,
0x12,0xD,0x0,0x10,0x17,0x6,0x0,0x17,
0x7,0x0,0x8F,0x0,0x13,0xD,0x0,0x10,
0x17,0x8,0x0,0x17,0x9,0x0,0x8F,0x0,
0x14,0xD,0x0,0x10,0x17,0xA,0x0,0x17,
0xB,0x0,0x8F,0x0,0x15,0xD,0x0,0x10,
0x17,0xC,0x0,0x17,0xD,0x0,0x8F,0x0,
0x16,0xD,0x0,0x10,0x17,0xE,0x0,0x17,
0xF,0x0,0x8F,0x0,0x17,0xD,0x0,0x10,
0x17,0x10,0x0,0x17,0x11,0x0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0x0,0x40,0x41,
0xD,0x0,0x40,0x42,0x17,0x2,0xD,0x0,
0x40,0x41,0xD,0x0,0x40,0x42,0x65,0x6E,
0x76,0x69,0x72,0x6F,0x6E,0x73,0x20,0x6D,
0x61,0x6B,0x65,0x20,0x63,0x6F,0x6E,0x74,
0x65,0x78,0x74,0x21,0x20,0x71,0x20,0x71,
0x75,0x69,0x74,0x20,0x79,0x65,0x73,0x20,
0x74,0x72,0x75,0x65,0x20,0x6E,0x6F,0x20,
0x66,0x61,0x6C,0x73,0x65,0x20,0x65,0x71,
0x3F,0x20,0x65,0x71,0x75,0x61,0x6C,0x3F,
0x20,0x74,0x61,0x69,0x6C,0x3F,0x20,0x65,
0x6D,0x70,0x74,0x79,0x3F,0x20,0x63,0x6C,
0x6F,0x73,0x65,0x20,0x66,0x72,0x65,0x65,
0x20,0x63,0x6F,0x6E,0x74,0x65,0x78,0x74,
0x20,0x66,0x75,0x6E,0x63,0x20,0x63,0x68,
0x61,0x72,0x73,0x65,0x74,0x20,0x65,0x72,
0x72,0x6F,0x72,0x20,0x6A,0x6F,0x69,0x6E,
0x20,0x72,0x65,0x6A,0x6F,0x69,0x6E,0x20,
0x72,0x65,0x70,0x6C,0x61,0x63,0x65,0x20,
0x73,0x70,0x6C,0x69,0x74,0x2D,0x70,0x61,
0x74,0x68,0x20,0x74,0x65,0x72,0x6D,0x2D,
0x64,0x69,0x72,0x20,0x76,0x65,0x72,0x73,
0x69,0x6F,0x6E,0x20,0x6F,0x73,0x20,0x61,
0x72,0x63,0x68,0x20,0x62,0x69,0x67,0x2D,
0x65,0x6E,0x64,0x69,0x61,0x6E,0x20,0x6E,
0x6F,0x6E,0x65,0x20,0x62,0x20,0x62,0x6C,
0x6F,0x63,0x6B,0x21,0x20,0x73,0x20,0x63,
0x6F,0x6E,0x73,0x74,0x72,0x75,0x63,0x74,
0x20,0x62,0x69,0x74,0x73,0x65,0x74,0x21,
0x20,0x73,0x74,0x72,0x69,0x6E,0x67,0x21,
0x20,0x6E,0x6F,0x2D,0x74,0x72,0x61,0x63,
0x65,0x20,0x74,0x68,0x72,0x6F,0x77,0x20,
0x65,0x72,0x72,0x6F,0x72,0x21,0x20,0x61,
0x20,0x65,0x69,0x74,0x68,0x65,0x72,0x20,
0x73,0x65,0x72,0x69,0x65,0x73,0x3F,0x20,
0x61,0x70,0x70,0x65,0x6E,0x64,0x20,0x72,
0x65,0x64,0x75,0x63,0x65,0x20,0x69,0x66,
0x20,0x66,0x69,0x72,0x73,0x74,0x20,0x6E,
0x65,0x78,0x74,0x20,0x73,0x65,0x72,0x69,
0x65,0x73,0x20,0x70,0x61,0x74,0x20,0x72,
0x65,0x70,0x20,0x61,0x6C,0x6C,0x20,0x73,
0x69,0x7A,0x65,0x20,0x70,0x61,0x74,0x68,
0x20,0x65,0x6E,0x64,0x20,0x63,0x6F,0x70,
0x79,0x20,0x74,0x6F,0x2D,0x74,0x65,0x78,
0x74,0x20,0x72,0x65,0x74,0x75,0x72,0x6E,
0x20,0x73,0x69,0x7A,0x65,0x3F,0x20,0x66,
0x20,0x77,0x68,0x69,0x6C,0x65,0x20,0x66,
0x69,0x6E,0x64,0x20,0x6C,0x61,0x73,0x74,
0x20,0x2B,0x2B,0x20,0x74,0x65,0x72,0x6D,
0x69,0x6E,0x61,0x74,0x65,0x20,0x64,0x69,
0x72,0x20,0x73,0x6C,0x69,0x63,0x65,0x20,
0x63,0x68,0x61,0x6E,0x67,0x65,0x20,0x70,
0x61,0x72,0x74,0x0,
};