diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-09 07:03:55 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-09 07:03:55 +0000 |
| commit | 4fd6bdc4ef2cb5f38fe0e3af2af8a758fb403a35 (patch) | |
| tree | 577d768470ba4c17a8429403b153438f99fb1cfa | |
| parent | f266e2a16c1b70eaa51ab13e4d3c5578d6c965a2 (diff) | |
util/nvmutil: say what the program does!
and with this, i'm probably done for a while
i've obsessively audited this code for a week
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index b8ea2376..5e380258 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -3,9 +3,15 @@ /* Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com> */ /* - * Written for portability among the Unices (Linux, BSD etc) + * This tool lets you modify Intel GbE NVM (Gigabit Ethernet + * Non-Volatile Memory) images, e.g. change the MAC address. + * These images configure your Intel Gigabit Ethernet adapter. + * + * This code is designed to be portable, running on as many + * Unix and Unix-like systems as possible (mainly BSD/Linux). + * + * Recommended CFLAGS for Clang/GCC: * - * Use these CFLAGS: * -Os -Wall -Wextra -Werror -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L */ |
