Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Preliminary AltiVec support.
details: https://anonhg.NetBSD.org/src/rev/1af258989918
branches: trunk
changeset: 499633:1af258989918
user: matt <matt%NetBSD.org@localhost>
date: Sat Nov 25 03:03:35 2000 +0000
description:
Preliminary AltiVec support.
diffstat:
sys/arch/powerpc/include/pcb.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 86b3a6cba025 -r 1af258989918 sys/arch/powerpc/include/pcb.h
--- a/sys/arch/powerpc/include/pcb.h Sat Nov 25 03:01:40 2000 +0000
+++ b/sys/arch/powerpc/include/pcb.h Sat Nov 25 03:03:35 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.5 2000/07/06 22:57:08 tsubai Exp $ */
+/* $NetBSD: pcb.h,v 1.6 2000/11/25 03:03:35 matt Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -33,6 +33,8 @@
#ifndef _MACHINE_PCB_H_
#define _MACHINE_PCB_H_
+#include <powerpc/reg.h>
+
typedef int faultbuf[23];
struct pcb {
@@ -47,17 +49,20 @@
double fpr[32];
double fpscr; /* FPSCR stored as double for easier access */
} pcb_fpu; /* Floating point processor */
+ struct vreg *pcb_vr;
};
struct md_coredump {
struct trapframe frame;
struct fpu fpstate;
+ struct vreg vstate;
};
#if defined(_KERNEL) && !defined(MULTIPROCESSOR)
extern struct pcb *curpcb;
extern struct pmap *curpm;
-extern struct proc *fpuproc;
+extern struct proc *fpuproc, *vecproc;
+extern struct pool *vecpl;
#endif
#endif /* _MACHINE_PCB_H_ */
Home |
Main Index |
Thread Index |
Old Index