Project

General

Profile

Actions

Bug #400

closed

Intel CPUID2 (data in ecx after cpuid) patch

Added by TGEN over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Attached patch adds detection, storage and printing of additional flags
reported by cpuid in the ecx register on newer Intel CPUs. One problem I
have, is that cpu_feature (and the new cpu_feature2) are declared in
sys/systm.h, when they're actually machine dependent. Shouldn't they
rather be in e.g. machine/cpufunc.h?

The printing stuff was obtained from FreeBSD, as for the CPUID2 constants.

Cheers,
--
Thomas E. Spanjaard


Files

intel_cpuid2.diff (4.39 KB) intel_cpuid2.diff TGEN, 12/07/2006 02:42 PM
Actions

Also available in: Atom PDF