blob: 0b3e42e22de0f84089f1d6e368c14c575c714593 [file] [log] [blame]
Kevin O'Connorbdce35f2008-02-26 21:33:14 -05001#ifndef __CONFIG_H
2#define __CONFIG_H
Kevin O'Connord9b06592008-05-06 20:00:12 -04003
Kevin O'Connorf076a3e2008-02-25 22:25:15 -05004// Configuration definitions.
5
Kevin O'Connord9b06592008-05-06 20:00:12 -04006/* Dont support QEMU BIOS by default.
7 * Change CONFIG_QEMU to 1 to support QEMU. */
8#define CONFIG_QEMU 0
9
10#if (QEMU_SUPPORT == 1)
11#define CONFIG_APPNAME "QEMU"
12#else
13#define CONFIG_APPNAME "Bochs"
14#endif
15
Kevin O'Connorf076a3e2008-02-25 22:25:15 -050016#define CONFIG_FLOPPY_SUPPORT 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050017#define CONFIG_PS2_MOUSE 1
Kevin O'Connor3491e8b2008-02-29 00:22:27 -050018#define CONFIG_ATA 1
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050019#define CONFIG_KBD_CALL_INT15_4F 1
Kevin O'Connor180a9592008-03-04 22:50:53 -050020#define CONFIG_CDROM_BOOT 1
Kevin O'Connordfa16502008-03-22 20:13:08 -040021#define CONFIG_CDROM_EMU 1
Kevin O'Connora0dc2962008-03-16 14:29:32 -040022#define CONFIG_PCIBIOS 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050023
Kevin O'Connord9b06592008-05-06 20:00:12 -040024/* define it if the (emulated) hardware supports SMM mode */
25#define CONFIG_USE_SMM 1
26
27/* if true, put the MP float table and ACPI RSDT in EBDA and the MP
28 table in RAM. Unfortunately, Linux has bugs with that, so we prefer
29 to modify the BIOS in shadow RAM */
30#define CONFIG_USE_EBDA_TABLES 0
31
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050032#define CONFIG_MAX_ATA_INTERFACES 4
33#define CONFIG_MAX_ATA_DEVICES (CONFIG_MAX_ATA_INTERFACES*2)
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050034
35#define CONFIG_STACK_SEGMENT 0x00
36#define CONFIG_STACK_OFFSET 0xfffe
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050037
Kevin O'Connor438f6352008-03-30 21:46:53 -040038#define CONFIG_ACPI_DATA_SIZE 0x00010000L
39
Kevin O'Connor44c631d2008-03-02 11:24:36 -050040#define CONFIG_MODEL_ID 0xFC
41#define CONFIG_SUBMODEL_ID 0x00
42#define CONFIG_BIOS_REVISION 0x01
43
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050044#endif // config.h