From 671fb61db4d0ae8e885ac82ee9de58cf55081bbf Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Thu, 26 Jul 2012 17:49:07 +0900 Subject: [PATCH] [Title] modified define [Type] enhancement [Module] Emulator [Priority] major [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- hw/virtio-pci.c | 3 --- tizen/src/skin/maruskin_client.h | 3 +++ vl.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 63fdba7fc9..48a8d50c93 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -14,9 +14,6 @@ */ -#ifdef CONFIG_MARU -#include "config-host.h" -#endif #include #include "virtio.h" diff --git a/tizen/src/skin/maruskin_client.h b/tizen/src/skin/maruskin_client.h index bbde54266e..945005af9c 100644 --- a/tizen/src/skin/maruskin_client.h +++ b/tizen/src/skin/maruskin_client.h @@ -27,9 +27,12 @@ * */ + #ifndef MARUSKIN_CLIENT_H_ #define MARUSKIN_CLIENT_H_ +#include "../maru_common.h" + #define JAVA_MAX_COMMAND_LENGTH 512 #define JAR_SKINFILE_PATH "emulator-skin.jar" diff --git a/vl.c b/vl.c index e6e8d64661..0fe2935762 100644 --- a/vl.c +++ b/vl.c @@ -263,7 +263,7 @@ int boot_splash_filedata_size; uint8_t qemu_extra_params_fw[2]; //virtio-gl -#ifndef CONFIG_DARWIN +#if defined(CONFIG_MARU) && (!defined(CONFIG_DARWIN)) extern int gl_acceleration_capability_check (void); int enable_gl = 0; int capability_check_gl = 0; @@ -1792,7 +1792,7 @@ static int device_init_func(QemuOpts *opts, void *opaque) { DeviceState *dev; -#ifndef CONFIG_DARWIN +#if defined(CONFIG_MARU) && (!defined(CONFIG_DARWIN)) // virtio-gl pci device if (!enable_gl) { // ignore virtio-gl-pci device, even if users set it in option. @@ -2967,7 +2967,7 @@ fprintf(stdout, "kernel command : %s\n", kernel_cmdline); qemu_opts_parse(olist, "accel=kvm", 0); break; case QEMU_OPTION_enable_gl: -#ifndef CONFIG_DARWIN +#if defined(CONFIG_MARU) && (!defined(CONFIG_DARWIN)) enable_gl = 1; #endif break; @@ -3223,7 +3223,7 @@ fprintf(stdout, "kernel command : %s\n", kernel_cmdline); } loc_set_none(); -#ifndef CONFIG_DARWIN +#if defined(CONFIG_MARU) && (!defined(CONFIG_DARWIN)) capability_check_gl = gl_acceleration_capability_check(); if (enable_gl && (capability_check_gl != 0)) { enable_gl = 0; -- 2.34.1