Commit ae835a9
committed
x86/efistub: Revert to heap allocated boot_params for PE entrypoint
This is a partial revert of commit
8117961 ("x86/efi: Disregard setup header of loaded image")
which triggers boot issues on older Dell laptops. As it turns out,
switching back to a heap allocation for the struct boot_params
constructed by the EFI stub works around this, even though it is unclear
why.
Cc: Christian Heusel <[email protected]>
Reported-by: <mavrix#[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>1 parent ee8b8f5 commit ae835a9
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
538 | | - | |
539 | 537 | | |
| 538 | + | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| |||
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
556 | 564 | | |
557 | 565 | | |
558 | 566 | | |
| |||
562 | 570 | | |
563 | 571 | | |
564 | 572 | | |
565 | | - | |
| 573 | + | |
| 574 | + | |
566 | 575 | | |
| 576 | + | |
567 | 577 | | |
568 | 578 | | |
569 | | - | |
| 579 | + | |
570 | 580 | | |
571 | | - | |
| 581 | + | |
572 | 582 | | |
573 | 583 | | |
574 | 584 | | |
| |||
0 commit comments