Mercurial > mplayer.hg
comparison cpudetect.h @ 31826:f3aed7bffcbb
Reuse do_cpuid from cpudetect.c in loader/win32.c.
Also avoids several "used uninitialized" warnings.
author | reimar |
---|---|
date | Mon, 02 Aug 2010 17:39:20 +0000 |
parents | dd7f15a3fb1b |
children | 064be070d8c8 |
comparison
equal
deleted
inserted
replaced
31825:544f29a58a6b | 31826:f3aed7bffcbb |
---|---|
47 int hasTSC; | 47 int hasTSC; |
48 } CpuCaps; | 48 } CpuCaps; |
49 | 49 |
50 extern CpuCaps gCpuCaps; | 50 extern CpuCaps gCpuCaps; |
51 | 51 |
52 void do_cpuid(unsigned int ax, unsigned int *p); | |
53 | |
52 void GetCpuCaps(CpuCaps *caps); | 54 void GetCpuCaps(CpuCaps *caps); |
53 | 55 |
54 /* returned value is malloc()'ed so free() it after use */ | 56 /* returned value is malloc()'ed so free() it after use */ |
55 char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]); | 57 char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]); |
56 | 58 |