xref: /csrg-svn/sys/i386/include/specialreg.h (revision 45962)
1*45962Swilliam /*
2*45962Swilliam  * 386 Special registers:
3*45962Swilliam  */
4*45962Swilliam 
5*45962Swilliam #define	CR0_PE	0x00000001	/* Protected mode Enable */
6*45962Swilliam #define	CR0_MP	0x00000002	/* "Math" Present (e.g. npx), wait for it */
7*45962Swilliam #define	CR0_EM	0x00000004	/* EMulate NPX, e.g. trap, don't execute code */
8*45962Swilliam #define	CR0_TS	0x00000008	/* Process has done Task Switch, do NPX save */
9*45962Swilliam #define	CR0_ET	0x00000010	/* 32 bit (if set) vs 16 bit (387 vs 287) */
10*45962Swilliam #define	CR0_PG	0x80000000	/* Paging Enable */
11