sdk/emulator/qemu.git
10 years agobrillcodec: enhance exception handling 65/26565/2
SeokYeon Hwang [Tue, 26 Aug 2014 09:24:42 +0000 (18:24 +0900)]
brillcodec: enhance exception handling

Enhance exception handling if no picture was got.
Fix bug when using old decode API.

Change-Id: I6ea97ead1c0be7c672fa478c5f4bd971cfb6e3f9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoDXVA: Prototype 73/26273/2
gunsoo83.kim [Wed, 20 Aug 2014 07:11:01 +0000 (16:11 +0900)]
DXVA: Prototype

Prototype implementation of DXVA plugin.

Change-Id: I994740402456f4b30125546ef6e257fae664d0e6
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
10 years agobrillcodec: add new command for reducing I/O 66/26166/4
SeokYeon Hwang [Wed, 13 Aug 2014 06:18:57 +0000 (15:18 +0900)]
brillcodec: add new command for reducing I/O

Add command CODEC_DECODE_VIDEO2.
Clean-up source.

Change-Id: I92c6dadba9ff74dad47db617fdbf50e34430cfe4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agovaapi: prototype 23/25323/8
SeokYeon Hwang [Sun, 3 Aug 2014 10:24:10 +0000 (19:24 +0900)]
vaapi: prototype

Prototype implementation of vaapi plugin.

Change-Id: I0815734f5232413ea650fec17c04c6d1179a3c0e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: fix compilation error 87/25587/1
SeokYeon Hwang [Thu, 7 Aug 2014 07:19:16 +0000 (16:19 +0900)]
brillcodec: fix compilation error

Change-Id: I62d16249f7977855b375402d20703d09e3daa6a1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: prepare plugin structure for hardware accleration 20/25320/2
SeokYeon Hwang [Sat, 2 Aug 2014 12:17:33 +0000 (21:17 +0900)]
brillcodec: prepare plugin structure for hardware accleration

Change-Id: I009c3f3eb2e0d15833c9e70716b7e3fee7b324ad
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: clean-up source 75/25575/1
SeokYeon Hwang [Sat, 2 Aug 2014 09:21:05 +0000 (18:21 +0900)]
brillcodec: clean-up source

brillcodec is separated into two source files.
Using macro to get a proper codec context.

Change-Id: I5dfc4f0707b5cf6d98653b65ab8b121ea48f5121
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: remove redundant memory copy when decoding video 74/25574/1
SeokYeon Hwang [Sat, 2 Aug 2014 08:43:31 +0000 (17:43 +0900)]
brillcodec: remove redundant memory copy when decoding video

This patch improve performance when playing HD+ video.
Remove maru_brill_codec_get_picture_size() function. We use avpicture_get_size() and avpicture_fill() instead.

Change-Id: I7b09157ee5351836c1e37862222c3042b34fb9da
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomaru_shm: fix compilation error on Mac OS X. 73/25573/1
Kitae Kim [Fri, 1 Aug 2014 10:19:50 +0000 (19:19 +0900)]
maru_shm: fix compilation error on Mac OS X.

function prototypes are missing in maru_shm

Change-Id: Ib0ffee36ab08f2fee217fb906de5810360bd10b2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agolog: fix runtime error and MacOS build fail 72/25572/1
Sooyoung Ha [Fri, 1 Aug 2014 06:31:33 +0000 (15:31 +0900)]
log: fix runtime error and MacOS build fail

Change-Id: I80581c8810595dd6166989b8a609c5de9031470d
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator: fix issue that skin is not started on MacOS 71/25571/1
SeokYeon Hwang [Fri, 1 Aug 2014 04:14:27 +0000 (13:14 +0900)]
emulator: fix issue that skin is not started on MacOS

Change-Id: Ib696c4afceab66338779d402bc1bb337bd6400a8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoHAX: fix performance degradation on HAX 70/25570/1
SeokYeon Hwang [Fri, 1 Aug 2014 04:04:32 +0000 (13:04 +0900)]
HAX: fix performance degradation on HAX

