mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
x86: switch to AREG0 free mode
Add an explicit CPUX86State parameter instead of relying on AREG0. Remove temporary wrappers and switch to AREG0 free mode. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
2999a0b200
commit
92fc4b586f
11 changed files with 151 additions and 200 deletions
|
@ -21,6 +21,10 @@
|
|||
#include "ioport.h"
|
||||
#include "helper.h"
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
#include "softmmu_exec.h"
|
||||
#endif /* !defined(CONFIG_USER_ONLY) */
|
||||
|
||||
/* check if Port I/O is allowed in TSS */
|
||||
static inline void check_io(CPUX86State *env, int addr, int size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue