aboutsummaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-09-08 17:08:38 +0200
committerDavid 'Digit' Turner <digit@google.com>2011-09-13 13:01:20 +0200
commit07892163bad407f4b7872bc5e3c0c5efbfb47f1a (patch)
tree2d27c9af28d727303634d472e7db84a5ce66ee71 /hw
parent9ff69721d24f81317183ddb2e9e352bb34650752 (diff)
downloadexternal_qemu-07892163bad407f4b7872bc5e3c0c5efbfb47f1a.zip
external_qemu-07892163bad407f4b7872bc5e3c0c5efbfb47f1a.tar.gz
external_qemu-07892163bad407f4b7872bc5e3c0c5efbfb47f1a.tar.bz2
Fix x86 qemu pipe initialization
This is necessary ot initialize qemu pipes when running an emulated x86 system. Required to try OpenGLES emulation for x86. Change-Id: I4fa38648dcdd4e85d1794b131238b27b4dd4b91e
Diffstat (limited to 'hw')
-rw-r--r--hw/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 0114ff5..7a83b4c 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -41,6 +41,7 @@
#include "console.h"
#include "goldfish_device.h"
+#include "goldfish_pipe.h"
char* audio_input_source = NULL;
/* output Bochs bios info messages */
@@ -1046,6 +1047,7 @@ static void pc_init1(ram_addr_t ram_size,
#ifdef CONFIG_NAND
goldfish_add_device_no_io(&nand_device);
nand_dev_init(nand_device.base);
+ pipe_dev_init();
#endif
{