X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Flilo.h;h=86d87ca84f3e5d6ad2247ca20621e1565a3a9781;hb=0a7ead9db7967764f0d93d30f9a83c94cb6fc358;hp=1f1ef7dcaf0d81b5cf172f78f80746f3a2c7c867;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/src/lilo.h b/src/lilo.h index 1f1ef7d..86d87ca 100644 --- a/src/lilo.h +++ b/src/lilo.h @@ -1,14 +1,13 @@ /* lilo.h - LILO constants - -Copyright 1992-1998 Werner Almesberger. -Copyright 1999-2006 John Coffman. -All rights reserved. - -Licensed under the terms contained in the file 'COPYING' in the -source directory. - -*/ - + * + * Copyright 1992-1998 Werner Almesberger + * Copyright 1999-2006 John Coffman + * Copyright 2009-2011 Joachim Wiedorn + * All rights reserved. + * + * Licensed under the terms contained in the file 'COPYING' + * in the source directory. + */ /* This file is also included by the boot loader assembler code. Put everything that isn't legal C syntax or isn't swallowed by the @@ -253,12 +252,11 @@ source directory. #define STAGE_FLAG_MENU 0x0200 /* boot loader supports menu interface */ #define STAGE_FLAG_BMP4 0x0400 /* boot loader supports 640x480x4 bitmaps */ -#define SETUPSECS 4 /* nr of setup sectors */ -#define VSS_NUM 497 /* address where variable setup size is - stored */ +#define VSS_NUM 497 /* address where variable setup size is stored */ #define VGA_SET 506 /* address of initial kernel VGA mode */ -#define MAX_SETUPSECS 31 /* maximum number of sectors in kernel - setup code (+ bootsect) */ +#define SETUPSECS 4 /* default number of setup sectors */ +#define MAX_SETUPSECS 63 /* maximum number of sectors in kernel + setup code (+ bootsect) (for kernel >= 2.4.0) */ #define MAX_KERNEL_SECS 1024 /* absolute maximum kernel size */ #define SPECIAL_SECTORS 2 /* special sectors (don't compact) at beginning of map sections */