summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/psl.h
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-11-15 23:01:29 +0000
committersobomax <sobomax@FreeBSD.org>2001-11-15 23:01:29 +0000
commit0bae1a0a21b430c103cef64aebbde5aa867bbcd7 (patch)
tree1d69860953a1c73376adb06d4c672ab642c8a4f2 /sys/i386/include/psl.h
parent8f2b8dd14d81d7c00926911c84eb1b531de2ba20 (diff)
downloadFreeBSD-src-0bae1a0a21b430c103cef64aebbde5aa867bbcd7.zip
FreeBSD-src-0bae1a0a21b430c103cef64aebbde5aa867bbcd7.tar.gz
Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode without
ill effects. This should fix problems threaded programs are having with auto-detecting CPU type. Reported by: Joe Clarke <marcus@marcuscom.com> Tested by: Joe Clarke <marcus@marcuscom.com> Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/i386/include/psl.h')
-rw-r--r--sys/i386/include/psl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/psl.h b/sys/i386/include/psl.h
index 6a7e233..302d469 100644
--- a/sys/i386/include/psl.h
+++ b/sys/i386/include/psl.h
@@ -83,6 +83,6 @@
* 386's.
*/
#define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \
- | PSL_D | PSL_V | PSL_NT | PSL_AC)
+ | PSL_D | PSL_V | PSL_NT | PSL_AC | PSL_ID)
#endif /* !_MACHINE_PSL_H_ */
OpenPOWER on IntegriCloud