HAX should listen to only main memory address space.
This patch would enhance performance on Windows and MacOS.

Change-Id: I3589de6db5846329314cfb3ed98f17355efe4fe7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agolog: modify some emulator.log formats. 69/25569/1
Sooyoung Ha [Thu, 31 Jul 2014 07:49:00 +0000 (16:49 +0900)]
log: modify some emulator.log formats.

add the microsecond time to output format.
add the thread id to output format.

Change-Id: I23247dfdd76481b9f8bd21a6000aa835459ed8ad
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agobrillcodec: remove useless memory copy. 68/25568/1
Kitae Kim [Thu, 31 Jul 2014 09:24:30 +0000 (18:24 +0900)]
brillcodec: remove useless memory copy.

Unnecessary memcpy operations occur while decoding video.
It causes performance degradation in emulator.

Change-Id: I7d5fb346ed56d0835f43ccc63a0937080e3712e1
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: fix connection failure case. 67/25567/1
Kitae Kim [Thu, 31 Jul 2014 02:40:15 +0000 (11:40 +0900)]
tethering: fix connection failure case.

when connection is failure, it will escape the while loop.

Change-Id: I134976425971f6552b7787d8357424de4b40737d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: provide a function to get framebuffer on Mac OS X. 66/25566/1
Kitae Kim [Thu, 31 Jul 2014 02:30:39 +0000 (11:30 +0900)]
tethering: provide a function to get framebuffer on Mac OS X.

maru_shm module is used to draw display instead of maru_sdl on Mac OS X.
so, add a function for extracting framebuffer from display.

Change-Id: Ied85db82eef38d2856c60b521ac0490959e3f507
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodebugch: Fix DEBUGCH and open flag 65/25565/1
Munkyu Im [Wed, 30 Jul 2014 07:49:52 +0000 (16:49 +0900)]
debugch: Fix DEBUGCH and open flag

Add O_APPEND to support writing stdout, stderr logs.
Set global variable for checking initailize earlier.
So succeded to read DEBUGCH file now.

Change-Id: I9eaef10ce81e138b613223417985acf27533b7bc
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agotethering: add a function to get framebuffer in maru_sdl. 64/25564/1
Kitae Kim [Mon, 28 Jul 2014 02:40:46 +0000 (11:40 +0900)]
tethering: add a function to get framebuffer in maru_sdl.

When request_screenshot function is called by tethering module
it makes qemu update display. So, this function has to be implemented
to extract framebuffer because of unnecessary display update.

Change-Id: I642119a430261f0176be47445b3b6fe5630920cc
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: fix connection routine. 63/25563/1
Kitae Kim [Tue, 22 Jul 2014 07:53:05 +0000 (16:53 +0900)]
tethering: fix connection routine.

When client socket connects to server, connection routine was not enough
to handle some error cases, EALREADY or EISCONN.

Change-Id: I2117bebdc04d3d079c577df3856f8a7952eba624
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobuild: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X. 62/25562/1
Kitae Kim [Mon, 28 Jul 2014 12:24:28 +0000 (21:24 +0900)]
build: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X.

This modification is required to pass libpng pkg-config at configure time.

Change-Id: I9451275b0c65c87cf755312e67117cbaffb70d67
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoskin: detect a system settings change 61/25561/1
GiWoong Kim [Fri, 25 Jul 2014 06:31:59 +0000 (15:31 +0900)]
skin: detect a system settings change

The detecting of host system settings change is not
interested on Windows.

Change-Id: Ic5dbed6b3686467fca92ee4aeb5819dbfb9a5c7e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit d1179936f7218761027e276d93176fc8cf670780)

10 years agobuild: add libpng and change loader path of it on Mac OS X. 60/25560/1
Kitae Kim [Wed, 23 Jul 2014 09:46:35 +0000 (18:46 +0900)]
build: add libpng and change loader path of it on Mac OS X.

libpng is required when tethering module compresses display image.

Change-Id: Ieb16a8862f148ff934c9353ad073338b4f420181
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agopackage: version up 59/25559/1
Kitae Kim [Tue, 22 Jul 2014 07:28:35 +0000 (16:28 +0900)]
package: version up

