diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-05-16 19:38:48 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-06-26 18:25:19 +0000 |
commit | e694d4e289b05d0c9b118850eff961aa9ca33183 (patch) | |
tree | 25e25d221dd1d2c8486d9ab4ab342e6892d12866 /qemu-config.c | |
parent | e67768d0f13c78144f17bcca8a64b9b812918198 (diff) |
x86: use caller supplied CPUState for interrupt related stuff
Several x86 specific functions are called from cpu-exec.c with the
assumption that global env register is valid. This will be changed
later, so make the functions use caller supplied CPUState parameter.
It would be cleaner to move the functions to helper.c, but there are
quite a lot of dependencies between do_interrupt() and other functions.
Add helpers for svm_check_intercept() and cpu_cc_compute_all() instead
of calling the helper (which uses global env, AREG0) directly.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-config.c')
0 files changed, 0 insertions, 0 deletions