From 9357b1449a6daa6fd79e2375f0aa8b1f60635bcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 14 Apr 2012 22:51:34 +0200 Subject: [PATCH] prep: Initialize PC speaker MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Speaker init has been added in 506b7ddf889312659b36c667f7ae17bc9e909418, but audio subsystem init was missing. Signed-off-by: Hervé Poussineau Signed-off-by: Andreas Färber --- hw/ppc_prep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 9d8e6592e1..61c655c60e 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 = { -- 2.11.4.GIT