diff options
author | Sergey Fedorov <serge.fdrv@gmail.com> | 2016-03-22 19:00:12 +0300 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-05-12 14:06:41 -1000 |
commit | 901bc3deb43bf37c85e43955905d003be7ae5fa5 (patch) | |
tree | 6c4f5d0d6ff6d4fd3f4ea9f00839f3e2c65ec100 /include/exec | |
parent | e90d96b158665a684ab89b4f002838034b5fafc8 (diff) |
tcg: Init TB's direct jumps before making it visible
Initialize TB's direct jump list data fields and reset the jumps before
tb_link_page() puts it into the physical hash table and the physical
page list. So TB is completely initialized before it becomes visible.
This is pure rearrangement of code to a more suitable place, though it
could be a preparation for relaxing the locking scheme in future.
Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions