rhboot / shim

UEFI shim loader
Other
816 stars 284 forks source link

pe: Enhance debug report for update_mem_attrs #594

Open jongwu opened 11 months ago

jongwu commented 11 months ago

When memory attributes cannot be updated due to misalignment with 4K or when the size is 0, the debug printout lacks sufficient clarity to indicate the issue. To enhance troubleshooting, it is crucial to generate an error log that explicitly states the failure to execute the expected action. This error log will be visible even when the debug level log is not enabled, thereby significantly reducing debugging time.

jongwu commented 8 months ago

Hello @vathpela -, any comments?