Displaying 3 results from an estimated 3 matches for "pc_getline".
2007 Jan 04
2
Automatically choose between 32-bit and 64-bit kernel
...econfig.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 byte [HasDefault64],1	; Note that we saw a default64
+		mov di,de...
2004 Oct 07
1
x86 vs. x86_64 detection proof of concept patch (try two)
....11.new/parseconfig.inc	2004-10-04 17:33:55.000000000
-0600
@@ -100,6 +100,17 @@
 .err:		ret
 ;
+; "kernel64" command
+pc_kernel64:	cmp word [VKernelCtr],byte 0
+		je .err				; ("label" section only)
+		cmp word [CpuIs64], 0
+		je .err				; Ignore if kernel cpu is 32bit
+		call pc_getline
+		mov di,VKernelBuf+vk_rname
+		call mangle_name
+.err:		ret
+
+;
 ; "timeout" command
 ;
 pc_timeout:	call getint
diff -u syslinux-2.11/pxelinux.asm syslinux-2.11.new/pxelinux.asm
--- syslinux-2.11/pxelinux.asm	2004-08-04 00:16:53.000000000 -0600
+++ syslinux-2.11.new/pxelinux.asm	2004-...