]> 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 40adf070a73f7f0a79db537d0a94039a628503e1..6bf24f4aa250be4b27c15acf33213a600d958bff 100644 (file)
@@ -29,7 +29,6 @@
 
 */
 
-#include <cpus.h>
 #include <ppc/asm.h>
 #include <ppc/proc_reg.h>
 #include <ppc/exception.h>
 
 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