patch-2.4.22 linux-2.4.22/arch/x86_64/boot/setup.S

Next file: linux-2.4.22/arch/x86_64/config.in
Previous file: linux-2.4.22/arch/x86_64/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/x86_64/boot/setup.S linux-2.4.22/arch/x86_64/boot/setup.S
@@ -347,6 +347,11 @@
 sse_ok:
 	popw	%ds
 	
+# tell BIOS we want to go to long mode
+	movl  $0xec00,%eax	# declare target operating mode
+	movl  $2,%ebx		# long mode
+	int $0x15			
+	
 # Get memory size (extended mem, kB)
 
 	xorl	%eax, %eax

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)