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
.gitignore
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 Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
cbfs.c util/nvramtool: Remove "this file is part of" lines 2020-05-11 17:11:06 +00:00
cbfs.h
cmos_lowlevel.c
cmos_lowlevel.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
cmos_ops.c
cmos_ops.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
common.c
common.h util: Use SPDX headers 2020-05-11 19:38:40 +00:00
compute_ip_checksum.c
coreboot_tables.h
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
hexdump.c util: Use SPDX headers 2020-05-11 19:38:40 +00:00
hexdump.h
input_file.c
input_file.h
ip_checksum.h
layout.c
layout.h
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
reg_expr.h
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.