2.0.6

Change-Id: If8fe3ea9ff8d871999e84e529da95c6fd236089e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoemulator: enhance Makefile for standalone executables 21/25321/3
SeokYeon Hwang [Sun, 3 Aug 2014 07:51:09 +0000 (16:51 +0900)]
emulator: enhance Makefile for standalone executables

Build targets only if source files are modified.
Clean-up CFLAGS, LDFLAGS for standalone executalbes.

Change-Id: I139e3b8b0f9f6983d1a2f3388ad0ec00be63cb00
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
(cherry picked from commit 8f727ce7ce6dbc22e3fabf181495d692bdb7e3ea)

10 years agoMerge "tethering: apply new debug channel" into tizen
SeokYeon Hwang [Mon, 21 Jul 2014 01:48:40 +0000 (18:48 -0700)]
Merge "tethering: apply new debug channel" into tizen

10 years agoMerge "display: fix compilation error when SDL and SHM are both disabled" into tizen
SeokYeon Hwang [Sat, 19 Jul 2014 03:36:19 +0000 (20:36 -0700)]
Merge "display: fix compilation error when SDL and SHM are both disabled" into tizen

10 years agoMerge "Add "-Wno-error=redundant-decls" on Windows" into tizen
SeokYeon Hwang [Sat, 19 Jul 2014 03:35:48 +0000 (20:35 -0700)]
Merge "Add "-Wno-error=redundant-decls" on Windows" into tizen

10 years agotethering: apply new debug channel 77/24677/1
Kitae Kim [Fri, 18 Jul 2014 02:59:30 +0000 (11:59 +0900)]
tethering: apply new debug channel

Change-Id: Idf659c6227ac38f126783a548564e034b2b45a32
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodisplay: fix compilation error when SDL and SHM are both disabled 29/24629/2
SeokYeon Hwang [Wed, 16 Jul 2014 12:43:03 +0000 (21:43 +0900)]
display: fix compilation error when SDL and SHM are both disabled

Change-Id: Ie49c216469197a53383ef1f5403934c252122272
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "sensors: added rotation vector" into tizen
SeokYeon Hwang [Thu, 17 Jul 2014 10:30:41 +0000 (03:30 -0700)]
Merge "sensors: added rotation vector" into tizen

10 years agoAdd "-Wno-error=redundant-decls" on Windows 14/24614/1
SeokYeon Hwang [Thu, 17 Jul 2014 08:20:12 +0000 (17:20 +0900)]
Add "-Wno-error=redundant-decls" on Windows

Change-Id: I1066f96ef997de154f0d85eea87ab601bacd7dd1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean up vmodem source and .gitignore" into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:10:00 +0000 (06:10 -0700)]
Merge "emulator: clean up vmodem source and .gitignore" into tizen

10 years agoMerge "tethering: support display feature." into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:09:43 +0000 (06:09 -0700)]
Merge "tethering: support display feature." into tizen

10 years agoemulator: fix some compilation warnings on Windows 73/24473/5
SeokYeon Hwang [Tue, 15 Jul 2014 07:05:28 +0000 (16:05 +0900)]
emulator: fix some compilation warnings on Windows

Fix compilation warnings -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I85d9063e7d89d88a27da7e90d76c1b8bd6a11fc8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosensors: added rotation vector 40/24540/3
Jinhyung Choi [Wed, 16 Jul 2014 07:19:22 +0000 (16:19 +0900)]
sensors: added rotation vector

- removed adjust values for accel & gyro
- skin rotation vector sensor value is applied.

Change-Id: Id026aef9895584b304041858028c03cde3da802c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoemulator: clean up vmodem source and .gitignore 97/24497/2
Sooyoung Ha [Tue, 15 Jul 2014 10:57:26 +0000 (19:57 +0900)]
emulator: clean up vmodem source and .gitignore

use new_debug_ch and add device initialization check
before send queue on maru_virtio_vmodem.c
modify .gitignore file for check-hax and check-cam

