From: hpa Date: Sun, 19 Dec 2004 07:30:31 +0000 (+0000) Subject: Make compressed vkernels actually work. X-Git-Tag: syslinux-3.11~276 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caad4780fae735399a779c86dc383a42aaad61ac;p=profile%2Fivi%2Fsyslinux.git Make compressed vkernels actually work. --- diff --git a/ui.inc b/ui.inc index 1339905..17464bc 100644 --- a/ui.inc +++ b/ui.inc @@ -229,18 +229,25 @@ clin_opt_ok: ; vk_check: xor si,si ; Beginning of vk_seg - push word vk_seg - pop ds .scan: cmp si,[VKernelBytes] jae .not_vk + + push ds + push word vk_seg + pop ds + mov di,VKernelBuf call rllunpack + pop ds ; SI updated on return + sub di,cx ; Return to beginning of buf push si + mov si,KernelName mov cx,FILENAME_MAX es repe cmpsb + pop si je .found jmp .scan @@ -281,8 +288,6 @@ vk_check: %endif .not_vk: - push cs - pop ds ; ; Not a "virtual kernel" - check that's OK and construct the command line