From 9e08dc7e6528252a1f81b1c380a10a32f46d84e6 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 22 May 2007 17:43:18 -0700 Subject: [PATCH] We need to bloody well set KernelVersion before using it... --- runkernel.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/runkernel.inc b/runkernel.inc index d11ecb7..1ba620e 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -210,6 +210,7 @@ prepare_header: cmp dword [es:su_header],HEADER_ID ; New setup code ID jne old_kernel ; Old kernel, load low mov ax,[es:su_version] + mov [KernelVersion],ax cmp ax,0200h ; Setup code version 2.0 jb old_kernel ; Old kernel, load low cmp ax,0201h ; Version 2.01+? -- 2.7.4