cputypes.h revision 292668
1230557Sjimharris/*-
2230557Sjimharris * Copyright (c) 1993 Christopher G. Demetriou
3230557Sjimharris * All rights reserved.
4230557Sjimharris *
5230557Sjimharris * Redistribution and use in source and binary forms, with or without
6230557Sjimharris * modification, are permitted provided that the following conditions
7230557Sjimharris * are met:
8230557Sjimharris * 1. Redistributions of source code must retain the above copyright
9230557Sjimharris *    notice, this list of conditions and the following disclaimer.
10230557Sjimharris * 2. Redistributions in binary form must reproduce the above copyright
11230557Sjimharris *    notice, this list of conditions and the following disclaimer in the
12230557Sjimharris *    documentation and/or other materials provided with the distribution.
13230557Sjimharris * 3. The name of the author may not be used to endorse or promote products
14230557Sjimharris *    derived from this software without specific prior written permission
15230557Sjimharris *
16230557Sjimharris * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17230557Sjimharris * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18230557Sjimharris * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19230557Sjimharris * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20230557Sjimharris * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21230557Sjimharris * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22230557Sjimharris * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23230557Sjimharris * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24230557Sjimharris * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25230557Sjimharris * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26230557Sjimharris *
27230557Sjimharris * $FreeBSD: head/sys/amd64/include/cputypes.h 292668 2015-12-23 21:41:42Z jhb $
28230557Sjimharris */
29230557Sjimharris
30230557Sjimharris#ifndef _MACHINE_CPUTYPES_H_
31230557Sjimharris#define	_MACHINE_CPUTYPES_H_
32230557Sjimharris
33230557Sjimharris#include <x86/cputypes.h>
34230557Sjimharris
35230557Sjimharris/*
36230557Sjimharris * Classes of processor.
37230557Sjimharris */
38230557Sjimharris#define	CPUCLASS_X86		0	/* X86 */
39230557Sjimharris#define	CPUCLASS_K8		1	/* K8 AMD64 class */
40230557Sjimharris
41230557Sjimharris/*
42230557Sjimharris * Kinds of processor.
43230557Sjimharris */
44230557Sjimharris#define	CPU_X86			0	/* Intel */
45230557Sjimharris#define	CPU_CLAWHAMMER		1	/* AMD Clawhammer */
46230557Sjimharris#define	CPU_SLEDGEHAMMER	2	/* AMD Sledgehammer */
47230557Sjimharris
48230557Sjimharris#endif /* !_MACHINE_CPUTYPES_H_ */
49230557Sjimharris