NetBSD/usr.sbin/cpuctl
msaitoh b1a32cacda Modify some macros and add some new macros for CPU family and model
to reduce code duplication and to avoid bug.

CPUID_TO_STEPPING(cpuid)	(not changed)

CPUID_TO_FAMILY(cpuid)		(new)
CPUID_TO_MODEL(cpuid)		(new)

	Return the display family and the display model.
	The macro names are the same as FreeBSD.

CPUID_TO_BASEFAMILY(cpuid)	(The old name was CPUID2FAMILY)
CPUID_TO_BASEMODEL(cpuid)	(The old name was CPUID2MODEL)

	Only for the base field.

CPUID_TO_EXTFAMILY(cpuid)	(The old name was CPUID2EXTFAMILY)
CPUID_TO_EXTMODEL(cpuid)	(The old name was CPUID2EXTMODEL)

	Only for the extended field.

See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
2013-11-15 08:47:55 +00:00
..
arch Modify some macros and add some new macros for CPU family and model 2013-11-15 08:47:55 +00:00
Makefile .include <bsd.own.mk> to get MACHINE_CPU 2013-08-01 23:19:39 +00:00
cpuctl.8 Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
cpuctl.c Only complain about binding if we have more than 1 cpu. :) 2013-01-31 19:47:59 +00:00
cpuctl.h Extend the CPU microcode update framework to support Intel x86 CPUs. 2012-08-29 17:13:21 +00:00