diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-04-10 21:05:56 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-04-10 21:05:56 +0000 |
commit | 708ccac6ee466a4884348771ee54a4f38c8c1535 (patch) | |
tree | ae6da01732aafd3d1b1bc975da1d7c277961d677 /util/msrtool | |
parent | cd2cbf7200f7183b9af300b00a222b2bb06b4b3d (diff) | |
download | coreboot-708ccac6ee466a4884348771ee54a4f38c8c1535.tar.xz |
Add a note that 'modprobe msr' might be required.
Remove trailing whitespace. Fix typos.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/msrtool')
-rw-r--r-- | util/msrtool/k8.c | 4 | ||||
-rw-r--r-- | util/msrtool/msrtool.c | 1 | ||||
-rw-r--r-- | util/msrtool/msrutils.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/util/msrtool/k8.c b/util/msrtool/k8.c index b85f66962f..59288b19df 100644 --- a/util/msrtool/k8.c +++ b/util/msrtool/k8.c @@ -38,7 +38,7 @@ const struct msrdef k8_msrs[] = { }}, { 13, 1, "LMSLE:", "Long Mode Segment Limit Enable", PRESENT_DEC, { { MSR1(0), "Long mode segment limit check disabled" }, - { MSR1(1), "Long mode segment limit check enalbed" }, + { MSR1(1), "Long mode segment limit check enabled" }, { BITVAL_EOT } }}, { 12, 1, "SVME:", "SVM Enable", PRESENT_DEC, { @@ -134,7 +134,7 @@ const struct msrdef k8_msrs[] = { { BITS_EOT } }}, - { 0xC0010015, MSRTYPE_RDWR, MSR2(0, 0), "HWCR Register", "This register controls the harware configuration", { + { 0xC0010015, MSRTYPE_RDWR, MSR2(0, 0), "HWCR Register", "This register controls the hardware configuration", { { 63, 32, RESERVED }, { 31, 2, RESERVED }, { 29, 6, "START_FID:", "Status of the startup FID", PRESENT_HEX, { diff --git a/util/msrtool/msrtool.c b/util/msrtool/msrtool.c index d19aebf2e3..2bb8ded8ba 100644 --- a/util/msrtool/msrtool.c +++ b/util/msrtool/msrtool.c @@ -350,6 +350,7 @@ int main(int argc, char *argv[]) { if (sys && !sys->name) { fprintf(stderr, "Unable to detect the current operating system!\n"); + fprintf(stderr, "On Linux, please do 'modprobe msr' and retry.\n"); fprintf(stderr, "Please send a report or patch to coreboot@coreboot.org. Thanks for your help!\n"); fprintf(stderr, "\n"); } diff --git a/util/msrtool/msrutils.c b/util/msrtool/msrutils.c index e2306e83dd..dfb66178f6 100644 --- a/util/msrtool/msrutils.c +++ b/util/msrtool/msrutils.c @@ -191,7 +191,7 @@ int dumpmsrdefsvals(FILE *f, const struct targetdef *t, const uint8_t cpu) { /** * Parse a hexadecimal string into an MSR value. - * + * * Leading 0x or 0X is optional, the string is always parsed as hexadecimal. * Any non-hexadecimal character can be used to separate the high 32 bits and * the low 32 bits. If there is such a separator, high and low values do not |