[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/5] prep: Initialize PC speaker
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH 4/5] prep: Initialize PC speaker |
Date: |
Mon, 30 Apr 2012 17:24:16 +0200 |
From: Hervé Poussineau <address@hidden>
Speaker init has been added in 506b7ddf889312659b36c667f7ae17bc9e909418,
but audio subsystem init was missing.
Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
hw/ppc_prep.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 9d8e659..61c655c 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -37,6 +37,7 @@
#include "loader.h"
#include "mc146818rtc.h"
#include "blockdev.h"
+#include "arch_init.h"
#include "exec-memory.h"
//#define HARD_DEBUG_PPC_IO
@@ -716,6 +717,9 @@ static void ppc_prep_init (ram_addr_t ram_size,
/* Special port to get debug messages from Open-Firmware */
register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL);
+
+ /* Initialize audio subsystem */
+ audio_init(isa_bus, pci_bus);
}
static QEMUMachine prep_machine = {
--
1.7.7
- [Qemu-devel] [PULL v2] PReP patch queue 2012-04-30, Andreas Färber, 2012/04/30
- [Qemu-devel] [PATCH 3/5] isa: Add isa_bus_from_device() method, Andreas Färber, 2012/04/30
- [Qemu-devel] [PATCH 1/5] i82378/i82374: Do not create DMA controller twice, Andreas Färber, 2012/04/30
- [Qemu-devel] [PATCH 2/5] fdc: Parametrize ISA base, IRQ and DMA, Andreas Färber, 2012/04/30
- [Qemu-devel] [PATCH 4/5] prep: Initialize PC speaker,
Andreas Färber <=
- [Qemu-devel] [PATCH 5/5] prep: Move int-ack register from PReP to Raven PCI emulation, Andreas Färber, 2012/04/30