summaryrefslogtreecommitdiff
path: root/src/cpu/x86/cache/cache.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2010-01-17 18:34:00 +0000
committerPeter Stuge <peter@stuge.se>2010-01-17 18:34:00 +0000
commitcba6169515f56e0902650e332ad0eb3c894e8b0b (patch)
tree3bd10c6bc4af7b33c34f899e8b317ce7e2758a31 /src/cpu/x86/cache/cache.c
parent34f2907a1b969270e92281849cfdfc43c343799c (diff)
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
Diffstat (limited to 'src/cpu/x86/cache/cache.c')
0 files changed, 0 insertions, 0 deletions