Displaying 1 result from an estimated 1 matches for "hasdefault64".
2007 Jan 04
2
Automatically choose between 32-bit and 64-bit kernel
...nfig.inc syslinux-3.31/parseconfig.inc
--- syslinux-3.31.orig/parseconfig.inc 2006-09-26 00:52:22.000000000 -0400
+++ syslinux-3.31/parseconfig.inc 2007-01-03 16:34:19.000000000 -0500
@@ -20,7 +20,20 @@
;
; "default" command
;
-pc_default: mov di,default_cmd
+pc_default: cmp byte [HasDefault64],0 ; Check if we accepted
'default64'
+ ja pc_getline ; If so, do nothing
+ mov di,default_cmd
+ call getline
+ mov byte [di-1],0 ; null-terminate
+ ret
+
+;
+; "default64" command
+;
+pc_default64: cmp byte [Is64Bit],0 ; Make sure cpu is 64-bit
+ je pc_getline
+ mov b...