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

Guillaume POIRIER poirierg at gmail.com
Wed May 17 23:10:33 CEST 2006


Hi,

On 5/15/06, Zuxy Meng <zuxy.meng at gmail.com> wrote:
> 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.

Thanks,

Applied

Guillaume

-- 
An Israeli man's life was saved when he was given a Palestinian man's
heart in a heart transplant operation. The guy is doing fine, but the
bad news is, he can't stop throwing rocks at himself.
  -- Jay Leno




More information about the MPlayer-dev-eng mailing list