summaryrefslogtreecommitdiff
path: root/sys/dev/arcbios
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2013-11-15 08:47:55 +0000
committermsaitoh <msaitoh@NetBSD.org>2013-11-15 08:47:55 +0000
commitb1bcfb8009819cc093d9a2f7c84d38f405ea046d (patch)
tree4ccc83da4d4724af6caa6d3efccb0d3f5cfdfc0e /sys/dev/arcbios
parentd77d258119a86b80ff86aa434cab8d452eac169f (diff)
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
Diffstat (limited to 'sys/dev/arcbios')
0 files changed, 0 insertions, 0 deletions