1139731Simp/*- 2553Srgrimes * Copyright (c) 1993 Christopher G. Demetriou 3553Srgrimes * All rights reserved. 4553Srgrimes * 5553Srgrimes * Redistribution and use in source and binary forms, with or without 6553Srgrimes * modification, are permitted provided that the following conditions 7553Srgrimes * are met: 8553Srgrimes * 1. Redistributions of source code must retain the above copyright 9553Srgrimes * notice, this list of conditions and the following disclaimer. 10553Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 11553Srgrimes * notice, this list of conditions and the following disclaimer in the 12553Srgrimes * documentation and/or other materials provided with the distribution. 13553Srgrimes * 3. The name of the author may not be used to endorse or promote products 1413765Smpp * derived from this software without specific prior written permission 15553Srgrimes * 16553Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17553Srgrimes * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18553Srgrimes * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19553Srgrimes * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20553Srgrimes * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21553Srgrimes * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22553Srgrimes * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23553Srgrimes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24553Srgrimes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25553Srgrimes * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26553Srgrimes * 2750477Speter * $FreeBSD: releng/11.0/sys/amd64/include/cputypes.h 292668 2015-12-23 21:41:42Z jhb $ 28553Srgrimes */ 29553Srgrimes 30719Swollman#ifndef _MACHINE_CPUTYPES_H_ 3130805Sbde#define _MACHINE_CPUTYPES_H_ 32719Swollman 33292668Sjhb#include <x86/cputypes.h> 34292668Sjhb 35553Srgrimes/* 3630805Sbde * Classes of processor. 37553Srgrimes */ 38185341Sjkim#define CPUCLASS_X86 0 /* X86 */ 39185341Sjkim#define CPUCLASS_K8 1 /* K8 AMD64 class */ 40553Srgrimes 41553Srgrimes/* 4230805Sbde * Kinds of processor. 43553Srgrimes */ 44185341Sjkim#define CPU_X86 0 /* Intel */ 45185341Sjkim#define CPU_CLAWHAMMER 1 /* AMD Clawhammer */ 46185341Sjkim#define CPU_SLEDGEHAMMER 2 /* AMD Sledgehammer */ 4730805Sbde 4830805Sbde#endif /* !_MACHINE_CPUTYPES_H_ */ 49