Some EFI 1.10 systems (observed on an Apple iMac) do not allow us to open the device path protocol with an attribute of EFI_OPEN_PROTOCOL_BY_DRIVER and so we cannot maintain a safe, long-lived pointer to the device path. Work around this by instead opening the device path protocol with an attribute of EFI_OPEN_PROTOCOL_GET_PROTOCOL whenever we need to use it. Debugged-by: Curtis Larsen <larsen@dixie.edu> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
389 |
|
389 |
|
390 |
|
390 |
|
391 |
|
391 |
|
392 |
|
|
|
393 |
|
392 |
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
394 |
|
398 |
|
395 |
|
399 |
|
396 |
|
400 |
|
397 |
|
401 |
|
398 |
|
402 |
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
399 |
|
416 |
|
400 |
|
417 |
|
401 |
|
418 |
|
|
419 |
|
|
402 |
|
420 |
|
403 |
|
421 |
|
404 |
|
|
|
|
422 |
|
|
405 |
|
423 |
|
406 |
|
424 |
|
407 |
|
425 |
|
408 |
|
426 |
|
409 |
|
427 |
|
410 |
|
428 |
|
411 |
|
|
|
|
429 |
|
|
412 |
|
430 |
|
413 |
|
431 |
|
414 |
|
432 |
|
415 |
|
433 |
|
416 |
|
434 |
|
417 |
|
435 |
|
418 |
|
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
|
|
|
439 |
|
|
|
440 |
|
|
|
441 |
|
|
419 |
|
442 |
|
420 |
|
443 |
|
421 |
|
444 |
|
|
|
||
167 |
|
167 |
|
168 |
|
168 |
|
169 |
|
169 |
|
170 |
|
|
|
|
170 |
|
|
171 |
|
171 |
|
172 |
|
172 |
|
173 |
|
173 |
|
|
|
||
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
21 |
|
22 |
|
|
|
23 |
|
|
|
24 |
|
22 |
|
25 |
|
23 |
|
26 |
|
24 |
|
|
|
||
66 |
|
66 |
|
67 |
|
67 |
|
68 |
|
68 |
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
|
69 |
|
|
|
70 |
|
|
75 |
|
71 |
|
76 |
|
72 |
|
77 |
|
73 |
|
|
|
||
208 |
|
208 |
|
209 |
|
209 |
|
210 |
|
210 |
|
211 |
|
|
|
212 |
|
211 |
|
213 |
|
212 |
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
213 |
|
219 |
|
214 |
|
220 |
|
215 |
|
|
|
||
244 |
|
239 |
|
245 |
|
240 |
|
246 |
|
241 |
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
242 |
|
264 |
|
243 |
|
265 |
|
244 |
|
|
|
||
282 |
|
261 |
|
283 |
|
262 |
|
284 |
|
263 |
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
|
264 |
|
289 |
|
265 |
|
290 |
|
266 |
|
|
|
||
306 |
|
282 |
|
307 |
|
283 |
|
308 |
|
284 |
|
309 |
|
|
|
310 |
|
285 |
|
311 |
|
286 |
|
312 |
|
287 |
|
|
|
||
331 |
|
306 |
|
332 |
|
307 |
|
333 |
|
308 |
|
334 |
|
|
|
335 |
|
|
|
336 |
|
309 |
|
337 |
|
310 |
|
338 |
|
311 |
|
|
|
||
909 |
|
909 |
|
910 |
|
910 |
|
911 |
|
911 |
|
|
912 |
|
|
|
913 |
|
|
|
914 |
|
|
|
915 |
|
|
912 |
|
916 |
|
913 |
|
917 |
|
914 |
|
918 |
|
|
|
||
923 |
|
927 |
|
924 |
|
928 |
|
925 |
|
929 |
|
926 |
|
|
|
927 |
|
|
|
928 |
|
|
|
929 |
|
|
|
930 |
|
|
|
931 |
|
930 |
|
932 |
|
|
|
933 |
|
|
|
|
931 |
|
|
934 |
|
932 |
|
935 |
|
933 |
|
936 |
|
934 |
|
|
|
||
993 |
|
991 |
|
994 |
|
992 |
|
995 |
|
993 |
|
|
994 |
|
|
|
995 |
|
|
|
996 |
|
|
|
997 |
|
|
|
998 |
|
|
|
999 |
|
|
|
1000 |
|
|
|
1001 |
|
|
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
|
|
|
1005 |
|
|
|
1006 |
|
|
|
1007 |
|
|
|
1008 |
|
|
|
1009 |
|
|
|
1010 |
|
|
|
1011 |
|
|
|
1012 |
|
|
|
1013 |
|
|
|
1014 |
|
|
|
1015 |
|
|
|
1016 |
|
|
996 |
|
1017 |
|
997 |
|
|
|
998 |
|
|
|
|
1018 |
|
|
|
1019 |
|
|
999 |
|
1020 |
|
1000 |
|
1021 |
|
1001 |
|
1022 |
|
|
|
||
1013 |
|
1034 |
|
1014 |
|
1035 |
|
1015 |
|
1036 |
|
1016 |
|
|
|
|
1037 |
|
|
1017 |
|
1038 |
|
1018 |
|
1039 |
|
1019 |
|
1040 |
|
|
|
||
1046 |
|
1067 |
|
1047 |
|
1068 |
|
1048 |
|
1069 |
|
|
1070 |
|
|
|
1071 |
|
|
|
1072 |
|
|
|
1073 |
|
|
1049 |
|
1074 |
|
1050 |
|
1075 |
|
1051 |
|
1076 |
|
|
|
||
1058 |
|
1083 |
|
1059 |
|
1084 |
|
1060 |
|
1085 |
|
1061 |
|
|
|
|
1086 |
|
|
1062 |
|
1087 |
|
1063 |
|
1088 |
|
1064 |
|
1089 |
|
1065 |
|
1090 |
|
1066 |
|
1091 |
|
1067 |
|
1092 |
|
|
1093 |
|
|
|
1094 |
|
|
|
1095 |
|
|
|
1096 |
|
|
|
1097 |
|
|
1068 |
|
1098 |
|
1069 |
|
1099 |
|
1070 |
|
1100 |
|
|
|
||
1124 |
|
1154 |
|
1125 |
|
1155 |
|
1126 |
|
1156 |
|
1127 |
|
|
|
|
1157 |
|
|
1128 |
|
1158 |
|
1129 |
|
1159 |
|
1130 |
|
1160 |
|
1131 |
|
1161 |
|
1132 |
|
1162 |
|
|
1163 |
|
|
1133 |
|
1164 |
|
1134 |
|
1165 |
|
1135 |
|
1166 |
|