coreboot-kgpe-d16/util/nvramtool
Jianjun Wang b2537bdad5 coreboot_tables: Replace 'struct lb_uint64' with lb_uint64_t
Replace 'struct lb_uint64' with 'typedef __aligned(4) uint64_t
lb_uint64_t', and remove unpack_lb64/pack_lb64 functions since it's no
longer needed.

Also replace 'struct cbuint64' with 'cb_uint64_t' and remove
'cb_unpack64' in libpayload for compatible with lb_uint64_t.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Change-Id: If6b037e4403a8000625f4a5fb8d20311fe76200a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63494
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-04-14 22:27:50 +00:00
..
accessors util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cli util: Use SPDX headers 2020-05-11 19:38:40 +00:00
.gitignore .gitignore: Ignore .test/.dependencies globally 2020-10-31 18:21:36 +00:00
COPYING
ChangeLog
DISCLAIMER util/nvramtool: Remove license boiler plate from DISCLAIMER file, too 2020-05-11 19:40:01 +00:00
Makefile util: Allow overriding gcc as default host compiler 2020-06-04 08:11:48 +00:00
Makefile.inc util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
README
cbfs.c util/nvramtool: Remove "this file is part of" lines 2020-05-11 17:11:06 +00:00
cbfs.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cmos_lowlevel.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cmos_lowlevel.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cmos_ops.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cmos_ops.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
common.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
common.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
compute_ip_checksum.c
coreboot_tables.h coreboot_tables: Replace 'struct lb_uint64' with lb_uint64_t 2022-04-14 22:27:50 +00:00
description.md
hexdump.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
hexdump.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
input_file.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
input_file.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
ip_checksum.h
layout.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
layout.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
lbtable.c coreboot_tables: Replace 'struct lb_uint64' with lb_uint64_t 2022-04-14 22:27:50 +00:00
lbtable.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
nvramtool.spec
reg_expr.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
reg_expr.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
win32mmap.c

README

Summary of Operation
--------------------
nvramtool is a utility for reading/writing coreboot parameters and
displaying information from the coreboot table.  It is intended for x86-based
systems (both 32-bit and 64-bit) that use coreboot.

The coreboot table resides in low physical memory, and may be accessed
through the /dev/mem interface.  It is created at boot time by coreboot, and
contains various system information such as the type of mainboard in use.  It
specifies locations in the CMOS (nonvolatile RAM) where the coreboot
parameters are stored.

For information about coreboot, see https://www.coreboot.org/.

Ideas for Future Improvements
-----------------------------
1.  Move the core functionality of this program into a shared library.
2.  Consider adding options for displaying other BIOS-provided information
    such as the MP table, ACPI table, PCI IRQ routing table, etc.