2019-01-23 07:56:00 +01:00
|
|
|
config ISA_BUS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config APM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config I82378
|
|
|
|
bool
|
2019-01-23 07:56:09 +01:00
|
|
|
select ISA_BUS
|
2019-01-25 07:21:49 +01:00
|
|
|
select I8259
|
|
|
|
select I8254
|
|
|
|
select I82374
|
|
|
|
select MC146818RTC
|
2019-03-16 21:08:06 +01:00
|
|
|
select PCSPK
|
2019-01-23 07:56:00 +01:00
|
|
|
|
2019-09-30 17:04:36 +02:00
|
|
|
config ISA_SUPERIO
|
2019-01-23 07:56:00 +01:00
|
|
|
bool
|
2019-01-23 07:56:09 +01:00
|
|
|
select ISA_BUS
|
2020-01-15 12:22:58 +01:00
|
|
|
select PCKBD
|
2021-06-14 21:32:18 +02:00
|
|
|
select FDC_ISA
|
2019-09-30 17:04:36 +02:00
|
|
|
|
|
|
|
config PC87312
|
|
|
|
bool
|
|
|
|
select ISA_SUPERIO
|
2019-01-25 07:21:49 +01:00
|
|
|
select I8259
|
|
|
|
select I8254
|
|
|
|
select I8257
|
|
|
|
select MC146818RTC
|
|
|
|
select SERIAL_ISA
|
|
|
|
select PARALLEL
|
2021-06-14 21:32:18 +02:00
|
|
|
select FDC_ISA
|
2019-01-25 07:21:49 +01:00
|
|
|
select IDE_ISA
|
2019-01-23 07:56:00 +01:00
|
|
|
|
2019-10-28 16:12:18 +01:00
|
|
|
config PIIX3
|
|
|
|
bool
|
|
|
|
select ISA_BUS
|
|
|
|
|
2019-01-23 07:56:00 +01:00
|
|
|
config PIIX4
|
|
|
|
bool
|
2019-01-25 07:21:49 +01:00
|
|
|
# For historical reasons, SuperIO devices are created in the board
|
|
|
|
# for PIIX4.
|
2019-01-23 07:56:09 +01:00
|
|
|
select ISA_BUS
|
2019-03-16 21:08:05 +01:00
|
|
|
select USB_UHCI
|
2019-01-23 07:56:00 +01:00
|
|
|
|
|
|
|
config VT82C686
|
|
|
|
bool
|
2019-09-30 17:04:36 +02:00
|
|
|
select ISA_SUPERIO
|
2019-01-23 07:56:11 +01:00
|
|
|
select ACPI_SMBUS
|
2019-01-25 07:21:49 +01:00
|
|
|
select SERIAL_ISA
|
2021-06-14 21:32:18 +02:00
|
|
|
select FDC_ISA
|
2021-03-09 20:08:00 +01:00
|
|
|
select USB_UHCI
|
2021-03-02 09:00:42 +01:00
|
|
|
select APM
|
hw/isa/vt82c686: Add missing Kconfig dependency (runtime error)
When building the Pegasos2 machine stand-alone we get:
$ qemu-system-ppc -M pegasos2 -bios pegasos2.rom
ERROR:qom/object.c:714:object_new_with_type: assertion failed: (type != NULL)
Bail out! ERROR:qom/object.c:714:object_new_with_type: assertion failed: (type != NULL)
Looking at the backtraces:
Thread 1 "qemu-system-ppc" received signal SIGABRT, Aborted.
(gdb) bt
#0 0x00007ffff53877d5 in raise () at /lib64/libc.so.6
#1 0x00007ffff5370895 in abort () at /lib64/libc.so.6
#2 0x00007ffff6dc4b6c in g_assertion_message_expr.cold () at /lib64/libglib-2.0.so.0
#3 0x00007ffff6e229ff in g_assertion_message_expr () at /lib64/libglib-2.0.so.0
#4 0x0000555555a0c8f4 in object_new_with_type (type=0x0) at qom/object.c:714
#5 0x0000555555a0c9d5 in object_new (typename=0x555555c7afe4 "isa-pit") at qom/object.c:747
#6 0x0000555555a053b8 in qdev_new (name=0x555555c7afe4 "isa-pit") at hw/core/qdev.c:153
#7 0x00005555557cdd05 in isa_new (name=0x555555c7afe4 "isa-pit") at hw/isa/isa-bus.c:160
#8 0x00005555557cf518 in i8254_pit_init (bus=0x55555603d140, base=64, isa_irq=0, alt_irq=0x0) at include/hw/timer/i8254.h:54
#9 0x00005555557d12f9 in vt8231_realize (d=0x5555563d9770, errp=0x7fffffffcc28) at hw/isa/vt82c686.c:704
(gdb) bt
#0 0x00007ffff54bd7d5 in raise () at /lib64/libc.so.6
#1 0x00007ffff54a6895 in abort () at /lib64/libc.so.6
#2 0x00005555558f7796 in object_new (typename=0x555555ad4889 "isa-parallel") at qom/object.c:749
#3 object_new (typename=type0x555555ad4889 "isa-parallel") at qom/object.c:743
#4 0x00005555558f0d46 in qdev_new (name=0x555555ad4889 "isa-parallel") at hw/core/qdev.c:153
#5 0x000055555576b669 in isa_new (name=0x555555ad4889 "isa-parallel") at hw/isa/isa-bus.c:160
#6 0x000055555576bbe8 in isa_superio_realize (dev=0x555555f15910, errp=<optimized out>) at hw/isa/isa-superio.c:54
#7 0x000055555576d5ed in via_superio_realize (d=0x555555f15910, errp=0x7fffffffcb30) at hw/isa/vt82c686.c:292
#8 0x00005555558f12c1 in device_set_realized (obj=<optimized out>, ...) at hw/core/qdev.c:761
#9 0x00005555558f5066 in property_set_bool (obj=0x555555f15910, ..., errp=0x7fffffffcbb0) at qom/object.c:2262
#10 0x00005555558f7f38 in object_property_set (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/object.c:1407
#11 0x00005555558fb2d0 in object_property_set_qobject (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/qom-qobject.c:28
#12 0x00005555558f8525 in object_property_set_bool (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/object.c:1477
#13 0x00005555558f18ee in qdev_realize (dev=0x555555f15910, bus=0x55555602a610, errp=<optimized out>) at hw/core/qdev.c:389
#14 0x00005555558f197f in qdev_realize_and_unref (dev=0x555555f15910, bus=0x55555602a610, errp=<optimized out>) at hw/core/qdev.c:396
#15 0x000055555576b709 in isa_realize_and_unref (errp=<optimized out>, bus=0x55555602a610, dev=0x555555f15910) at hw/isa/isa-bus.c:179
#16 isa_create_simple (bus=0x55555602a610, name=0x555555adc33b "vt8231-superio") at hw/isa/isa-bus.c:173
#17 0x000055555576d9b7 in vt8231_realize (d=0x555556186a50, errp=<optimized out>) at hw/isa/vt82c686.c:706
The "isa-pit" type (TYPE_I8254) and "isa-parallel" are missing. Add them.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210515173716.358295-12-philmd@redhat.com>
[PMD: Added "isa-parallel" later]
2021-05-14 11:56:57 +02:00
|
|
|
select I8254
|
2021-05-14 11:50:03 +02:00
|
|
|
select I8257
|
|
|
|
select I8259
|
|
|
|
select MC146818RTC
|
hw/isa/vt82c686: Add missing Kconfig dependency (runtime error)
When building the Pegasos2 machine stand-alone we get:
$ qemu-system-ppc -M pegasos2 -bios pegasos2.rom
ERROR:qom/object.c:714:object_new_with_type: assertion failed: (type != NULL)
Bail out! ERROR:qom/object.c:714:object_new_with_type: assertion failed: (type != NULL)
Looking at the backtraces:
Thread 1 "qemu-system-ppc" received signal SIGABRT, Aborted.
(gdb) bt
#0 0x00007ffff53877d5 in raise () at /lib64/libc.so.6
#1 0x00007ffff5370895 in abort () at /lib64/libc.so.6
#2 0x00007ffff6dc4b6c in g_assertion_message_expr.cold () at /lib64/libglib-2.0.so.0
#3 0x00007ffff6e229ff in g_assertion_message_expr () at /lib64/libglib-2.0.so.0
#4 0x0000555555a0c8f4 in object_new_with_type (type=0x0) at qom/object.c:714
#5 0x0000555555a0c9d5 in object_new (typename=0x555555c7afe4 "isa-pit") at qom/object.c:747
#6 0x0000555555a053b8 in qdev_new (name=0x555555c7afe4 "isa-pit") at hw/core/qdev.c:153
#7 0x00005555557cdd05 in isa_new (name=0x555555c7afe4 "isa-pit") at hw/isa/isa-bus.c:160
#8 0x00005555557cf518 in i8254_pit_init (bus=0x55555603d140, base=64, isa_irq=0, alt_irq=0x0) at include/hw/timer/i8254.h:54
#9 0x00005555557d12f9 in vt8231_realize (d=0x5555563d9770, errp=0x7fffffffcc28) at hw/isa/vt82c686.c:704
(gdb) bt
#0 0x00007ffff54bd7d5 in raise () at /lib64/libc.so.6
#1 0x00007ffff54a6895 in abort () at /lib64/libc.so.6
#2 0x00005555558f7796 in object_new (typename=0x555555ad4889 "isa-parallel") at qom/object.c:749
#3 object_new (typename=type0x555555ad4889 "isa-parallel") at qom/object.c:743
#4 0x00005555558f0d46 in qdev_new (name=0x555555ad4889 "isa-parallel") at hw/core/qdev.c:153
#5 0x000055555576b669 in isa_new (name=0x555555ad4889 "isa-parallel") at hw/isa/isa-bus.c:160
#6 0x000055555576bbe8 in isa_superio_realize (dev=0x555555f15910, errp=<optimized out>) at hw/isa/isa-superio.c:54
#7 0x000055555576d5ed in via_superio_realize (d=0x555555f15910, errp=0x7fffffffcb30) at hw/isa/vt82c686.c:292
#8 0x00005555558f12c1 in device_set_realized (obj=<optimized out>, ...) at hw/core/qdev.c:761
#9 0x00005555558f5066 in property_set_bool (obj=0x555555f15910, ..., errp=0x7fffffffcbb0) at qom/object.c:2262
#10 0x00005555558f7f38 in object_property_set (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/object.c:1407
#11 0x00005555558fb2d0 in object_property_set_qobject (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/qom-qobject.c:28
#12 0x00005555558f8525 in object_property_set_bool (obj=0x555555f15910, name=0x555555b1b1e3 "realized", ...) at qom/object.c:1477
#13 0x00005555558f18ee in qdev_realize (dev=0x555555f15910, bus=0x55555602a610, errp=<optimized out>) at hw/core/qdev.c:389
#14 0x00005555558f197f in qdev_realize_and_unref (dev=0x555555f15910, bus=0x55555602a610, errp=<optimized out>) at hw/core/qdev.c:396
#15 0x000055555576b709 in isa_realize_and_unref (errp=<optimized out>, bus=0x55555602a610, dev=0x555555f15910) at hw/isa/isa-bus.c:179
#16 isa_create_simple (bus=0x55555602a610, name=0x555555adc33b "vt8231-superio") at hw/isa/isa-bus.c:173
#17 0x000055555576d9b7 in vt8231_realize (d=0x555556186a50, errp=<optimized out>) at hw/isa/vt82c686.c:706
The "isa-pit" type (TYPE_I8254) and "isa-parallel" are missing. Add them.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210515173716.358295-12-philmd@redhat.com>
[PMD: Added "isa-parallel" later]
2021-05-14 11:56:57 +02:00
|
|
|
select PARALLEL
|
2019-01-23 07:56:00 +01:00
|
|
|
|
|
|
|
config SMC37C669
|
|
|
|
bool
|
2019-09-30 17:04:36 +02:00
|
|
|
select ISA_SUPERIO
|
2019-01-25 07:21:49 +01:00
|
|
|
select SERIAL_ISA
|
|
|
|
select PARALLEL
|
2021-06-14 21:32:18 +02:00
|
|
|
select FDC_ISA
|
2019-01-23 07:56:00 +01:00
|
|
|
|
|
|
|
config LPC_ICH9
|
|
|
|
bool
|
2019-01-25 07:21:49 +01:00
|
|
|
# For historical reasons, SuperIO devices are created in the board
|
|
|
|
# for ICH9.
|
2019-01-23 07:56:09 +01:00
|
|
|
select ISA_BUS
|
2019-01-23 07:56:10 +01:00
|
|
|
select ACPI_SMBUS
|
2019-01-23 07:56:09 +01:00
|
|
|
select ACPI_X86_ICH
|