DragonFly submit List (threaded) for 2006-12
DragonFly BSD
DragonFly submit List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Intel CPUID2 (data in ecx after cpuid) patch


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 8 Dec 2006 10:16:10 +0900

On Thu, Dec 07, 2006 at 02:35:43PM +0000, Thomas E. Spanjaard wrote:
> Index: machine/pc32/i386/est.c
> ===================================================================
> RCS file: /home/dcvs/src/sys/machine/pc32/i386/est.c,v
> retrieving revision 1.2
> diff -u -r1.2 est.c
> --- machine/pc32/i386/est.c	30 Jun 2006 07:34:59 -0000	1.2
> +++ machine/pc32/i386/est.c	7 Dec 2006 14:18:01 -0000
> @@ -578,6 +578,7 @@
>  	int			err;
>  	size_t			i;
>  
> +/* XXX TGEN this is dead code now, retained for reference */
>  #ifndef CPUID2_EST
>  	int			regs[4];

You can rip this `#ifndef CPUID2_EST' part completely, because CPU
feature bits won't change after the machine booted.  The code was
only there because I didn't want to mess with identcpu.c :)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]