Intelã®CPUã§ã¯ãCPUIDã¨ããã¢ã»ã³ãã©ã®å½ä»¤ã使ç¨ãããã¨ã§ãCPUã®æ å ±ãå ¥æããäºãåºæ¥ã¾ãã ããã§ããCPUæ å ±ã¨ããã®ã¯ãCPUã®ã·ãªã¼ãºãã対å¿ãã¦ããå½ä»¤ã»ããããã£ãã·ã¥å®¹éãããã»ããµã·ãªã¢ã«Noãªã©ãå«ã¾ãã¾ãã ãã®CPUIDå½ä»¤ãCè¨èªã§æ®éã«ããã°ã©ã ãã¦ãã¦ã¯ã³ã¼ã«ããäºãåºæ¥ã¾ããããã¤ã³ã©ã¤ã³ã¢ã»ã³ãã©ã使ç¨ãããã¨ã§å©ç¨ããäºãå¯è½ã§ãã ä»åã¯ãgccã®ã¤ã³ã©ã¤ã³ã¢ã»ã³ãã©ã§ããâ__asm__âå½ä»¤ã使ç¨ãã¦ãCPUIDæ å ±ãåå¾ããæ¹æ³ã説æãã¾ãã Cè¨èªããCPUIDå½ä»¤ãã³ã¼ã«ãã ã¾ãã¯ãCPUIDåå¾ã®ãã¼ã¹ã«ãªãã¤ã³ã©ã¤ã³ã¢ã»ã³ãã©å¦çã§ãã void getCpuId( int param, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned i
{{#tags}}- {{label}}
{{/tags}}