Change-Id: I5d546e7c2d23975f37922c3d206817955fcba38e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agotethering: support display feature. 88/24488/5
Kitae Kim [Tue, 15 Jul 2014 07:16:12 +0000 (16:16 +0900)]
tethering: support display feature.

When app on server side request display update,
emulator sends encoded framebuffer to it.

Change-Id: I1e65404a74b4a7871224e577c9fc4750c5489553
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoemulator: apply strict policies on compilation warnings on Windows 68/24468/4
SeokYeon Hwang [Tue, 15 Jul 2014 05:55:24 +0000 (14:55 +0900)]
emulator: apply strict policies on compilation warnings on Windows

enable -Werror except for -Wformat, -Wformat-extra-args, -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I79a7f3a9678d3321c4989333f07f9eec4ba0522e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "virtio-9p: apply the upstream change." into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:48:07 +0000 (18:48 -0700)]
Merge "virtio-9p: apply the upstream change." into tizen

10 years agoMerge "brillcodec: fix audio encoder" into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:47:55 +0000 (18:47 -0700)]
Merge "brillcodec: fix audio encoder" into tizen

10 years agoemulator: enable "-Werror" sophisticatedly on MacOS 31/24431/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:29:20 +0000 (18:29 +0900)]
emulator: enable "-Werror" sophisticatedly on MacOS

Change-Id: I4c3cc6739db264f3dd4cf35d7a041b35dc5d6f1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: move get_log_path(), get_bin_path() to emul_state 30/24430/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:18:58 +0000 (18:18 +0900)]
emulator: move get_log_path(), get_bin_path() to emul_state

Change-Id: Ie41921003dc6c191a44c83600bb26901c1c2d5b7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: fix audio encoder 21/24421/2
Kitae Kim [Mon, 14 Jul 2014 06:01:24 +0000 (15:01 +0900)]
brillcodec: fix audio encoder

The audio encoder has not tested completely since upgrading libav 9.8.
AAC encoder on libav 9.8 supports only float planar format,
but tizen audio sink can handle only int format.
That is why audio resampling is necessary before encoding audio.

Change-Id: I365dd0a85d2acf43add45574e5588dde3b5802f5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agovirtio-9p: apply the upstream change. 50/24350/5
Sooyoung Ha [Fri, 11 Jul 2014 03:50:43 +0000 (12:50 +0900)]
virtio-9p: apply the upstream change.

virtio-9p-local-maru.c is based on virtio-9p-local.c.
apply the original change to clone file.

Change-Id: Ic57b76b3ae8a094e31fd57419fe7f0cd47cbd1d4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator_option: enhance scripts and error reporting 15/24415/1
SeokYeon Hwang [Sun, 13 Jul 2014 08:14:09 +0000 (17:14 +0900)]
emulator_option: enhance scripts and error reporting

Prevent duplicated reporting.
Use default conf file if no options provided.

Change-Id: Ib9e335b6ef18c5e68c9dc9f42c4e3de755f431bf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: fix Makefile uses invalid path on DIBS
SeokYeon Hwang [Fri, 11 Jul 2014 05:10:28 +0000 (14:10 +0900)]
build: fix Makefile uses invalid path on DIBS

Change-Id: I8f49b2fd366bd8ee80c2d0f8c05c4efb74fc407b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodarwin: avoid "-Wmissing-selector-name" warning
SeokYeon Hwang [Fri, 11 Jul 2014 05:02:29 +0000 (14:02 +0900)]
darwin: avoid "-Wmissing-selector-name" warning

Change-Id: I4b54bed18dd8a32c8b7d9f10a1b84f866f180418
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoosutil: remove "inline" from download_url()
SeokYeon Hwang [Fri, 11 Jul 2014 04:28:00 +0000 (13:28 +0900)]
osutil: remove "inline" from download_url()

Remove "inline" from download_url() to avoid "-Wstatic-in-inline" warning.

Change-Id: I820b90c5c27a858e9db0f7919d1f00f1f4553508
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "build: apply -Werror on MacOS" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:54 +0000 (19:25 -0700)]
Merge "build: apply -Werror on MacOS" into tizen

