Layout fixed area using linker instead of assembler.
[seabios.git] / src / config.h
index 35c7e3ecb43b2334f00c508029a4f39dba06bf75..8c4b2f0293408f8bb181d03e8be68434259fa83d 100644 (file)
@@ -12,6 +12,8 @@
 #define CONFIG_APPNAME6 "BOCHS "
 #define CONFIG_APPNAME4 "BXPC"
 
+// Configure for use with KVM.
+#define CONFIG_KVM 0
 // Configure as a coreboot payload.
 #define CONFIG_COREBOOT 0
 
@@ -37,6 +39,8 @@
 #define CONFIG_PCIBIOS 1
 // Support int 15/53 APM BIOS calls
 #define CONFIG_APMBIOS 1
+// Support PnP BIOS entry point.
+#define CONFIG_PNPBIOS 1
 // Support int 19/18 system bootup support
 #define CONFIG_BOOT 1
 // Support int 14 serial port calls
 #define BUILD_SMM_ADDR            0xa8000
 #define BUILD_SMM_SIZE            0x8000
 
-// Start of fixed addresses in 0xf0000 segment.
-#define BUILD_START_FIXED       0xe050
-
 // Important real-mode segments
+#define SEG_IVT      0x0000
+#define SEG_BDA      0x0040
 #define SEG_BIOS     0xf000
-#define SEG_EBDA     0x9fc0
-#define SEG_BDA      0x0000
 
 // Segment definitions in protected mode (see rombios32_gdt in romlayout.S)
 #define SEG32_MODE32_CS    (2 << 3)
 #define DEBUG_ISR_76 10
 #define DEBUG_ISR_hwpic1 1
 #define DEBUG_ISR_hwpic2 1
+#define DEBUG_HDL_pnp 1
 
 #endif // config.h