X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/bd504ef0e0b883cdd7917b73b3574eb9ce669905..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/x86_64/start.s?ds=sidebyside diff --git a/osfmk/x86_64/start.s b/osfmk/x86_64/start.s index 22045a2d5..8d2230bf7 100644 --- a/osfmk/x86_64/start.s +++ b/osfmk/x86_64/start.s @@ -120,9 +120,8 @@ EXT(mc_task_stack_end): 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 /*