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>
This commit is contained in:
Leah Rowe
2026-03-09 07:03:55 +00:00
parent f266e2a16c
commit 4fd6bdc4ef

View File

@@ -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
*/