• Andreas Färber's avatar
    log: Change log_cpu_state[_mask]() argument to CPUState · a0762859
    Andreas Färber authored
    Since commit 878096ee (cpu: Turn
    cpu_dump_{state,statistics}() into CPUState hooks) CPUArchState is no
    longer needed.
    
    Add documentation and make the functions available through qemu/log.h
    outside NEED_CPU_H to allow use in qom/cpu.c. Moving them to qom/cpu.h
    was not yet possible due to convoluted include paths, so that some
    devices grow an implicit and unneeded dependency on qom/cpu.h for now.
    
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
    [AF: Simplified mb_cpu_do_interrupt() and do_interrupt_all() changes]
    Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
    a0762859
smm_helper.c 10.6 KB