]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/x86_64/start.s
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / x86_64 / start.s
index 22045a2d526eb03171c96662aeb3b834f86429e1..8d2230bf7737848e543b70b20fbf933c77d1a393 100644 (file)
@@ -120,9 +120,8 @@ EXT(mc_task_stack_end):
        movl    %cr0,%eax                                       ;\
        orl     $(CR0_PG|CR0_WP),%eax   /* enable paging */     ;\
        movl    %eax,%cr0                                       ;\
        movl    %cr0,%eax                                       ;\
        orl     $(CR0_PG|CR0_WP),%eax   /* enable paging */     ;\
        movl    %eax,%cr0                                       ;\
-       /* "The Aussie Maneuver" ("Myria" variant) */           ;\
-       pushl $(0xcb<<24)|KERNEL64_CS /* reload CS with 0x08 */ ;\
-       call .-1                                                ;\
+       ljmpl   $KERNEL64_CS,$64f                               ;\
+64:                                                            ;\
        .code64
 
 /*
        .code64
 
 /*