Use PSL_MBO and PSL_MBZ in the more traditional way.
This commit is contained in:
parent
222ebaf50e
commit
4eb1bbfb0b
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)psl.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: psl.h,v 1.4 1993/12/22 12:56:08 cgd Exp $
|
||||
* $Id: psl.h,v 1.5 1994/01/09 14:58:14 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -54,10 +54,12 @@
|
|||
#define PSL_RF 0x00010000 /* restart flag bit */
|
||||
#define PSL_VM 0x00020000 /* virtual 8086 mode bit */
|
||||
#define PSL_AC 0x00040000 /* alignment checking */
|
||||
#define PSL_VIF 0x00080000 /* virtual interrupt enable */
|
||||
#define PSL_VIP 0x00100000 /* virtual interrupt pending */
|
||||
#define PSL_ID 0x00200000 /* identification bit */
|
||||
|
||||
#define PSL_MBZ 0xfff84028 /* must be zero bits */
|
||||
#define PSL_MBO 0x00000202 /* must be one bits */
|
||||
#define PSL_MBO 0x00000002 /* must be one bits */
|
||||
#define PSL_MBZ 0xffc08028 /* must be zero bits */
|
||||
|
||||
#define PSL_USERSET (PSL_IOPL)
|
||||
#define PSL_USERCLR (PSL_I|PSL_NT)
|
||||
#define PSL_USERSET (PSL_MBO | PSL_I)
|
||||
#define PSL_USERCLR (PSL_MBZ | PSL_VIP | PSL_VIF | PSL_NT)
|
||||
|
|
Loading…
Reference in New Issue