Displaying 4 results from an estimated 4 matches for "vkernelend".
Did you mean:
  kernel_end
  
2010 Jul 15
1
Accessing command_line from core C code
...uct vkernel *vk;
+    void *buf;
+    uint32_t t;
+    uint32_t s;
+
+    printf("\ncommand_line: %s\n", command_line);
+    buf = malloc(sizeof(struct vkernel));
+    memset(buf, 0, sizeof(struct vkernel));
+    s = strlen((char *)command_line);
+
+    t = HighMemSize;
+    while (t > VKernelEnd) {
+       regs->esi.l = t;
+       regs->edi.l = (uint32_t)buf;
+       rllunpack(regs);
+       vk = (struct vkernel *)buf;
+       if (!strncmp(vk->vname, (char *)command_line, s)) {
+         printf(" %s", vk->vname);
+       }
+       t = regs->esi.l;
+    }
+    print...
2009 Apr 27
3
Question about vk_check and rllunpack
...abel in config file is found),
but don't want to "cry wolf" (again), so let's start with a question:
ui.inc:
;
; Now check if it is a "virtual kernel"
;
vk_check:
                mov esi,[HighMemSize]           ; Start from top of memory
.scan:
                cmp esi,[VKernelEnd]
                jbe .not_vk
                mov di,VKernelBuf
                call rllunpack
                ; ESI updated on return
Since "shuffler: make the new shuffler actually work" (0d8c3d040d9f733f95384f2d5e46609f73bd9c78)
rllunpack in rllpack.inc looks like:
;
; rllunpack:
;...
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...if IS_PXELINUX
@@ -142,6 +144,48 @@
 		mov byte [FuncFlag],1
 		jmp short get_char_2
 
+display_labels:
+		cmp word [LabelCompl],1		; Label completion enabled?
+		jnz get_char_2
+		mov cx,di
+		sub cx,command_line
+		call crlf
+		mov esi,[HighMemSize]		; Start from top of memory
+.scan:
+		cmp esi,[VKernelEnd]
+		jbe .not_vk
+
+		push cx				; save command line size
+
+		mov di,VKernelBuf
+		call rllunpack
+		; ESI updated on return
+
+		sub di,cx			; Return to beginning of buf
+		pop cx				; restore command line size
+		push si				; save SI
+		cmp cx,0
+		jz .print
+		push di
+		push cx
+		mov si,comman...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
    git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
  ldlinux: Initialise 'p' before using it.
  ldlinux: Parse