diff options
| author | Peter Jones <pjones@redhat.com> | 2025-02-25 10:41:41 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-02-25 19:40:54 -0500 |
| commit | 1baf1efb37e2728104765477b12b70aeef3090af (patch) | |
| tree | 9a490ca83370727ae9e8eb44c098fdfcff4cb91a /include/memattrs.h | |
| parent | c868d54def8cebd151964fdeaa8257932b8cfc39 (diff) | |
| download | efi-boot-shim-1baf1efb37e2728104765477b12b70aeef3090af.tar.gz efi-boot-shim-1baf1efb37e2728104765477b12b70aeef3090af.zip | |
HSI: Add decode_hsi_bits() for easier reading of the debug log
This changes all the HSI bitfield operations to print a string showing
the change instead of just hex values.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/memattrs.h')
| -rw-r--r-- | include/memattrs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/memattrs.h b/include/memattrs.h index 5c40b4cc..193da988 100644 --- a/include/memattrs.h +++ b/include/memattrs.h @@ -12,6 +12,7 @@ extern EFI_STATUS update_mem_attrs(uintptr_t addr, uint64_t size, uint64_t set_attrs, uint64_t clear_attrs); extern void get_hsi_mem_info(void); +extern char *decode_hsi_bits(UINTN hsi); #endif /* !SHIM_MEMATTRS_H_ */ // vim:fenc=utf-8:tw=75:noet |
