• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

oga's tools


Commit MetaInfo

修订版1551c1eb25eccc6ceeba92a9d8c8298cc9d03829 (tree)
时间2021-02-11 07:37:32
作者hyperoga <hyperoga@gmai...>
Commiterhyperoga

Log Message

some fix

更改概述

差异

--- a/cpuid.c
+++ b/cpuid.c
@@ -7,6 +7,7 @@
77 */
88
99 #include <stdio.h>
10+#include <string.h>
1011
1112 char CPUID[] = { 0x0f, 0xa2 }; /* 意味なし */
1213 unsigned int gEAX,gEBX,gECX,gEDX;
@@ -55,7 +56,7 @@ int main(int a, char *b[])
5556 "movl %ecx,gECX\n\t" /* %ecx => ECX */
5657 "movl %edx,gEDX"); /* %edx => EDX */
5758 #endif
58- printf("\ncpuid Ver 1.03 by oga.\n",gEAX);
59+ printf("\ncpuid Ver 1.03 by oga.\n");
5960 if (vf) printf(" CPUID command max param = %d\n",gEAX);
6061 printf(" Vendor ID : ");
6162 DispRegChr(gEBX); /* VendorID1 */