diff options
author | Peter Stuge <peter@stuge.se> | 2010-01-17 18:33:53 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2010-01-17 18:33:53 +0000 |
commit | 34f2907a1b969270e92281849cfdfc43c343799c (patch) | |
tree | ff4562be914b01b10e9fdda313f7d97d90140705 /targets/gigabyte | |
parent | 838c5a5d8019eff857dac21c24a2bca624fa3152 (diff) |
msrtool: Add endptr to str2msr() showing how many characters were parsed
This also introduces a small change in the user interface for immediate
mode (-i). Previously, whitespace could separate high and low words in
an MSR as such:
msrtool -i 4c00000f='f2f100ff 56960004'
That is no longer allowed, a space character now ends the MSR value. Any
other character can still be used as separator however, so the following
syntax still works as expected:
msrtool -i 4c00000f=f2f100ff:56960004
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5032 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/gigabyte')
0 files changed, 0 insertions, 0 deletions