xref: /csrg-svn/sys/i386/include/specialreg.h (revision 63359)
149614Sbostic /*-
2*63359Sbostic  * Copyright (c) 1991, 1993
3*63359Sbostic  *	The Regents of the University of California.  All rights reserved.
449614Sbostic  *
549614Sbostic  * %sccs.include.redist.c%
649614Sbostic  *
7*63359Sbostic  *	@(#)specialreg.h	8.1 (Berkeley) 06/11/93
849614Sbostic  */
949614Sbostic 
1045962Swilliam /*
1145962Swilliam  * 386 Special registers:
1245962Swilliam  */
1345962Swilliam 
1445962Swilliam #define	CR0_PE	0x00000001	/* Protected mode Enable */
1545962Swilliam #define	CR0_MP	0x00000002	/* "Math" Present (e.g. npx), wait for it */
1645962Swilliam #define	CR0_EM	0x00000004	/* EMulate NPX, e.g. trap, don't execute code */
1745962Swilliam #define	CR0_TS	0x00000008	/* Process has done Task Switch, do NPX save */
1845962Swilliam #define	CR0_ET	0x00000010	/* 32 bit (if set) vs 16 bit (387 vs 287) */
1945962Swilliam #define	CR0_PG	0x80000000	/* Paging Enable */
20