psl.h (77957) | psl.h (96905) |
---|---|
1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * | 1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * |
31 * $NetBSD: psl.h,v 1.4 2000/02/13 10:25:07 tsubai Exp $ 32 * $FreeBSD: head/sys/powerpc/include/psl.h 77957 2001-06-10 02:39:37Z benno $ | 31 * $NetBSD: psl.h,v 1.5 2000/11/19 19:52:37 matt Exp $ 32 * $FreeBSD: head/sys/powerpc/include/psl.h 96905 2002-05-19 04:03:11Z benno $ |
33 */ 34 35#ifndef _MACHINE_PSL_H_ 36#define _MACHINE_PSL_H_ 37 38/* 39 * Machine State Register (MSR) 40 * 41 * The PowerPC 601 does not implement the following bits: 42 * | 33 */ 34 35#ifndef _MACHINE_PSL_H_ 36#define _MACHINE_PSL_H_ 37 38/* 39 * Machine State Register (MSR) 40 * 41 * The PowerPC 601 does not implement the following bits: 42 * |
43 * POW, ILE, BE, RI, LE[*] | 43 * VEC, POW, ILE, BE, RI, LE[*] |
44 * 45 * [*] Little-endian mode on the 601 is implemented in the HID0 register. 46 */ | 44 * 45 * [*] Little-endian mode on the 601 is implemented in the HID0 register. 46 */ |
47#define PSL_VEC 0x02000000 /* AltiVec vector unit available */ |
|
47#define PSL_POW 0x00040000 /* power management */ 48#define PSL_ILE 0x00010000 /* interrupt endian mode (1 == le) */ 49#define PSL_EE 0x00008000 /* external interrupt enable */ 50#define PSL_PR 0x00004000 /* privilege mode (1 == user) */ 51#define PSL_FP 0x00002000 /* floating point enable */ 52#define PSL_ME 0x00001000 /* machine check enable */ 53#define PSL_FE0 0x00000800 /* floating point interrupt mode 0 */ 54#define PSL_SE 0x00000400 /* single-step trace enable */ --- 30 unchanged lines hidden --- | 48#define PSL_POW 0x00040000 /* power management */ 49#define PSL_ILE 0x00010000 /* interrupt endian mode (1 == le) */ 50#define PSL_EE 0x00008000 /* external interrupt enable */ 51#define PSL_PR 0x00004000 /* privilege mode (1 == user) */ 52#define PSL_FP 0x00002000 /* floating point enable */ 53#define PSL_ME 0x00001000 /* machine check enable */ 54#define PSL_FE0 0x00000800 /* floating point interrupt mode 0 */ 55#define PSL_SE 0x00000400 /* single-step trace enable */ --- 30 unchanged lines hidden --- |