summaryrefslogtreecommitdiff
path: root/config.inc
blob: d6a981e8fea7fcb2b51980ba17da4b349ef01cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;; -----------------------------------------------------------------------
;;
;;   Copyright 2002-2008 H. Peter Anvin - All Rights Reserved
;;
;;   This program is free software; you can redistribute it and/or modify
;;   it under the terms of the GNU General Public License as published by
;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
;;   Boston MA 02111-1307, USA; either version 2 of the License, or
;;   (at your option) any later version; incorporated herein by reference.
;;
;; -----------------------------------------------------------------------

;;
;; config.inc
;;
;; Common configuration options.  Some of these are imposed by the kernel.
;;

%ifndef _CONFIG_INC
%define _CONFIG_INC

max_cmd_len	equ 2047		; Must be &3; 2047 is the kernel limit
HIGHMEM_MAX	equ 037FFFFFFh		; DEFAULT highest address for an initrd
DEFAULT_BAUD	equ 9600		; Default baud rate for serial port
BAUD_DIVISOR	equ 115200		; Serial port parameter
MAX_FKEYS	equ 12			; Number of F-key help files

%assign	DO_WBINVD 0			; Should we use WBINVD or not?

;
; Set this to return the A20 gate to its previous state, instead of
; leaving it open.  This has caused problems, because there appear
; to be a race condition between disabling the A20 gate and trying to
; re-enter protected mode, causing the A20 gate disable to take effect
; after we have already done the A20 enabled check, with disastrous
; consequences.  Plus, there seems to be little or no demand for it.
;
%assign DISABLE_A20	0


;
; Version number definitinons
;
%ifndef DEPEND				; Generated file
%include "version.gen"
%endif

;
; Should be updated with every release to avoid bootsector/SYS file mismatch
;
%define	version_str	VERSION		; Must be 4 characters long!
%define date		DATE_STR	; Defined from the Makefile
%define	year		'2008'

%endif ; _CONFIG_INC