From 880b761e9720e8696acdfb88d0c011d92c4756fe Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 3 May 2006 18:05:05 -0700 Subject: [PATCH] Remove check that a kernel can only be 8 MB or smaller. --- runkernel.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/runkernel.inc b/runkernel.inc index fcffd44..7627449 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -35,16 +35,17 @@ ; kernel code. The boot sector is never executed when using an external ; booting utility, but it contains some status bytes that are necessary. ; -; First check that our kernel is at least 1K and less than 8M (if it is -; more than 8M, we need to change the logic for loading it anyway...) +; First check that our kernel is at least 1K, or else it isn't long +; enough to have the appropriate headers. ; ; We used to require the kernel to be 64K or larger, but it has gotten ; popular to use the Linux kernel format for other things, which may ; not be so large. ; +; Additionally, we used to have a test for 8 MB or smaller. Equally +; obsolete. +; is_linux_kernel: - cmp dx,80h ; 8 megs - ja kernel_corrupt and dx,dx jnz kernel_sane cmp ax,1024 ; Bootsect + 1 setup sect -- 2.7.4