Create a new definition, PSL_KERNSET, which is used for setting the

MSR in kernel mode. Redefine PSL_USERSET in terms of this by or'ing
in PSL_PR.
This commit is contained in:
Peter Grehan 2004-11-30 09:04:41 +00:00
parent 696ac86f2c
commit 0cff393761

View File

@ -78,7 +78,8 @@
#define PSL_MBO 0
#define PSL_MBZ 0
#define PSL_USERSET (PSL_EE | PSL_PR | PSL_ME | PSL_IR | PSL_DR | PSL_RI)
#define PSL_KERNSET (PSL_EE | PSL_ME | PSL_IR | PSL_DR | PSL_RI)
#define PSL_USERSET (PSL_KERNSET | PSL_PR)
#define PSL_USERSTATIC (PSL_USERSET | PSL_IP | 0x87c0008c)