From 1baf1efb37e2728104765477b12b70aeef3090af Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 25 Feb 2025 10:41:41 -0500 Subject: 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 --- include/memattrs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/memattrs.h') 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 -- cgit v1.2.3