]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/hibernate_restore.s
xnu-1228.7.58.tar.gz
[apple/xnu.git] / osfmk / i386 / hibernate_restore.s
index 772c491868e1b01d3107e0087c43b907c8623bce..756de43a4ff58e81075b503c34fca5d64a07dcb5 100644 (file)
@@ -172,7 +172,7 @@ LEXT(hibernate_machine_entrypoint)
         POSTCODE(0x3)
         
        movl    %cr4,%eax
-        orl     $(CR4_PAE|CR4_PGE),%eax
+        orl     $(CR4_PAE),%eax
         movl    %eax,%cr4               /* enable page size extensions */
 
        movl    $(MSR_IA32_EFER), %ecx                  /* MSR number in ecx */
@@ -259,7 +259,7 @@ LEXT(hibernate_restore_phys_page)
        cld
        /* move longs*/
        movl    %edx,%ecx
-       sarl    $2,%ecx
+       shrl    $2,%ecx
        rep
        movsl
        /* move bytes*/