Revision 6b35e7bf

b/hw/pc.c
54 54
#define BIOS_CFG_IOPORT 0x510
55 55
#define FW_CFG_ACPI_TABLES (FW_CFG_ARCH_LOCAL + 0)
56 56
#define FW_CFG_SMBIOS_ENTRIES (FW_CFG_ARCH_LOCAL + 1)
57
#define FW_CFG_IRQ0_OVERRIDE (FW_CFG_ARCH_LOCAL + 2)
57 58

  
58 59
#define MAX_IDE_BUS 2
59 60

  
......
476 477
    fw_cfg_add_i64(fw_cfg, FW_CFG_RAM_SIZE, (uint64_t)ram_size);
477 478
    fw_cfg_add_bytes(fw_cfg, FW_CFG_ACPI_TABLES, (uint8_t *)acpi_tables,
478 479
                     acpi_tables_len);
480
    fw_cfg_add_bytes(fw_cfg, FW_CFG_IRQ0_OVERRIDE, &irq0override, 1);
479 481

  
480 482
    smbios_table = smbios_get_table(&smbios_len);
481 483
    if (smbios_table)
b/sysemu.h
113 113
extern int graphic_width;
114 114
extern int graphic_height;
115 115
extern int graphic_depth;
116
extern uint8_t irq0override;
116 117
extern DisplayType display_type;
117 118
extern const char *keyboard_layout;
118 119
extern int win2k_install_hack;
b/vl.c
227 227
int no_shutdown = 0;
228 228
int cursor_hide = 1;
229 229
int graphic_rotate = 0;
230
uint8_t irq0override = 1;
230 231
#ifndef _WIN32
231 232
int daemonize = 0;
232 233
#endif

Also available in: Unified diff