patch-2.3.26 linux/include/asm-ppc/processor.h
Next file: linux/include/asm-ppc/shmparam.h
Previous file: linux/include/asm-ppc/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Nov 5 15:53:26 1999
- Orig file:
v2.3.25/linux/include/asm-ppc/processor.h
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.25/linux/include/asm-ppc/processor.h linux/include/asm-ppc/processor.h
@@ -17,6 +17,7 @@
#define MSR_SF (1<<63)
#define MSR_ISF (1<<61)
#endif /* CONFIG_PPC64 */
+#define MSR_VEC (1<<25) /* Enable AltiVec */
#define MSR_POW (1<<18) /* Enable Power Management */
#define MSR_TGPR (1<<17) /* TLB Update registers in use */
#define MSR_ILE (1<<16) /* Interrupt Little-Endian enable */
@@ -249,6 +250,7 @@
/* Lazy FPU handling on uni-processor */
extern struct task_struct *last_task_used_math;
+extern struct task_struct *last_task_used_altivec;
/*
* this is the minimum allowable io space due to the location
@@ -277,6 +279,9 @@
double fpr[32]; /* Complete floating point set */
unsigned long fpscr_pad; /* fpr ... fpscr must be contiguous */
unsigned long fpscr; /* Floating point status */
+ unsigned long vrf[128];
+ unsigned long vscr;
+ unsigned long vrsave;
};
#define INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)