diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-03-22 14:27:39 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-10 15:41:49 -0400 |
commit | 0ac2b197430ebf19b5575ea48fe3b76d62110ab9 (patch) | |
tree | f878c10bd9a8fa897cfc79a2b8c85ef87db0f90f /hw/i386/pc_piix.c | |
parent | e3a69234540d40b12c7d8f242fd8e21aadc2b81f (diff) |
target/i386: Split out do_fsave, do_frstor, do_fxsave, do_fxrstor
The helper_* functions must use GETPC() to unwind from TCG.
The cpu_x86_* functions cannot, and directly calling the
helper_* functions is a bug. Split out new functions that
perform the work and can be used by both.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Tested-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210322132800.7470-4-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
0 files changed, 0 insertions, 0 deletions