coreboot-kgpe-d16/util/nvramtool
Nico Huber 3af6985050 util/nvramtool: Bail out on unaligned multi-byte entries
coreboot doesn't support CMOS options that are not byte aligned but
span multiple bytes. So treat them as error.

Change-Id: I2bcff62f153932e9c6646b4ce08e8da1c1532947
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/18246
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2017-06-06 19:31:38 +02:00
..
accessors util/nvramtool: Bail out on unaligned multi-byte entries 2017-06-06 19:31:38 +02:00
cli nvramtool: Don't consider reserved regions to be "out of range" 2016-07-31 19:07:43 +02:00
COPYING
ChangeLog
DISCLAIMER
Makefile
Makefile.inc
README
cbfs.c
cbfs.h
cmos_lowlevel.c
cmos_lowlevel.h
cmos_ops.c nvramtool: Print computed and stored checksum in case of mismatch. 2016-02-26 07:02:01 +01:00
cmos_ops.h
common.c
common.h
compute_ip_checksum.c
coreboot_tables.h
hexdump.c
hexdump.h
input_file.c
input_file.h
ip_checksum.h
layout.c util/nvramtool: Bail out on unaligned multi-byte entries 2017-06-06 19:31:38 +02:00
layout.h util/nvramtool: Bail out on unaligned multi-byte entries 2017-06-06 19:31:38 +02:00
lbtable.c
lbtable.h
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 http://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.