Intel CPUID2 (data in ecx after cpuid) patch

Thomas E. Spanjaard tgen at netphreax.net
Fri Dec 8 01:48:10 PST 2006


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 at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00007.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20061208/53d2fe81/attachment-0015.obj>


More information about the Submit mailing list