YaGL: Modified the process state for the 64bit guest
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 3 Nov 2015 07:04:10 +0000 (16:04 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 4 Nov 2015 09:11:38 +0000 (18:11 +0900)
commit84b365437eec6c93495ae7ea5886b308c18c6323
tree2c2e97263ce4780746d025d9c6fdf42c3fb4df78
parentd0b0f1866455eece42f66476a19d3e86c56fc7bb
YaGL: Modified the process state for the 64bit guest

If the guest image is 64bit, 'yagl_mem_get' function fails.
So the host yagl can not access the guest memory.
The failure occurs in the 'cpu_get_phys_page_debug'.
(<qemu>/target-i386.helper.c:820 if (env->hflags & HF_LMA_MASK))
Becuase the yagl process state does not have the flag like above,
it does not proceed as a normal routine in Ubuntu 64bit.
Therefore add the 'hflags' to the yagl process state.

Change-Id: Ia1dfa8d7ca51211893149612f400365199fe16b5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
hw/yagl/yagl_mem.c
hw/yagl/yagl_process.c
hw/yagl/yagl_process.h
hw/yagl/yagl_thread.c