mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
20054ef03e
commit
77b2bc2c09
7 changed files with 237 additions and 223 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue