Source files under "tizen/src/hw/" moved into each parent bus directory.
Change-Id: I32d4cd527583a5cacf43cb4e2bc490212b849ee4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
# maru skin
obj-y += skin/
-# sdb noti server
-obj-y += sdb_noti_server.o
-
# debug channel
obj-y += debug_ch.o
#include <SDL.h>
#include "maru_finger.h"
#include "emul_state.h"
-#include "hw/maru_virtio_touchscreen.h"
+#include "hw/virtio/maru_virtio_touchscreen.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(qemu, maru_finger);
#include "maru_display.h"
#include "maru_sdl.h"
#include "maru_sdl_processing.h"
-#include "hw/maru_brightness.h"
+#include "hw/pci/maru_brightness.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(tizen, maru_sdl);
#include "maru_sdl_processing.h"
-#include "hw/maru_brightness.h"
+#include "hw/pci/maru_brightness.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(tizen, sdl_processing);
#include "qapi/qmp/json-parser.h"
#include "ecs.h"
-#include "hw/maru_virtio_evdi.h"
-#include "hw/maru_virtio_sensor.h"
-#include "hw/maru_virtio_nfc.h"
+#include "hw/virtio/maru_virtio_evdi.h"
+#include "hw/virtio/maru_virtio_sensor.h"
+#include "hw/virtio/maru_virtio_nfc.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(qemu, ecs);
#include "display/maru_finger.h"
#endif
-#include "hw/maru_virtio_evdi.h"
-#include "hw/maru_virtio_sensor.h"
-#include "hw/maru_virtio_jack.h"
-#include "hw/maru_virtio_power.h"
-#include "hw/maru_virtio_nfc.h"
-#include "hw/maru_virtio_vmodem.h"
+#include "hw/virtio/maru_virtio_evdi.h"
+#include "hw/virtio/maru_virtio_sensor.h"
+#include "hw/virtio/maru_virtio_jack.h"
+#include "hw/virtio/maru_virtio_power.h"
+#include "hw/virtio/maru_virtio_nfc.h"
+#include "hw/virtio/maru_virtio_vmodem.h"
#include "skin/maruskin_operation.h"
#include "skin/maruskin_server.h"
#include "util/maru_device_hotplug.h"
//#include "qemu-timer.h"
#include "ecs.h"
-#include "hw/maru_virtio_sensor.h"
-#include "hw/maru_virtio_power.h"
-#include "hw/maru_virtio_jack.h"
+#include "hw/virtio/maru_virtio_sensor.h"
+#include "hw/virtio/maru_virtio_power.h"
+#include "hw/virtio/maru_virtio_jack.h"
#define TEMP_BUF_SIZE 255
#define MAX_VAL_LENGTH 40
#include "ecs.h"
#include "ecs_tethering.h"
#include "tethering/app_tethering.h"
-#include "hw/maru_virtio_touchscreen.h"
+#include "hw/virtio/maru_virtio_touchscreen.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(tizen, ecs_tethering);
#include "build_info.h"
#include "emulator.h"
#include "emul_state.h"
-#include "sdb_noti_server.h"
#include "emulator_options.h"
+#include "util/sdb_noti_server.h"
#include "util/check_gl.h"
#include "maru_err_table.h"
#include "util/osutil.h"
#include "emulator.h"
#include "emul_state.h"
#include "guest_debug.h"
-#include "hw/maru_virtio_touchscreen.h"
+#include "hw/virtio/maru_virtio_touchscreen.h"
#include "util/check_gl.h"
#include "maru_err_table.h"
#include "display/maru_display.h"
obj-y += maru_board.o maru_pm.o
-obj-y += maru_brill_codec.o
-obj-y += maru_brightness.o
+obj-y += pci/
+obj-y += virtio/
-obj-y += maru_virtio_pci.o
-obj-y += maru_virtio_touchscreen.o
-obj-y += maru_virtio_esm.o
-obj-y += maru_virtio_evdi.o
-obj-y += maru_virtio_hwkey.o
-obj-y += maru_virtio_jack.o
-obj-y += maru_virtio_keyboard.o
-obj-y += maru_virtio_nfc.o
-obj-y += maru_virtio_power.o
-obj-y += maru_virtio_sensor.o
-obj-y += maru_virtio_vmodem.o
-
-obj-y += maru_camera_common_pci.o
-ifdef CONFIG_LINUX
-obj-y += maru_camera_linux_pci.o
-LIBS += -lv4l2 -lv4lconvert
-endif
-ifdef CONFIG_WIN32
-obj-y += maru_camera_win32_pci.o
-LIBS += -lole32 -loleaut32 -luuid -lstrmiids
-endif
-ifdef CONFIG_DARWIN
-obj-y += maru_camera_darwin_converter.o
-obj-y += maru_camera_darwin_pci.o
-LIBS += -framework Foundation -framework SystemConfiguration
-LIBS += -framework Cocoa -framework QTKit -framework CoreVideo
-LIBS += -framework AppKit
-endif
-
-#obj-y += maru_codec.o
-#obj-y += maru_usb_touchscreen.o
+#obj-y += usb/
+#obj-y += arm/
#include "sysemu/sysemu.h"
#include "debug_ch.h"
-#include "sdb_noti_server.h"
+#include "util/sdb_noti_server.h"
/* define debug channel */
MULTI_DEBUG_CHANNEL(tizen, maru_pm);
--- /dev/null
+obj-y += maru_brill_codec.o
+obj-y += maru_brightness.o
+
+obj-y += maru_camera_common_pci.o
+ifdef CONFIG_LINUX
+obj-y += maru_camera_linux_pci.o
+LIBS += -lv4l2 -lv4lconvert
+endif
+ifdef CONFIG_WIN32
+obj-y += maru_camera_win32_pci.o
+LIBS += -lole32 -loleaut32 -luuid -lstrmiids
+endif
+ifdef CONFIG_DARWIN
+obj-y += maru_camera_darwin_converter.o
+obj-y += maru_camera_darwin_pci.o
+LIBS += -framework Foundation -framework SystemConfiguration
+LIBS += -framework Cocoa -framework QTKit -framework CoreVideo
+LIBS += -framework AppKit
+endif
#include "hw/i386/pc.h"
#include "ui/console.h"
#include "hw/pci/pci.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_brightness.h"
#include "skin/maruskin_server.h"
#include "debug_ch.h"
#include "util/osutil.h"
#include "debug_ch.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "libavformat/avformat.h"
#include "libavresample/avresample.h"
#include "exec/cpu-common.h"
#include "maru_camera_common.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(tizen, maru-camera);
--- /dev/null
+obj-y += maru_usb_touchscreen.o
--- /dev/null
+obj-y += maru_virtio_pci.o
+obj-y += maru_virtio_touchscreen.o
+obj-y += maru_virtio_esm.o
+obj-y += maru_virtio_evdi.o
+obj-y += maru_virtio_hwkey.o
+obj-y += maru_virtio_jack.o
+obj-y += maru_virtio_keyboard.o
+obj-y += maru_virtio_nfc.o
+obj-y += maru_virtio_power.o
+obj-y += maru_virtio_sensor.o
+obj-y += maru_virtio_vmodem.o
*
*/
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_esm.h"
#include "skin/maruskin_server.h"
#include "emul_state.h"
#include <pthread.h>
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_evdi.h"
#include "debug_ch.h"
#include "ecs/ecs.h"
#include <pthread.h>
#include "emul_state.h"
#include "maru_virtio_hwkey.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "debug_ch.h"
MULTI_DEBUG_CHANNEL(qemu, hwkey);
#include "hw/pci/pci.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "debug_ch.h"
#include "maru_virtio_jack.h"
*
*/
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_keyboard.h"
#include "debug_ch.h"
#include <pthread.h>
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_nfc.h"
#include "debug_ch.h"
#include "ecs/ecs.h"
#include "hw/virtio/virtio-pci.h"
-#include "tizen/src/hw/maru_device_ids.h"
-#include "tizen/src/hw/maru_virtio_evdi.h"
-#include "tizen/src/hw/maru_virtio_esm.h"
-#include "tizen/src/hw/maru_virtio_hwkey.h"
-#include "tizen/src/hw/maru_virtio_keyboard.h"
-#include "tizen/src/hw/maru_virtio_touchscreen.h"
-#include "tizen/src/hw/maru_virtio_sensor.h"
-#include "tizen/src/hw/maru_virtio_jack.h"
-#include "tizen/src/hw/maru_virtio_power.h"
-#include "tizen/src/hw/maru_virtio_nfc.h"
-#include "tizen/src/hw/maru_virtio_vmodem.h"
+#include "hw/maru_device_ids.h"
+#include "maru_virtio_evdi.h"
+#include "maru_virtio_esm.h"
+#include "maru_virtio_hwkey.h"
+#include "maru_virtio_keyboard.h"
+#include "maru_virtio_touchscreen.h"
+#include "maru_virtio_sensor.h"
+#include "maru_virtio_jack.h"
+#include "maru_virtio_power.h"
+#include "maru_virtio_nfc.h"
+#include "maru_virtio_vmodem.h"
typedef struct VirtIOTouchscreenPCI VirtIOTouchscreenPCI;
typedef struct VirtIOEVDIPCI VirtIOEVDIPCI;
#include "hw/pci/pci.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "debug_ch.h"
#include "maru_virtio_power.h"
#include "hw/pci/pci.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_sensor.h"
#include "debug_ch.h"
#include "ecs/ecs.h"
#include <pthread.h>
#include "maru_virtio_touchscreen.h"
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "emul_state.h"
#include "debug_ch.h"
*
*/
-#include "maru_device_ids.h"
+#include "hw/maru_device_ids.h"
#include "maru_virtio_vmodem.h"
#include "maru_virtio_evdi.h"
#include "debug_ch.h"
#ifndef MARUSKIN_KEYMAP_H_
#define MARUSKIN_KEYMAP_H_
-#include "hw/maru_virtio_keyboard.h"
+#include "hw/virtio/maru_virtio_keyboard.h"
/* keep it consistent with emulator-skin(swt) virtual keycode */
#define JAVA_KEYCODE_BIT (1 << 24)
#include "maru_common.h"
#include "maruskin_operation.h"
-#include "hw/maru_brightness.h"
-#include "hw/maru_virtio_hwkey.h"
-#include "hw/maru_virtio_touchscreen.h"
+#include "hw/pci/maru_brightness.h"
+#include "hw/virtio/maru_virtio_hwkey.h"
+#include "hw/virtio/maru_virtio_touchscreen.h"
#include "display/maru_display.h"
#include "emulator.h"
#include "debug_ch.h"
#sdb
obj-y += sdb.o
+# sdb noti server
+obj-y += sdb_noti_server.o
+
# check gl
obj-y += check_gl_core.o
obj-$(CONFIG_LINUX) += check_gl_glx.o
#include "qemu/sockets.h"
-#include "hw/maru_virtio_hwkey.h"
#include "hw/maru_pm.h"
+#include "hw/virtio/maru_virtio_hwkey.h"
#include "skin/maruskin_server.h"
#include "ecs/ecs.h"