summaryrefslogtreecommitdiff
path: root/include/memattrs.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2025-02-25 10:41:41 -0500
committerPeter Jones <pjones@redhat.com>2025-02-25 19:40:54 -0500
commit1baf1efb37e2728104765477b12b70aeef3090af (patch)
tree9a490ca83370727ae9e8eb44c098fdfcff4cb91a /include/memattrs.h
parentc868d54def8cebd151964fdeaa8257932b8cfc39 (diff)
downloadefi-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.h1
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