iPXE does not call shutdown() before invoking a COMBOOT executable, since the executable is allowed to make API calls back into iPXE. If a background picture is used, then the console will not be restored to text mode before invoking the COMBOOT executable. This can cause undefined behaviour. Fix by adding an explicit call to console_reset() immediately before invoking a COMBOOT or COM32 executable, analogous to the call made to console_reset() immediately before invokving a PXE NBP. Debugged-by: Andrew Widdersheim <awiddersheim@inetu.net> Tested-by: Andrew Widdersheim <awiddersheim@inetu.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
|
43 |
|
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
|
|
||
281 |
|
282 |
|
282 |
|
283 |
|
283 |
|
284 |
|
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
284 |
|
288 |
|
285 |
|
289 |
|
286 |
|
290 |
|
|
|
||
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
|
43 |
|
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
|
|
||
316 |
|
317 |
|
317 |
|
318 |
|
318 |
|
319 |
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
319 |
|
323 |
|
320 |
|
324 |
|
321 |
|
325 |
|