X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/4452a7af2eac33dbad800bcc91f2399d62c18f53..935ed37a5c468c8a1c07408573c08b8b7ef80e8b:/osfmk/i386/hibernate_restore.s diff --git a/osfmk/i386/hibernate_restore.s b/osfmk/i386/hibernate_restore.s index 772c49186..756de43a4 100644 --- a/osfmk/i386/hibernate_restore.s +++ b/osfmk/i386/hibernate_restore.s @@ -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*/