10 years agoMerge "package: add prerequisites" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:38 +0000 (19:25 -0700)]
Merge "package: add prerequisites" into tizen

10 years agoMerge "emulator: clean-up sources and headers" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:55:04 +0000 (03:55 -0700)]
Merge "emulator: clean-up sources and headers" into tizen

10 years agoMerge "emulator: add scripts for launching emulator" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:54:47 +0000 (03:54 -0700)]
Merge "emulator: add scripts for launching emulator" into tizen

10 years agopackage: add prerequisites 63/24063/5
haken kim [Tue, 8 Jul 2014 11:41:26 +0000 (20:41 +0900)]
package: add prerequisites

add preRequisites in each qemu-common for ubuntu

Change-Id: I84179f498ca7c17b04f3a26a5760679f87bece66
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agobuild: apply -Werror on MacOS 98/24298/1
SeokYeon Hwang [Thu, 10 Jul 2014 07:35:59 +0000 (16:35 +0900)]
build: apply -Werror on MacOS

Remove warnings on MacOS with clang.
Apply -Werror on MacOS. We can't use "--enable-werror" option because "#pragma GCC diagnostic ..." is failed when configuring.

Change-Id: Iab9b9ffec241a7120463957617cfa6e0dc0eb403
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: clean-up sources and headers 95/24295/6
SeokYeon Hwang [Thu, 10 Jul 2014 06:06:16 +0000 (15:06 +0900)]
emulator: clean-up sources and headers

emulator.*: remove unnecessary "DEFINE".
new_debug_ch.*: use GLIB functions.
osutil*: fix redundant stack usage.

Change-Id: I2f0d53342e2cb96ec136e89f3637e4d50dbabf03
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: add scripts for launching emulator 27/24227/2
SeokYeon Hwang [Wed, 9 Jul 2014 07:32:37 +0000 (16:32 +0900)]
emulator: add scripts for launching emulator

Change-Id: I424ab65983c9d34c59d64fd92772ad5d20baf58f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean-up some headers and sources" into tizen
SeokYeon Hwang [Wed, 9 Jul 2014 06:08:41 +0000 (23:08 -0700)]
Merge "emulator: clean-up some headers and sources" into tizen

10 years agoMerge "emulator: use new debug_ch" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:40 +0000 (22:00 -0700)]
Merge "emulator: use new debug_ch" into tizen

10 years agoMerge "debug_ch: debug_ch is massively refactored" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:19 +0000 (22:00 -0700)]
Merge "debug_ch: debug_ch is massively refactored" into tizen

10 years agoemulator: clean-up some headers and sources 19/24219/1
SeokYeon Hwang [Wed, 9 Jul 2014 04:40:43 +0000 (13:40 +0900)]
emulator: clean-up some headers and sources

Rename "maru_common.h" to "emulator_common.h".
Remove unnecessary headers.
Remove "guest_debug.h".

Change-Id: I98b4fcf5c3205e4a537685a168f761a749dbd34b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: use new debug_ch 38/24038/1
SeokYeon Hwang [Tue, 8 Jul 2014 07:09:42 +0000 (16:09 +0900)]
emulator: use new debug_ch

Change-Id: I8de7494182494906a07b0439d98486eb1693edca
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodebug_ch: debug_ch is massively refactored 24/23924/7
Munkyu Im [Fri, 4 Jul 2014 09:55:35 +0000 (18:55 +0900)]
debug_ch: debug_ch is massively refactored

1. New debug_ch has new log levels.
SEVERE, WARN, INFO, CONFIG, FINE, TRACE
2. Use LOG_[LEVEL](...) instead of [LEVEL](...). Legacy macro names can conflict other macro names. Some weird compilation error is occured because of it.
(legacy ERR macro unset existing ERR macro)
2. Remove multi debug channel because it is not used.
3. "debug_ch.h" has legacy log levels for compatibility.
4. Remove ASSERT macro.

Use new debug_ch instead of legacy one when you modify your sources.

