diff options
| author | Sergey Fedorov | 2016-03-22 17:00:12 +0100 |
|---|---|---|
| committer | Richard Henderson | 2016-05-13 02:06:41 +0200 |
| commit | 901bc3deb43bf37c85e43955905d003be7ae5fa5 (patch) | |
| tree | 6c4f5d0d6ff6d4fd3f4ea9f00839f3e2c65ec100 /include | |
| parent | tcg: Rearrange tb_link_page() to avoid forward declaration (diff) | |
| download | qemu-901bc3deb43bf37c85e43955905d003be7ae5fa5.tar.gz qemu-901bc3deb43bf37c85e43955905d003be7ae5fa5.tar.xz qemu-901bc3deb43bf37c85e43955905d003be7ae5fa5.zip | |
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')
0 files changed, 0 insertions, 0 deletions
