Add yet another ugly hack to iscsiboot.c, this time to allow the user to inhibit the shutdown/removal of the iSCSI INT13 device (and the network devices, since they are required for the iSCSI device to function). On the plus side, the fact that shutdown() now takes flags to differentiate between shutdown-for-exit and shutdown-for-boot means that another ugly hack (to allow returning via the PXE stack on BIOSes that have broken INT 18 calls) will be easier. I feel dirty.tags/v0.9.4
|
||
128 | 128 |
|
129 | 129 |
|
130 | 130 |
|
131 |
|
|
131 |
|
|
132 | 132 |
|
133 | 133 |
|
134 | 134 |
|
|
||
348 | 348 |
|
349 | 349 |
|
350 | 350 |
|
351 |
|
|
351 |
|
|
352 | 352 |
|
353 | 353 |
|
354 | 354 |
|
|
||
46 | 46 |
|
47 | 47 |
|
48 | 48 |
|
49 |
|
|
49 |
|
|
50 | 50 |
|
51 | 51 |
|
52 | 52 |
|
|
||
277 | 277 |
|
278 | 278 |
|
279 | 279 |
|
280 |
|
|
280 |
|
|
281 | 281 |
|
282 | 282 |
|
283 | 283 |
|
|
||
429 | 429 |
|
430 | 430 |
|
431 | 431 |
|
432 |
|
|
432 |
|
|
433 | 433 |
|
434 | 434 |
|
435 | 435 |
|
|
||
205 | 205 |
|
206 | 206 |
|
207 | 207 |
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
|
|
214 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
|
||
68 | 69 |
|
69 | 70 |
|
70 | 71 |
|
71 |
|
|
72 |
|
|
73 | 72 |
|
74 | 73 |
|
75 | 74 |
|
76 | 75 |
|
77 |
|
|
76 |
|
|
78 | 77 |
|
79 | 78 |
|
80 | 79 |
|
|
||
84 | 83 |
|
85 | 84 |
|
86 | 85 |
|
87 |
|
|
88 | 86 |
|
89 | 87 |
|
90 | 88 |
|
91 | 89 |
|
92 | 90 |
|
93 | 91 |
|
94 |
|
|
92 |
|
|
95 | 93 |
|
96 | 94 |
|
97 | 95 |
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
98 | 101 |
|
99 | 102 |
|
100 | 103 |
|
101 | 104 |
|
102 | 105 |
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
||
79 | 79 |
|
80 | 80 |
|
81 | 81 |
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 | 82 |
|
88 | 83 |
|
89 | 84 |
|
90 | 85 |
|
91 | 86 |
|
92 | 87 |
|
88 |
|
|
89 |
|
|
93 | 90 |
|
94 | 91 |
|
95 | 92 |
|
|
||
97 | 94 |
|
98 | 95 |
|
99 | 96 |
|
100 |
|
|
97 |
|
|
101 | 98 |
|
102 | 99 |
|
103 | 100 |
|
104 | 101 |
|
105 | 102 |
|
106 |
|
|
107 |
|
|
108 |
|
|
109 | 103 |
|
110 | 104 |
|
111 | 105 |
|
112 | 106 |
|
113 |
|
|
107 |
|
|
114 | 108 |
|
115 | 109 |
|
116 | 110 |
|
|
||
62 | 62 |
|
63 | 63 |
|
64 | 64 |
|
65 |
|
|
65 |
|
|
66 | 66 |
|
67 | 67 |
|
68 | 68 |
|
|
||
224 | 224 |
|
225 | 225 |
|
226 | 226 |
|
227 |
|
|
227 |
|
|
228 | 228 |
|
229 | 229 |
|
230 | 230 |
|
|
||
247 | 247 |
|
248 | 248 |
|
249 | 249 |
|
250 |
|
|
250 |
|
|
251 | 251 |
|
252 | 252 |
|
|
||
105 | 105 |
|
106 | 106 |
|
107 | 107 |
|
108 |
|
|
109 |
|
|
110 |
|
|
111 | 108 |
|
|
||
164 | 164 |
|
165 | 165 |
|
166 | 166 |
|
167 |
|
|
167 |
|
|
168 | 168 |
|
169 | 169 |
|
170 | 170 |
|
|
||
172 | 172 |
|
173 | 173 |
|
174 | 174 |
|
175 |
|
|
175 |
|
|
176 | 176 |
|
177 | 177 |
|
178 | 178 |
|
|
||
180 | 180 |
|
181 | 181 |
|
182 | 182 |
|
183 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
184 | 193 |
|
185 | 194 |
|
186 | 195 |
|
|
||
155 | 155 |
|
156 | 156 |
|
157 | 157 |
|
158 |
|
|
158 | 159 |
|
159 | 160 |
|
160 | 161 |
|
|
||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
31 | 41 |
|
32 | 42 |
|
33 | 43 |
|
|
||
36 | 46 |
|
37 | 47 |
|
38 | 48 |
|
39 |
|
|
49 |
|
|
40 | 50 |
|
41 | 51 |
|
42 | 52 |
|
|
||
58 | 68 |
|
59 | 69 |
|
60 | 70 |
|
61 |
|
|
71 |
|
|
62 | 72 |
|
63 | 73 |
|
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
11 |
|
|
10 | 12 |
|
11 | 13 |
|
12 | 14 |
|
|
||
318 | 318 |
|
319 | 319 |
|
320 | 320 |
|
321 |
|
|
321 |
|
|
322 | 322 |
|
323 | 323 |
|
324 | 324 |
|
|
||
41 | 41 |
|
42 | 42 |
|
43 | 43 |
|
44 |
|
|
45 |
|
|
46 |
|
|
44 | 47 |
|
45 | 48 |
|
46 | 49 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 | 4 |
|
5 |
|
|
4 | 6 |
|
5 | 7 |
|
8 |
|
|
6 | 9 |
|
7 | 10 |
|
11 |
|
|
8 | 12 |
|
13 |
|
|
9 | 14 |
|
10 | 15 |
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
11 | 23 |
|
12 | 24 |
|
13 | 25 |
|
|
||
25 | 37 |
|
26 | 38 |
|
27 | 39 |
|
28 |
|
|
29 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
30 | 43 |
|
31 | 44 |
|
32 |
|
|
33 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
34 | 55 |
|
35 | 56 |
|
36 | 57 |
|
37 |
|
|
58 |
|
|
38 | 59 |
|
39 | 60 |
|
40 |
|
|
61 |
|
|
41 | 62 |
|
42 |
|
|
63 |
|
|
43 | 64 |
|
44 | 65 |
|
45 |
|
|
66 |
|
|
46 | 67 |
|
47 | 68 |
|
48 |
|
|
69 |
|
|
49 | 70 |
|
50 | 71 |
|
51 | 72 |
|
52 | 73 |
|
53 |
|
|
74 |
|
|
54 | 75 |
|
55 | 76 |
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
60 | 81 |
|
61 | 82 |
|
62 |
|
|
63 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
64 | 93 |
|
65 |
|
|
66 |
|
|
67 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
68 | 101 |
|
69 | 102 |
|