blob: ed5d80912b507c0ee6777a2b40547f21c580d0c0 [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'Connorf64f0db2008-05-18 02:42:58 -040016// Configure as a payload coreboot payload.
17#define CONFIG_COREBOOT 0
18
Kevin O'Connorac8df8c2008-05-24 23:46:33 -040019// Control how verbose debug output is.
20#define CONFIG_DEBUG_LEVEL 1
21
Kevin O'Connor0f803e42008-05-24 23:07:16 -040022// Send debugging information to serial port
Kevin O'Connor1812e202008-05-07 21:29:50 -040023#define CONFIG_DEBUG_SERIAL 0
24
Kevin O'Connorf076a3e2008-02-25 22:25:15 -050025#define CONFIG_FLOPPY_SUPPORT 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050026#define CONFIG_PS2_MOUSE 1
Kevin O'Connor3491e8b2008-02-29 00:22:27 -050027#define CONFIG_ATA 1
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050028#define CONFIG_KBD_CALL_INT15_4F 1
Kevin O'Connor180a9592008-03-04 22:50:53 -050029#define CONFIG_CDROM_BOOT 1
Kevin O'Connordfa16502008-03-22 20:13:08 -040030#define CONFIG_CDROM_EMU 1
Kevin O'Connor0f803e42008-05-24 23:07:16 -040031// Support built-in PIR table in 0xf000 segment
32#define CONFIG_PIRTABLE 1
33// Support int 1a/b1 PCI BIOS calls
Kevin O'Connora0dc2962008-03-16 14:29:32 -040034#define CONFIG_PCIBIOS 1
Kevin O'Connorc65a3802008-03-02 13:58:23 -050035
Kevin O'Connord9b06592008-05-06 20:00:12 -040036/* define it if the (emulated) hardware supports SMM mode */
37#define CONFIG_USE_SMM 1
38
39/* if true, put the MP float table and ACPI RSDT in EBDA and the MP
40 table in RAM. Unfortunately, Linux has bugs with that, so we prefer
41 to modify the BIOS in shadow RAM */
42#define CONFIG_USE_EBDA_TABLES 0
43
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050044#define CONFIG_MAX_ATA_INTERFACES 4
45#define CONFIG_MAX_ATA_DEVICES (CONFIG_MAX_ATA_INTERFACES*2)
Kevin O'Connor38fcbfe2008-02-25 22:30:47 -050046
47#define CONFIG_STACK_SEGMENT 0x00
48#define CONFIG_STACK_OFFSET 0xfffe
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050049
Kevin O'Connor438f6352008-03-30 21:46:53 -040050#define CONFIG_ACPI_DATA_SIZE 0x00010000L
51
Kevin O'Connor44c631d2008-03-02 11:24:36 -050052#define CONFIG_MODEL_ID 0xFC
53#define CONFIG_SUBMODEL_ID 0x00
54#define CONFIG_BIOS_REVISION 0x01
55
Kevin O'Connor74534532008-05-12 18:28:58 -040056// Start of fixed addresses in 0xf0000 segment.
57#define CONFIG_START_FIXED 0xe050
58
Kevin O'Connorbdce35f2008-02-26 21:33:14 -050059#endif // config.h