| commit | 77a2dba45cc9a1be7fec6ab88f43d2fa18af52a3 | [log] [tgz] |
|---|---|---|
| author | Paolo Bonzini <pbonzini@redhat.com> | Fri May 02 22:21:42 2025 +0200 |
| committer | Paolo Bonzini <pbonzini@redhat.com> | Mon May 12 17:48:32 2025 +0200 |
| tree | 757705a4ceddb1b5aa75ddcc12b55abee14ffc9a | |
| parent | ad441b8b7913a26b18edbc076c74ca0cdbfa4ee5 [diff] |
target/i386/emulate: stop overloading decode->op[N].ptr decode->op[N].ptr can contain either a host pointer (!) in CPUState or a guest virtual address. Pass the whole struct to read_val_ext and write_val_ext, so that it can decide the contents based on the operand type. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>