Change-Id: Ie2ce25a5222c479897c13473e25a1ee3b3fd5d52
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomenu: modified Shell menu command 00/24000/1
GiWoong Kim [Fri, 4 Jul 2014 04:47:53 +0000 (13:47 +0900)]
menu: modified Shell menu command

modified Shell menu command
added some disposing check

Change-Id: I495de9bf5ee23e7e508bd562f0c439a1812fd9db
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "emulator: some error reporting routine is refactored" into tizen
Sangho Park [Sun, 6 Jul 2014 06:56:19 +0000 (23:56 -0700)]
Merge "emulator: some error reporting routine is refactored" into tizen

10 years agoemulator: some error reporting routine is refactored 25/23925/6
SeokYeon Hwang [Fri, 4 Jul 2014 10:08:42 +0000 (19:08 +0900)]
emulator: some error reporting routine is refactored

maru_register_exit_msg() can accept variable arguments.
Remove maru_convert_path(), Add get_canonical_path().

Change-Id: I7975510cfb34a0bbb633df5a74ffce21922c0c92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agogyro sensor: default value as 0 0 1 (degrees/s) 05/23705/2
Jinhyung Choi [Wed, 2 Jul 2014 01:20:19 +0000 (10:20 +0900)]
gyro sensor: default value as 0 0 1 (degrees/s)

Change-Id: I3c9fb54ae8f7e52774f1c04d9cdcb955a2d61b4b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoMerge "sdb noti server: migrated into sdb" into tizen
SeokYeon Hwang [Fri, 4 Jul 2014 02:21:18 +0000 (19:21 -0700)]
Merge "sdb noti server: migrated into sdb" into tizen

10 years agoMerge "9pfs: use event_notifier instead of qemu_pipe" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:33 +0000 (05:15 -0700)]
Merge "9pfs: use event_notifier instead of qemu_pipe" into tizen

10 years agoMerge "qemu-char: modify logic for kernel logging" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:15 +0000 (05:15 -0700)]
Merge "qemu-char: modify logic for kernel logging" into tizen

10 years agobuild: fix build break on MacOS
SeokYeon Hwang [Thu, 3 Jul 2014 11:57:45 +0000 (20:57 +0900)]
build: fix build break on MacOS

Change-Id: I0ed7c4d0a479d94b3588e81e8dfae8ccb9bcb3fa
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: package version up (2.0.4) 19/23819/1
SeokYeon Hwang [Thu, 3 Jul 2014 11:48:44 +0000 (20:48 +0900)]
build: package version up (2.0.4)

Change-Id: Iddd47ef750ee0c9d3a60dfcf78ccccdece2385f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge changes I83f2e127,I480b179c into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 05:06:27 +0000 (22:06 -0700)]
Merge changes I83f2e127,I480b179c into tizen

* changes:
  build: fix check-cam build error on Windows
  emulator: clean-up legacy board init

10 years agoqemu-char: modify logic for kernel logging 45/23745/1
SeokYeon Hwang [Wed, 2 Jul 2014 09:49:28 +0000 (18:49 +0900)]
qemu-char: modify logic for kernel logging

Using "CreateFile()" to open log file on Windows.

Change-Id: Iea947257373c980c08f019b5690f789f157c2a14
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosdb noti server: migrated into sdb 04/23704/2
Jinhyung Choi [Wed, 2 Jul 2014 01:17:23 +0000 (10:17 +0900)]
sdb noti server: migrated into sdb

- bug fixed (uninitialized variable)

Change-Id: I74bde4a954c94a86cec0265d2e525c09d9025d49
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agofix bug: qemu crash when entering lock mode (TC-286) 23/23723/1
Tina Zhang [Wed, 2 Jul 2014 06:41:36 +0000 (14:41 +0800)]
fix bug: qemu crash when entering lock mode (TC-286)

When qemu is entering lock mode, it's better to use asyncExec to run the
runnable. Because it won't block the whole process to communicate with the
emulator process. If the communication is blocked, the qemu will crash.

