coreboot-kgpe-d16/util/nvramtool
Stefan Reinauer a7b296d450 Fix warnings in coreboot utilities.
- Fix some poor programming practice (breaks of strict aliasing as well
  as not checking the return value of read)
- Use PRIx64 instead of %llx to prevent compilation warnings with both
  32bit and 64bit compilers
- Use same compiler command options when linking inteltool and when
  detecting libpci for inteltool

Change-Id: I08b2e8d1bbc908f6b1f26d25cb3a4b03d818e124
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/752
Tested-by: build bot (Jenkins)
Reviewed-by: Mathias Krause <minipli@googlemail.com>
2012-03-30 20:26:50 +02:00
..
accessors remove trailing whitespace 2011-11-01 19:07:45 +01:00
cli Fix warnings in coreboot utilities. 2012-03-30 20:26:50 +02:00
COPYING
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 DirectHW fixes for coreboot utilities 2011-03-18 22:08:39 +00:00
README Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
cbfs.c Add nvramtool -C option that takes a CBFS file as argument. 2011-01-21 07:24:08 +00:00
cbfs.h Add nvramtool -C option that takes a CBFS file as argument. 2011-01-21 07:24:08 +00:00
cmos_lowlevel.c Move CMOS handling into separate files in accessors 2011-01-28 07:54:11 +00:00
cmos_lowlevel.h Move CMOS handling into separate files in accessors 2011-01-28 07:54:11 +00:00
cmos_ops.c nvramtool: Fix CMOS checksum to match coreboot (and /dev/nvram) 2011-10-22 10:33:26 +02:00
cmos_ops.h indent all of nvramtool to make it fit into coreboot's 2010-01-13 21:00:23 +00:00
common.c Add nvramtool -D option that allows taking cmos data from 2011-01-21 07:29:40 +00:00
common.h Move CMOS handling into separate files in accessors 2011-01-28 07:54:11 +00:00
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 Eliminate a couple of 3-line functions that barely wrap *printf calls 2011-01-28 07:41:10 +00:00
hexdump.h Remove overengineering, part 1/many 2011-01-18 12:14:08 +00:00
input_file.c No need to add varargs magic to a simple regex wrapper. 2011-01-28 07:40:08 +00:00
input_file.h indent all of nvramtool to make it fit into coreboot's 2010-01-13 21:00:23 +00:00
ip_checksum.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
layout.c indent all of nvramtool to make it fit into coreboot's 2010-01-13 21:00:23 +00:00
layout.h indent all of nvramtool to make it fit into coreboot's 2010-01-13 21:00:23 +00:00
lbtable.c nvramtool: Move code so it has access to the right data structures 2011-03-10 07:52:02 +00:00
lbtable.h nvramtool: Move code so it has access to the right data structures 2011-03-10 07:52:02 +00:00
nvramtool.spec nvramtool: 2009-09-01 09:54:21 +00:00
reg_expr.c No need to add varargs magic to a simple regex wrapper. 2011-01-28 07:40:08 +00:00
reg_expr.h No need to add varargs magic to a simple regex wrapper. 2011-01-28 07:40:08 +00:00

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.