Support LOCALBOOT (ISOLINUX-style) in SYSLINUX/EXTLINUX
[profile/ivi/syslinux.git] / config.inc
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.
10 ;;
11 ;; -----------------------------------------------------------------------
12
13 ;;
14 ;; config.inc
15 ;;
16 ;; Common configuration options.  Some of these are imposed by the kernel.
17 ;;
18
19 %ifndef _CONFIG_INC
20 %define _CONFIG_INC
21
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
27
28 %assign DO_WBINVD 0                     ; Should we use WBINVD or not?
29
30 ;
31 ; Local boot supported
32 ;
33 %assign HAS_LOCALBOOT 1
34
35 ;
36 ; Set this to return the A20 gate to its previous state, instead of
37 ; leaving it open.  This has caused problems, because there appear
38 ; to be a race condition between disabling the A20 gate and trying to
39 ; re-enter protected mode, causing the A20 gate disable to take effect
40 ; after we have already done the A20 enabled check, with disastrous
41 ; consequences.  Plus, there seems to be little or no demand for it.
42 ;
43 %assign DISABLE_A20     0
44
45
46 ;
47 ; Version number definitinons
48 ;
49 %ifndef DEPEND                          ; Generated file
50 %include "version.gen"
51 %endif
52
53 ;
54 ; Should be updated with every release to avoid bootsector/SYS file mismatch
55 ;
56 %define version_str     VERSION         ; Must be 4 characters long!
57 %define date            DATE_STR        ; Defined from the Makefile
58 %define year            '2008'
59
60 %endif ; _CONFIG_INC