Commit c89a446 ("[efi] Run at TPL_CALLBACK to protect against UEFI timers") introduced a regression in the EFI entropy gathering code. When the EFI_RNG_PROTOCOL is not present, we fall back to using timer interrupts (as for the BIOS build). Since timer interrupts are disabled at TPL_CALLBACK, WaitForEvent() fails and no entropy can be gathered. Fix by dropping to TPL_APPLICATION while entropy gathering is enabled. Reported-by: Andreas Hammarskjöld <junior@2PintSoftware.com> Tested-by: Andreas Hammarskjöld <junior@2PintSoftware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 79 |
|
79 |
|
| 80 |
|
80 |
|
| 81 |
|
81 |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
| 82 |
|
85 |
|
| 83 |
|
86 |
|
| 84 |
|
87 |
|
|
|
||
| 100 |
|
103 |
|
| 101 |
|
104 |
|
| 102 |
|
105 |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
| 103 |
|
109 |
|
| 104 |
|
110 |
|
| 105 |
|
111 |
|