xref: /f-stack/freebsd/x86/include/cputypes.h (revision 22ce4aff)
1a9643ea8Slogwang /*-
2a9643ea8Slogwang  * Copyright (c) 1993 Christopher G. Demetriou
3a9643ea8Slogwang  * All rights reserved.
4a9643ea8Slogwang  *
5a9643ea8Slogwang  * Redistribution and use in source and binary forms, with or without
6a9643ea8Slogwang  * modification, are permitted provided that the following conditions
7a9643ea8Slogwang  * are met:
8a9643ea8Slogwang  * 1. Redistributions of source code must retain the above copyright
9a9643ea8Slogwang  *    notice, this list of conditions and the following disclaimer.
10a9643ea8Slogwang  * 2. Redistributions in binary form must reproduce the above copyright
11a9643ea8Slogwang  *    notice, this list of conditions and the following disclaimer in the
12a9643ea8Slogwang  *    documentation and/or other materials provided with the distribution.
13a9643ea8Slogwang  * 3. The name of the author may not be used to endorse or promote products
14a9643ea8Slogwang  *    derived from this software without specific prior written permission
15a9643ea8Slogwang  *
16a9643ea8Slogwang  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17a9643ea8Slogwang  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18a9643ea8Slogwang  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19a9643ea8Slogwang  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20a9643ea8Slogwang  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21a9643ea8Slogwang  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22a9643ea8Slogwang  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23a9643ea8Slogwang  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24a9643ea8Slogwang  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25a9643ea8Slogwang  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26a9643ea8Slogwang  *
27a9643ea8Slogwang  * $FreeBSD$
28a9643ea8Slogwang  */
29a9643ea8Slogwang 
30a9643ea8Slogwang #ifndef _X86_CPUTYPES_H_
31a9643ea8Slogwang #define	_X86_CPUTYPES_H_
32a9643ea8Slogwang 
33a9643ea8Slogwang /*
34a9643ea8Slogwang  * Vendors of processor.
35a9643ea8Slogwang  */
36a9643ea8Slogwang #define	CPU_VENDOR_NSC		0x100b		/* NSC */
37a9643ea8Slogwang #define	CPU_VENDOR_IBM		0x1014		/* IBM */
38a9643ea8Slogwang #define	CPU_VENDOR_AMD		0x1022		/* AMD */
39a9643ea8Slogwang #define	CPU_VENDOR_SIS		0x1039		/* SiS */
40a9643ea8Slogwang #define	CPU_VENDOR_UMC		0x1060		/* UMC */
41a9643ea8Slogwang #define	CPU_VENDOR_NEXGEN	0x1074		/* Nexgen */
42a9643ea8Slogwang #define	CPU_VENDOR_CYRIX	0x1078		/* Cyrix */
43a9643ea8Slogwang #define	CPU_VENDOR_IDT		0x111d		/* Centaur/IDT/VIA */
44a9643ea8Slogwang #define	CPU_VENDOR_TRANSMETA	0x1279		/* Transmeta */
45a9643ea8Slogwang #define	CPU_VENDOR_INTEL	0x8086		/* Intel */
46a9643ea8Slogwang #define	CPU_VENDOR_RISE		0xdead2bad	/* Rise */
47a9643ea8Slogwang #define	CPU_VENDOR_CENTAUR	CPU_VENDOR_IDT
48*22ce4affSfengbojiang #define	CPU_VENDOR_HYGON	0x1d94		/* Hygon */
49a9643ea8Slogwang 
50a9643ea8Slogwang #endif /* !_X86_CPUTYPES_H_ */
51