projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e5fa1
)
cpuid.c32: output the correct register names
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 31 Mar 2010 15:56:12 +0000
(08:56 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 31 Mar 2010 15:56:12 +0000
(08:56 -0700)
Output the correct register names in cpuid.c32; fix copy-and-paste
error.
Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/cpuid.c
patch
|
blob
|
history
diff --git
a/com32/modules/cpuid.c
b/com32/modules/cpuid.c
index
4758fba
..
62a756e
100644
(file)
--- a/
com32/modules/cpuid.c
+++ b/
com32/modules/cpuid.c
@@
-52,9
+52,9
@@
int main(int argc, char *argv[])
cpuid_count(leaf, counter, &eax, &ebx, &ecx, &edx);
dump_reg("eax", eax);
- dump_reg("e
a
x", ebx);
- dump_reg("e
a
x", ecx);
- dump_reg("e
a
x", edx);
+ dump_reg("e
b
x", ebx);
+ dump_reg("e
c
x", ecx);
+ dump_reg("e
d
x", edx);
return 0;
}