Merge gpxe-for-syslinux
[syslinux.git] / config.inc
blobd6a981e8fea7fcb2b51980ba17da4b349ef01cf6
1 ;; -----------------------------------------------------------------------
2 ;;
3 ;;   Copyright 2002-2008 H. Peter Anvin - All Rights Reserved
4 ;;
5 ;;   This program is free software; you can redistribute it and/or modify
6 ;;   it under the terms of the GNU General Public License as published by
7 ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ;;   Boston MA 02111-1307, USA; either version 2 of the License, or
9 ;;   (at your option) any later version; incorporated herein by reference.
11 ;; -----------------------------------------------------------------------
14 ;; config.inc
16 ;; Common configuration options.  Some of these are imposed by the kernel.
19 %ifndef _CONFIG_INC
20 %define _CONFIG_INC
22 max_cmd_len     equ 2047                ; Must be &3; 2047 is the kernel limit
23 HIGHMEM_MAX     equ 037FFFFFFh          ; DEFAULT highest address for an initrd
24 DEFAULT_BAUD    equ 9600                ; Default baud rate for serial port
25 BAUD_DIVISOR    equ 115200              ; Serial port parameter
26 MAX_FKEYS       equ 12                  ; Number of F-key help files
28 %assign DO_WBINVD 0                     ; Should we use WBINVD or not?
31 ; Set this to return the A20 gate to its previous state, instead of
32 ; leaving it open.  This has caused problems, because there appear
33 ; to be a race condition between disabling the A20 gate and trying to
34 ; re-enter protected mode, causing the A20 gate disable to take effect
35 ; after we have already done the A20 enabled check, with disastrous
36 ; consequences.  Plus, there seems to be little or no demand for it.
38 %assign DISABLE_A20     0
42 ; Version number definitinons
44 %ifndef DEPEND                          ; Generated file
45 %include "version.gen"
46 %endif
49 ; Should be updated with every release to avoid bootsector/SYS file mismatch
51 %define version_str     VERSION         ; Must be 4 characters long!
52 %define date            DATE_STR        ; Defined from the Makefile
53 %define year            '2008'
55 %endif ; _CONFIG_INC