Deleted Added
full compact
psl.h (5603) psl.h (13765)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)psl.h 5.2 (Berkeley) 1/18/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)psl.h 5.2 (Berkeley) 1/18/91
37 * $Id: psl.h,v 1.5 1994/08/10 03:51:18 wollman Exp $
37 * $Id: psl.h,v 1.6 1995/01/14 13:20:25 bde Exp $
38 */
39
40#ifndef _MACHINE_PSL_H_
41#define _MACHINE_PSL_H_
42
43/*
44 * 386 processor status longword.
45 */

--- 27 unchanged lines hidden (view full) ---

73 * PSL_I and some other flags from user mode.
74 */
75#define PSL_KERNEL PSL_RESERVED_DEFAULT
76#define PSL_USER (PSL_RESERVED_DEFAULT | PSL_I)
77
78/*
79 * Bits that can be changed in user mode on 486's. We allow these bits
80 * to be changed using ptrace(), sigreturn() and procfs. Setting PS_NT
38 */
39
40#ifndef _MACHINE_PSL_H_
41#define _MACHINE_PSL_H_
42
43/*
44 * 386 processor status longword.
45 */

--- 27 unchanged lines hidden (view full) ---

73 * PSL_I and some other flags from user mode.
74 */
75#define PSL_KERNEL PSL_RESERVED_DEFAULT
76#define PSL_USER (PSL_RESERVED_DEFAULT | PSL_I)
77
78/*
79 * Bits that can be changed in user mode on 486's. We allow these bits
80 * to be changed using ptrace(), sigreturn() and procfs. Setting PS_NT
81 * is undesireable but it may as well be allowed since users can inflict
81 * is undesirable but it may as well be allowed since users can inflict
82 * it on the kernel directly. Changes to PSL_AC are silently ignored on
83 * 386's.
84 */
85#define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \
86 | PSL_D | PSL_V | PSL_NT | PSL_AC)
87
88#endif /* !_MACHINE_PSL_H_ */
82 * it on the kernel directly. Changes to PSL_AC are silently ignored on
83 * 386's.
84 */
85#define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \
86 | PSL_D | PSL_V | PSL_NT | PSL_AC)
87
88#endif /* !_MACHINE_PSL_H_ */