mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
6e42be7cd1
A transition from CPUFooState to FooCPU can be considered safe,
just like FooCPU::env access in the opposite direction.
The only benefit of the FOO_CPU() casts would be protection against
bogus CPUFooState pointers, but then surrounding code would likely
break, too.
This should slightly improve interrupt etc. performance when going from
CPUFooState to FooCPU.
For any additional CPU() casts see
|
||
---|---|---|
.. | ||
cpu-qom.h | ||
cpu.c | ||
cpu.h | ||
helper.c | ||
helper.h | ||
Makefile.objs | ||
op_helper.c | ||
softmmu.c | ||
translate.c | ||
ucf64_helper.c |