projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
604b66c
)
target/arm: Replace `tb_pc()` with `tb->pc`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:52:01 +0000
(14:52 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:25 +0000
(07:33 -1000)
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <
20230227135202
.9710-27-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/cpu.c
patch
|
blob
|
history
diff --git
a/target/arm/cpu.c
b/target/arm/cpu.c
index 850b018efb6e80582d8bc84dfd5b8fdd746d66a8..5182ed0c9113bcc07d09af4dcca2cefba71a7ece 100644
(file)
--- a/
target/arm/cpu.c
+++ b/
target/arm/cpu.c
@@
-86,9
+86,9
@@
void arm_cpu_synchronize_from_tb(CPUState *cs,
* never possible for an AArch64 TB to chain to an AArch32 TB.
*/
if (is_a64(env)) {
- env->pc = tb
_pc(tb)
;
+ env->pc = tb
->pc
;
} else {
- env->regs[15] = tb
_pc(tb)
;
+ env->regs[15] = tb
->pc
;
}
}
}