diff options
author | grehan <grehan@FreeBSD.org> | 2004-11-30 09:04:41 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-11-30 09:04:41 +0000 |
commit | 789e532c6d8e6c097fad3f55e5b2040564e4d3ec (patch) | |
tree | c8f5e99beabc7f486a43eebc0ec7e9635db7d93e /sys | |
parent | b06b583ff52edeccdbcfe6fa32076a0f920e305c (diff) | |
download | FreeBSD-src-789e532c6d8e6c097fad3f55e5b2040564e4d3ec.zip FreeBSD-src-789e532c6d8e6c097fad3f55e5b2040564e4d3ec.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/include/psl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/psl.h b/sys/powerpc/include/psl.h index b571f57..e6e2b26 100644 --- a/sys/powerpc/include/psl.h +++ b/sys/powerpc/include/psl.h @@ -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) |