|
@@ -1,6 +1,8 @@
|
|
/*
|
|
/*
|
|
* QEMU HPPA hardware system emulator.
|
|
* QEMU HPPA hardware system emulator.
|
|
- * Copyright 2018 Helge Deller <deller@gmx.de>
|
|
|
|
|
|
+ * (C) Copyright 2018-2023 Helge Deller <deller@gmx.de>
|
|
|
|
+ *
|
|
|
|
+ * This work is licensed under the GNU GPL license version 2 or later.
|
|
*/
|
|
*/
|
|
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "qemu/osdep.h"
|
|
@@ -29,7 +31,7 @@
|
|
#include "net/net.h"
|
|
#include "net/net.h"
|
|
#include "qemu/log.h"
|
|
#include "qemu/log.h"
|
|
|
|
|
|
-#define MIN_SEABIOS_HPPA_VERSION 6 /* require at least this fw version */
|
|
|
|
|
|
+#define MIN_SEABIOS_HPPA_VERSION 10 /* require at least this fw version */
|
|
|
|
|
|
#define HPA_POWER_BUTTON (FIRMWARE_END - 0x10)
|
|
#define HPA_POWER_BUTTON (FIRMWARE_END - 0x10)
|
|
|
|
|
|
@@ -95,9 +97,7 @@ static ISABus *hppa_isa_bus(void)
|
|
|
|
|
|
isa_bus = isa_bus_new(NULL, get_system_memory(), isa_region,
|
|
isa_bus = isa_bus_new(NULL, get_system_memory(), isa_region,
|
|
&error_abort);
|
|
&error_abort);
|
|
- isa_irqs = i8259_init(isa_bus,
|
|
|
|
- /* qemu_allocate_irq(dino_set_isa_irq, s, 0)); */
|
|
|
|
- NULL);
|
|
|
|
|
|
+ isa_irqs = i8259_init(isa_bus, NULL);
|
|
isa_bus_register_input_irqs(isa_bus, isa_irqs);
|
|
isa_bus_register_input_irqs(isa_bus, isa_irqs);
|
|
|
|
|
|
return isa_bus;
|
|
return isa_bus;
|