提交 9357b144 编写于 作者: H Hervé Poussineau 提交者: Andreas Färber

prep: Initialize PC speaker

Speaker init has been added in 506b7ddf,
but audio subsystem init was missing.
Signed-off-by: NHervé Poussineau <hpoussin@reactos.org>
Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
上级 a527b545
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include "loader.h" #include "loader.h"
#include "mc146818rtc.h" #include "mc146818rtc.h"
#include "blockdev.h" #include "blockdev.h"
#include "arch_init.h"
#include "exec-memory.h" #include "exec-memory.h"
//#define HARD_DEBUG_PPC_IO //#define HARD_DEBUG_PPC_IO
...@@ -716,6 +717,9 @@ static void ppc_prep_init (ram_addr_t ram_size, ...@@ -716,6 +717,9 @@ static void ppc_prep_init (ram_addr_t ram_size,
/* Special port to get debug messages from Open-Firmware */ /* Special port to get debug messages from Open-Firmware */
register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL); register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL);
/* Initialize audio subsystem */
audio_init(isa_bus, pci_bus);
} }
static QEMUMachine prep_machine = { static QEMUMachine prep_machine = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册