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: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Fri, 08 Dec 2006 09:44:48 +0000

YONETANI Tomokazu wrote:
On Thu, Dec 07, 2006 at 02:35:43PM +0000, Thomas E. Spanjaard wrote:
+++ 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 :)

Will do. What do you think about the <sys/systm.h> containing MD definitions?


Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



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