From afe2e71c014e291b9915271d45c1fd933f2fa55f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 29 Mar 2026 07:21:08 +0100 Subject: util/nvmutil: better hexdump this is a more generic one that i implemented for "lottery.c" (which is really just a tester of my rset function in lib/rand.c) i could probably actually write a full hexdump program in libreboot-utils to be honest. Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/libreboot-utils/include/common.h') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index 6956adb1..abd153be 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -395,6 +395,7 @@ int dcat(const char *s, size_t n, */ unsigned short hextonum(char ch_s); +void spew_hex(const void *data, size_t len); void *mkrbuf(size_t n); void rset(void *buf, size_t n); void *mkrbuf(size_t n); @@ -406,7 +407,6 @@ size_t rsize(size_t n); void cmd_helper_dump(void); void print_mac_from_nvm(size_t partnum); -void hexdump(size_t partnum); /* Helper functions for command: swap */ -- cgit v1.2.1