hax: HAX needs ram_size when initialize 43/31843/4
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 11 Dec 2014 06:05:26 +0000 (15:05 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 15 Dec 2014 13:19:05 +0000 (22:19 +0900)
commit88d1eac4cd1de6baf13994c9fda8d98929e9956e
tree623528b27b3978da6a3366161504d7cc27fbe1a6
parent2f954e675409edf63c8ad90b0d0b126d1711fd40
hax: HAX needs ram_size when initialize

HAX needs ram_size when initialize, but init function should have
only MachineState structure. So, we assigned 'ram_size' to 'MachineState'
before 'configure_accelerator()'. Then init function can get 'ram_size'
from 'MachineState'.

Change-Id: I53b6567e411b5bb5d28df30392279245ab93e9af
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
target-i386/hax-all.c
vl.c