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
-  Lines: 12
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/x86_64/boot/setup.S
-  Orig date: 
2003-06-13 07:51:32.000000000 -0700
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)