qemu/target/i386/tcg
Richard Henderson 3e8f1628e8 exec: Use cpu_untagged_addr in g2h; split out g2h_untagged
Use g2h_untagged in contexts that have no cpu, e.g. the binary
loaders that operate before the primary cpu is created.  As a
colollary, target_mmap and friends must use untagged addresses,
since they are used by the loaders.

Use g2h_untagged on values returned from target_mmap, as the
kernel never applies a tag itself.

Use g2h_untagged on all pc values.  The only current user of
tags, aarch64, removes tags from code addresses upon branch,
so "pc" is always untagged.

Use g2h with the cpu context on hand wherever possible.

Use g2h_untagged in lock_user, which will be updated soon.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-13-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-02-16 11:04:53 +00:00
..
bpt_helper.c
cc_helper_template.h
cc_helper.c
excp_helper.c target/i86: implement PKS 2021-02-08 14:43:55 +01:00
fpu_helper.c
helper-tcg.h i386: tcg: remove inline from cpu_load_eflags 2020-12-16 15:50:33 -05:00
int_helper.c
mem_helper.c exec: Use cpu_untagged_addr in g2h; split out g2h_untagged 2021-02-16 11:04:53 +00:00
meson.build
misc_helper.c target/i86: implement PKS 2021-02-08 14:43:55 +01:00
mpx_helper.c
seg_helper.c target/i386: Use X86Seg enum for segment registers 2021-01-12 17:05:10 +01:00
smm_helper.c
svm_helper.c
tcg-cpu.c cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass 2021-02-05 10:24:15 -10:00
tcg-cpu.h
tcg-stub.c
translate.c target/i386: Fix decoding of certain BMI instructions 2021-02-08 14:43:55 +01:00