blob: e896cebb784efac400133d9bdacd590f3ead044b [file] [log] [blame]
Kevin O'Connorbdce35f2008-02-26 21:33:14 -05001#ifndef __CONFIG_H
2#define __CONFIG_H
Kevin O'Connorf076a3e2008-02-25 22:25:15 -05003// Configuration definitions.
4
Kevin O'Connor3d029412008-03-05 20:43:38 -05005//#define QEMU_SUPPORT
6
7#ifdef QEMU_SUPPORT
8#define CONFIG_BIOS_NAME "QEMU"
9#else
10#define CONFIG_BIOS_NAME "Bochs"
11#endif
12
Kevin O'Connorf076a3e2008-02-25 22:25:15 -050013#define CONFIG_FLOPPY_SUPPORT 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050014#define CONFIG_PS2_MOUSE 1
Kevin O'Connor3491e8b2008-02-29 00:22:27 -050015#define CONFIG_ATA 1
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050016#define CONFIG_KBD_CALL_INT15_4F 1
Kevin O'Connor180a9592008-03-04 22:50:53 -050017#define CONFIG_CDROM_BOOT 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050018
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050019#define CONFIG_MAX_ATA_INTERFACES 4
20#define CONFIG_MAX_ATA_DEVICES (CONFIG_MAX_ATA_INTERFACES*2)
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050021
22#define CONFIG_STACK_SEGMENT 0x00
23#define CONFIG_STACK_OFFSET 0xfffe
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050024
Kevin O'Connor44c631d2008-03-02 11:24:36 -050025#define CONFIG_MODEL_ID 0xFC
26#define CONFIG_SUBMODEL_ID 0x00
27#define CONFIG_BIOS_REVISION 0x01
28
Kevin O'Connor3d029412008-03-05 20:43:38 -050029/* define it if the (emulated) hardware supports SMM mode */
30#define CONFIG_SMM 1
31
32/* if true, put the MP float table and ACPI RSDT in EBDA and the MP
33 table in RAM. Unfortunately, Linux has bugs with that, so we prefer
34 to modify the BIOS in shadow RAM */
35#define CONFIG_USE_EBDA_TABLES 0
36
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050037#endif // config.h