diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-04-28 19:35:10 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-06-28 20:28:08 +0000 |
commit | 77b2bc2c096be44a36c45d777abb81a298c05c98 (patch) | |
tree | 6b102bf6993d28825d37938b3c26939c3ef33b7d /target-i386/helper.h | |
parent | 20054ef03e0bd051178edd9d1378aa59570dbcf5 (diff) | |
download | hqemu-77b2bc2c096be44a36c45d777abb81a298c05c98.zip hqemu-77b2bc2c096be44a36c45d777abb81a298c05c98.tar.gz |
x86: avoid AREG0 for exceptions
Add an explicit CPUX86State parameter instead of relying on AREG0.
Merge raise_exception_env() to raise_exception(), likewise with
raise_exception_err_env() and raise_exception_err().
Introduce cpu_svm_check_intercept_param() and cpu_vmexit()
as wrappers.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/helper.h')
-rw-r--r-- | target-i386/helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper.h b/target-i386/helper.h index 761954e..99ca183 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -63,8 +63,8 @@ DEF_HELPER_1(monitor, void, tl) DEF_HELPER_1(mwait, void, int) DEF_HELPER_0(debug, void) DEF_HELPER_0(reset_rf, void) -DEF_HELPER_2(raise_interrupt, void, int, int) -DEF_HELPER_1(raise_exception, void, int) +DEF_HELPER_3(raise_interrupt, void, env, int, int) +DEF_HELPER_2(raise_exception, void, env, int) DEF_HELPER_0(cli, void) DEF_HELPER_0(sti, void) DEF_HELPER_0(set_inhibit_irq, void) |