mirror of https://github.com/proxmox/mirror_qemu
![]() 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
|
||
---|---|---|
.. | ||
Makefile.objs | ||
cpu.c | ||
cpu.h | ||
exception.c | ||
exception.h | ||
exception_helper.c | ||
fpu_helper.c | ||
helper.h | ||
int_helper.c | ||
interrupt.c | ||
interrupt_helper.c | ||
machine.c | ||
mmu.c | ||
mmu_helper.c | ||
sys_helper.c | ||
translate.c |