Change-Id: Ifeaab44cf89d8a847b2237e59413c2445d419535
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
10 years agobuild: fix check-cam build error on Windows 17/23717/1
SeokYeon Hwang [Wed, 2 Jul 2014 06:01:04 +0000 (15:01 +0900)]
build: fix check-cam build error on Windows

Change-Id: I83f2e12793b8af5c3d0142e8adae0dbff627a84a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years ago9pfs: use event_notifier instead of qemu_pipe 66/23666/3
SeokYeon Hwang [Tue, 1 Jul 2014 08:12:05 +0000 (17:12 +0900)]
9pfs: use event_notifier instead of qemu_pipe

Change-Id: I5b2c51ef18849fa6f29e126ef889dcff86cad645
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator: clean-up legacy board init 13/23713/1
SeokYeon Hwang [Wed, 2 Jul 2014 04:54:19 +0000 (13:54 +0900)]
emulator: clean-up legacy board init

Clean-up legacy board initializtion.
Remove unused variables.

Change-Id: I480b179c34cece682a13253bd3f0f3c37e2d21d4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: clean-up source directories 60/23660/4
SeokYeon Hwang [Tue, 1 Jul 2014 06:54:49 +0000 (15:54 +0900)]
emulator: clean-up source directories

Source files under "tizen/src/hw/" moved into each parent bus directory.

Change-Id: I32d4cd527583a5cacf43cb4e2bc490212b849ee4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "guest server: changed as sdb notification server" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 09:33:41 +0000 (02:33 -0700)]
Merge "guest server: changed as sdb notification server" into tizen

10 years agoMerge "virtio: initializing and declaring tizen virtio devices are moved" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 09:33:11 +0000 (02:33 -0700)]
Merge "virtio: initializing and declaring tizen virtio devices are moved" into tizen

10 years agoguest server: changed as sdb notification server 39/23639/5
Jinhyung Choi [Tue, 1 Jul 2014 01:52:19 +0000 (10:52 +0900)]
guest server: changed as sdb notification server

Current guest server supports 3 operations.
1. enabling sdb shell from emulator
2. registering sdb server w/ address, port, and serial
3. sending notification to registered sdb server suspend/resume message

Because guest server's functionalities are changed,
its name is also changed to "SDB Notification Server"
It moved into sdb_noti_server.c and sdb_noti_server.h

It does not require to create a new thread and blocking socket.
Now, it is using g_io_add_watch to receive and handle messages from
others.

Change-Id: I034122842e6cc59e753b859eb057b012f43213aa
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agovirtio: initializing and declaring tizen virtio devices are moved 55/23655/3
SeokYeon Hwang [Tue, 1 Jul 2014 06:48:10 +0000 (15:48 +0900)]
virtio: initializing and declaring tizen virtio devices are moved

Tizen specific virtio devices are moved into "tizen/src/hw/maru_virtio_pci.c".

Change-Id: Ie6664508c02ac07a65aacb7baa6a8bee981f8f25
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "maru_camera: Modified a return value" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 07:44:07 +0000 (00:44 -0700)]
Merge "maru_camera: Modified a return value" into tizen

10 years agoemulator: remove legacy mloop_event 48/23648/2
SeokYeon Hwang [Tue, 1 Jul 2014 04:19:09 +0000 (13:19 +0900)]
emulator: remove legacy mloop_event

mloop_event and related files are removed.
RAM dump feature is disabled now, it will be supported by new QMP logic soon.

Change-Id: Icc2def5741e0598d6c21f29d0fe45956992e121a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agousb: remove legacy usb storage support 47/23647/2
SeokYeon Hwang [Tue, 1 Jul 2014 04:12:37 +0000 (13:12 +0900)]
usb: remove legacy usb storage support

Change-Id: I1ca6572ce2b2ba75329451f1274e4eb60e111c69
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: fix invalid string offset calculation 46/23646/2
SeokYeon Hwang [Tue, 1 Jul 2014 04:07:19 +0000 (13:07 +0900)]
emulator: fix invalid string offset calculation

