mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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 <leah@libreboot.org>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user