diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-05-22 17:43:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-05-22 17:43:18 -0700 |
commit | 9e08dc7e6528252a1f81b1c380a10a32f46d84e6 (patch) | |
tree | d737e8ae8fc7481a772ef1c0c3efe9c3716957f4 | |
parent | fff762e1c19c4b684fa4150893196faa2d72743c (diff) | |
download | syslinux-elf-9e08dc7e6528252a1f81b1c380a10a32f46d84e6.tar.gz syslinux-elf-9e08dc7e6528252a1f81b1c380a10a32f46d84e6.tar.xz syslinux-elf-9e08dc7e6528252a1f81b1c380a10a32f46d84e6.zip |
We need to bloody well set KernelVersion before using it...syslinux-3.50-pre12
-rw-r--r-- | runkernel.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runkernel.inc b/runkernel.inc index d11ecb73..1ba620e6 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+? |