diff --git a/x86/startup-x86_64.asm b/x86/startup-x86_64.asm index bd5a6db1f53d8ce394cf20744d31e3cadbcca48c..95c01e2dc2965891b28e22e9ffd3ece6da7983dc 100644 --- a/x86/startup-x86_64.asm +++ b/x86/startup-x86_64.asm @@ -103,8 +103,6 @@ startup_arch: or ebx, 1 << 31 | 1 << 16 | 1 ;Bit 31: Paging, Bit 16: write protect kernel, Bit 0: Protected Mode mov cr0, ebx - xchg bx, bx - ; far jump to enable Long Mode and load CS with 64 bit segment jmp gdt.kernel_code:long_mode