Change-Id: I2daa6732390287f5c6f5db6889624f08efe4a25f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: fix crash if path is null 45/23645/2
SeokYeon Hwang [Tue, 1 Jul 2014 04:05:53 +0000 (13:05 +0900)]
emulator: fix crash if path is null

Change-Id: I7b8a3ad7f1ff668bff453b5b792a745a5a0196bd
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "hotplug: new device hotplug system is introduced" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 07:29:46 +0000 (00:29 -0700)]
Merge "hotplug: new device hotplug system is introduced" into tizen

10 years agohotplug: new device hotplug system is introduced 26/23626/5
SeokYeon Hwang [Tue, 1 Jul 2014 01:13:58 +0000 (10:13 +0900)]
hotplug: new device hotplug system is introduced

Do not use old hotplug logic anymore.
"Hotplug logic" becomes independent of legacy mloop.
"mloop" will be removed.

Change-Id: Ib1c40cb9bb65e6f2d8a2310ad5a0c761184b6321
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "logger: added null checking" into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 06:59:37 +0000 (23:59 -0700)]
Merge "logger: added null checking" into tizen

10 years agomaru_camera: Modified a return value 14/23614/2
jinhyung.jo [Mon, 30 Jun 2014 11:08:55 +0000 (20:08 +0900)]
maru_camera: Modified a return value

When the host PC has no connected webcam,
returns '0' instead of '1' in device realizaion time.
Because, the return value '1' causes mismatch for qdev & pci dev realization.

Change-Id: I04d76f9b4fc4a83ea26e1eae62636361186af5f0
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
10 years agoMerge "build: fix emulator-skin.jar local DIBS build." into tizen
SeokYeon Hwang [Tue, 1 Jul 2014 01:37:20 +0000 (18:37 -0700)]
Merge "build: fix emulator-skin.jar local DIBS build." into tizen

10 years agologger: added null checking 25/23625/1
GiWoong Kim [Mon, 30 Jun 2014 04:43:10 +0000 (13:43 +0900)]
logger: added null checking

Change-Id: Ifb7c29e651fc010ea9c218ab6291867312a205c1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoskin: modified general key window for wearable 90/23490/2
GiWoong Kim [Thu, 26 Jun 2014 11:51:47 +0000 (20:51 +0900)]
skin: modified general key window for wearable

Change-Id: I075bccc2e7f9e2b1d8991ade6014870ca32ef65b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agobuild: fix emulator-skin.jar local DIBS build. 33/23533/4
Kitae Kim [Fri, 27 Jun 2014 08:40:28 +0000 (17:40 +0900)]
build: fix emulator-skin.jar local DIBS build.

The location of swt.jar was not specified properly in the build.xml
when using local DIBS.

Change-Id: If653bcbebdcc93b8208e55d30d270a50f28bed48
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: package version up (2.0.3) 84/23584/2
Jinhyung Choi [Mon, 30 Jun 2014 04:46:21 +0000 (13:46 +0900)]
build: package version up (2.0.3)

Change-Id: I98a4f184dcb2fee084bd8945d584f089f422297e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoMerge "guest_server: W/A code for non-blocking code" into tizen
SeokYeon Hwang [Fri, 27 Jun 2014 02:05:54 +0000 (19:05 -0700)]
Merge "guest_server: W/A code for non-blocking code" into tizen

10 years agobrillcodec: remove unused mutex_unlock method. 95/23495/2
Kitae Kim [Thu, 26 Jun 2014 13:14:47 +0000 (22:14 +0900)]
brillcodec: remove unused mutex_unlock method.

qemu_mutex_unlock was used at wrong place.
It might cause SEGV problem because this device tries to unlock invalid mutex.

Change-Id: I153406e583b26a813883d7e48ecd5b7093f420ea
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoguest_server: W/A code for non-blocking code 24/23424/3
Jinhyung Choi [Wed, 25 Jun 2014 09:27:55 +0000 (18:27 +0900)]
guest_server: W/A code for non-blocking code

guest server will be rebuilt.

Change-Id: Ieebf07e202163ec28bed09aa9d1e8e1d08ea9f94
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>