diff options
author | benno <benno@FreeBSD.org> | 2002-05-19 04:03:11 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-05-19 04:03:11 +0000 |
commit | 433f83378703881d1c97588d91d79c43fba5fbcf (patch) | |
tree | fb6e0b8378676600be49a4d971c5fc625f96fff3 | |
parent | 2e91bf8c103a8cf7fb3b3af3654209e92ff1fdbf (diff) | |
download | FreeBSD-src-433f83378703881d1c97588d91d79c43fba5fbcf.zip FreeBSD-src-433f83378703881d1c97588d91d79c43fba5fbcf.tar.gz |
Add the PSL_VEC flag for AltiVec (no, it's not here yet =))
-rw-r--r-- | sys/powerpc/include/psl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/include/psl.h b/sys/powerpc/include/psl.h index acdd00d..b571f57 100644 --- a/sys/powerpc/include/psl.h +++ b/sys/powerpc/include/psl.h @@ -28,7 +28,7 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $NetBSD: psl.h,v 1.4 2000/02/13 10:25:07 tsubai Exp $ + * $NetBSD: psl.h,v 1.5 2000/11/19 19:52:37 matt Exp $ * $FreeBSD$ */ @@ -40,10 +40,11 @@ * * The PowerPC 601 does not implement the following bits: * - * POW, ILE, BE, RI, LE[*] + * VEC, POW, ILE, BE, RI, LE[*] * * [*] Little-endian mode on the 601 is implemented in the HID0 register. */ +#define PSL_VEC 0x02000000 /* AltiVec vector unit available */ #define PSL_POW 0x00040000 /* power management */ #define PSL_ILE 0x00010000 /* interrupt endian mode (1 == le) */ #define PSL_EE 0x00008000 /* external interrupt enable */ |