coreboot-kgpe-d16/util/msrtool
Peter Stuge cba6169515 msrtool: Read both MSR values from file in diff mode
Previously, msrtool would assume that MSR values should be compared
between stored value in file and current value in hardware which msrtool
was running on. This does not always fit the use case and with this
change msrtool can now compare two sets of MSR values stored in a file.
If only one MSR value is stored in the file, msrtool will behave as
before, and read the second MSR value from hardware.

This change means that msrtool does not always need access to the system
MSR functions so it can now be run as a regular user when using diff
mode with both MSR values stored in the file.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5033 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-01-17 18:34:00 +00:00
..
configure msrtool: Fix simple breakage in r4964 2009-11-28 05:30:57 +00:00
COPYING msrtool: Release Candidate 1 2008-11-22 17:13:36 +00:00
cs5536.c msrtool: CS5536: The most important interrupt MSRs and some DIVIL MSRs. 2009-07-10 03:10:26 +00:00
darwin.c msrtool: Add comment with DirectIO URL to the code where it is used. 2009-11-16 17:29:22 +00:00
freebsd.c msrtool: Add FreeBSD support using /dev/cpuctl ioctl interface 2009-11-28 05:21:42 +00:00
geodegx2.c (missing svn add) 2010-01-15 10:07:05 +00:00
geodelx.c Remove commented out example MSR definitions 2009-11-26 14:03:25 +00:00
k8.c Remove commented out example MSR definitions 2009-11-26 14:03:25 +00:00
linux.c msrtool: Linux /dev/cpu/*/msr returns the low 32 bits before the high 32 bits. 2009-01-26 17:03:05 +00:00
Makefile.in Support for the AMD Geode GX2 2010-01-15 10:06:39 +00:00
msrtool.c msrtool: Read both MSR values from file in diff mode 2010-01-17 18:34:00 +00:00
msrtool.h msrtool: Add endptr to str2msr() showing how many characters were parsed 2010-01-17 18:33:53 +00:00
msrutils.c msrtool: Add endptr to str2msr() showing how many characters were parsed 2010-01-17 18:33:53 +00:00
sys.c port msrtool to darwin. 2009-09-01 10:03:01 +00:00
TODO msrtool: Use libpci to let system and target probes find PCI devices. 2008-11-25 02:03:16 +00:00