]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ppc/AltiAssist.s
xnu-517.tar.gz
[apple/xnu.git] / osfmk / ppc / AltiAssist.s
index 5925372aea76f8fe157ad742f2794fb22bbb19fb..540a232b99444118e2ccf0fc67c1d58bde1aeb92 100644 (file)
@@ -39,8 +39,6 @@
 #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