Add a note that 'modprobe msr' might be required.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 10 Apr 2009 21:05:56 +0000 (21:05 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 10 Apr 2009 21:05:56 +0000 (21:05 +0000)
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

util/msrtool/k8.c
util/msrtool/msrtool.c
util/msrtool/msrutils.c

index b85f66962fd93a8b88ef914165a5c60a754523a5..59288b19df9608882c04197dbe54f22285c10308 100644 (file)
@@ -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, {
index d19aebf2e3ea2a7882ccf68bc5ba952eb4b165b5..2bb8ded8ba51fa7bea946ab4e68d6800fbdcf742 100644 (file)
@@ -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");
        }
index e2306e83dd43488f83172ec09954d944b60eb44c..dfb66178f6cb972136a5c35d02e4b19cc40729bb 100644 (file)
@@ -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