Displaying 2 results from an estimated 2 matches for "vk_check".
2009 Apr 27
3
Question about vk_check and rllunpack
I am hitting a problem on syslinux-3.80-pre1-2-g6c0fb9e (only last label 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...
2010 Jul 27
2
[PATCH] core: remove HAS_LOCALBOOT
...pc_localboot: call getint
mov byte [VKernelBuf+vk_type],VK_LOCALBOOT
.err: ret
-%endif ; HAS_LOCALBOOT
-
;
; "kernel", "config", ... command
;
diff --git a/core/ui.inc b/core/ui.inc
index 2d44447..0a4bb56 100644
--- a/core/ui.inc
+++ b/core/ui.inc
@@ -415,12 +415,10 @@ vk_check:
mov al,[VKernelBuf+vk_type]
mov [KernelType],al
-%if HAS_LOCALBOOT
; Is this a "localboot" pseudo-kernel?
cmp al,VK_LOCALBOOT ; al == KernelType
mov ax,[VKernelBuf+vk_rname] ; Possible localboot type
je local_boot
-%endif
jmp get_kernel
.not_vk: