coreboot-kgpe-d16/util/nvramtool
Patrick Georgi 59ab4e99ee nvramtool: make sure that strings are 0-terminated
The call site expects them to be.

Change-Id: Ic05fc5831f5743d94fe617dfb3b9e329f01866d1
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7621
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-12-02 11:02:17 +01:00
..
accessors nvramtool: write size field more obviously 2013-11-19 00:59:55 +01:00
cli nvramtool: check for successful seek 2014-08-10 08:20:09 +02:00
COPYING Rename lxbios to nvramtool, step 3 (rename directory). 2008-03-01 19:09:01 +00:00
ChangeLog Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
DISCLAIMER fix some wrong occurences of the FSF's address (trivial) 2009-09-23 21:53:25 +00:00
Makefile utils: Install man pages as non-executable (chmod 644) 2014-01-31 20:14:58 +01:00
Makefile.inc
README
cbfs.c nvramtool: Close file after use 2014-08-03 15:19:27 +02:00
cbfs.h
cmos_lowlevel.c nvramtool: make sure that strings are 0-terminated 2014-12-02 11:02:17 +01:00
cmos_lowlevel.h
cmos_ops.c nvramtool: plug some memory leaks 2014-08-12 22:15:20 +02:00
cmos_ops.h
common.c
common.h
compute_ip_checksum.c indent all of nvramtool to make it fit into coreboot's 2010-01-13 21:00:23 +00:00
coreboot_tables.h Eliminate strict aliasing related warnings. 2011-01-18 12:12:47 +00:00
hexdump.c
hexdump.h
input_file.c
input_file.h
ip_checksum.h
layout.c
layout.h nvramtool: Unify nvramtool and build_opt_tbl 2012-04-21 09:36:24 +02:00
lbtable.c nvramtool: reduce memory mapping 2013-02-22 16:04:03 +01:00
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.