[MPlayer-dev-eng] [PATCH] CPU detection related

Zuxy Meng zuxy.meng at gmail.com
Mon May 15 07:23:22 CEST 2006


Hi,

2006/5/15, Guillaume POIRIER <poirierg at gmail.com>:
> Hi,
>
> A little review of your patch:
>
> -       char vendor[17];
> +       char vendor[13];
>
> I imagine you have a good reason to diminish the size of this array.
> Could you please confirm that vendor string can't exceed 12+\0 chars?
>

Vendor string is returned in ebx, edx & ecx when executing cpuid with
eax = 0. It's fixed in 128 bits.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the MPlayer-dev-eng mailing list