]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ppc/AltiAssist.s
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / ppc / AltiAssist.s
index 5d194389b713767e0ed75b15cad2e360e89689c1..6bf24f4aa250be4b27c15acf33213a600d958bff 100644 (file)
 
 */
 
-#include <cpus.h>
 #include <ppc/asm.h>
 #include <ppc/proc_reg.h>
 #include <ppc/exception.h>
 #include <mach/machine/vm_param.h>
 #include <assym.s>
 
-#define kernAccess 31
-
 ;
 ;
 ;                      General stuff what happens here:
 
 LEXT(AltivecAssist)
 
-                       mfmsr           r20                                                     ; Get the current MSR
                        li                      r10,emvr0                                       ; Point to the vector savearea
-                       oris            r20,r20,hi16(MASK(MSR_VEC))     ; Turn on vector
-                       mtmsr           r20                                                     ; Turn on vector
-                       isync
                        
                        li                      r11,emvr1                                       ; Another savearea
                        stvxl           v0,r10,r2                                       ; Save V0