Skip to content
Snippets Groups Projects
  • Paolo Bonzini's avatar
    d9f24bf5
    exec: split out non-softmmu-specific parts · d9f24bf5
    Paolo Bonzini authored
    
    Over the years, most parts of exec.c that were not specific to softmmu
    have been moved to accel/tcg; what's left is mostly the low-level part
    of the memory API, which includes RAMBlock and AddressSpaceDispatch.
    However exec.c also hosts 4-500 lines of code for the target specific
    parts of the CPU QOM object, plus a few functions for user-mode
    emulation that do not have a better place (they are not TCG-specific so
    accel/tcg/user-exec.c is not a good place either).
    
    Move these parts to a new file, so that exec.c can be moved to
    softmmu/physmem.c.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    d9f24bf5
    History
    exec: split out non-softmmu-specific parts
    Paolo Bonzini authored
    
    Over the years, most parts of exec.c that were not specific to softmmu
    have been moved to accel/tcg; what's left is mostly the low-level part
    of the memory API, which includes RAMBlock and AddressSpaceDispatch.
    However exec.c also hosts 4-500 lines of code for the target specific
    parts of the CPU QOM object, plus a few functions for user-mode
    emulation that do not have a better place (they are not TCG-specific so
    accel/tcg/user-exec.c is not a good place either).
    
    Move these parts to a new file, so that exec.c can be moved to
    softmmu/physmem.c.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>