Kevin O'Connor | bdce35f | 2008-02-26 21:33:14 -0500 | [diff] [blame] | 1 | #ifndef __CONFIG_H |
| 2 | #define __CONFIG_H |
Kevin O'Connor | f076a3e | 2008-02-25 22:25:15 -0500 | [diff] [blame] | 3 | // Configuration definitions. |
| 4 | |
Kevin O'Connor | 3d02941 | 2008-03-05 20:43:38 -0500 | [diff] [blame^] | 5 | //#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'Connor | f076a3e | 2008-02-25 22:25:15 -0500 | [diff] [blame] | 13 | #define CONFIG_FLOPPY_SUPPORT 1 |
Kevin O'Connor | c65a380 | 2008-03-02 13:58:23 -0500 | [diff] [blame] | 14 | #define CONFIG_PS2_MOUSE 1 |
Kevin O'Connor | 3491e8b | 2008-02-29 00:22:27 -0500 | [diff] [blame] | 15 | #define CONFIG_ATA 1 |
Kevin O'Connor | 38fcbfe | 2008-02-25 22:30:47 -0500 | [diff] [blame] | 16 | #define CONFIG_KBD_CALL_INT15_4F 1 |
Kevin O'Connor | 180a959 | 2008-03-04 22:50:53 -0500 | [diff] [blame] | 17 | #define CONFIG_CDROM_BOOT 1 |
Kevin O'Connor | c65a380 | 2008-03-02 13:58:23 -0500 | [diff] [blame] | 18 | |
Kevin O'Connor | bdce35f | 2008-02-26 21:33:14 -0500 | [diff] [blame] | 19 | #define CONFIG_MAX_ATA_INTERFACES 4 |
| 20 | #define CONFIG_MAX_ATA_DEVICES (CONFIG_MAX_ATA_INTERFACES*2) |
Kevin O'Connor | 38fcbfe | 2008-02-25 22:30:47 -0500 | [diff] [blame] | 21 | |
| 22 | #define CONFIG_STACK_SEGMENT 0x00 |
| 23 | #define CONFIG_STACK_OFFSET 0xfffe |
Kevin O'Connor | bdce35f | 2008-02-26 21:33:14 -0500 | [diff] [blame] | 24 | |
Kevin O'Connor | 44c631d | 2008-03-02 11:24:36 -0500 | [diff] [blame] | 25 | #define CONFIG_MODEL_ID 0xFC |
| 26 | #define CONFIG_SUBMODEL_ID 0x00 |
| 27 | #define CONFIG_BIOS_REVISION 0x01 |
| 28 | |
Kevin O'Connor | 3d02941 | 2008-03-05 20:43:38 -0500 | [diff] [blame^] | 29 | /* 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'Connor | bdce35f | 2008-02-26 21:33:14 -0500 | [diff] [blame] | 37 | #endif // config.h |