xref: /original-bsd/sys/i386/include/specialreg.h (revision 3705696b)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)specialreg.h	8.1 (Berkeley) 06/11/93
8  */
9 
10 /*
11  * 386 Special registers:
12  */
13 
14 #define	CR0_PE	0x00000001	/* Protected mode Enable */
15 #define	CR0_MP	0x00000002	/* "Math" Present (e.g. npx), wait for it */
16 #define	CR0_EM	0x00000004	/* EMulate NPX, e.g. trap, don't execute code */
17 #define	CR0_TS	0x00000008	/* Process has done Task Switch, do NPX save */
18 #define	CR0_ET	0x00000010	/* 32 bit (if set) vs 16 bit (387 vs 287) */
19 #define	CR0_PG	0x80000000	/* Paging Enable */
20