QEMU Logo

Contents:

  • About QEMU
  • System Emulation
  • User Mode Emulation
  • Tools
  • System Emulation Management and Interoperability
  • System Emulation Guest Hardware Specifications
  • Developer Information
    • QEMU Community Processes
    • QEMU Build and Test System
    • Internal QEMU APIs
      • Bitwise operations
      • Load and Store APIs
      • The memory API
      • QEMU modules
      • QEMU UI subsystem
    • Internal Subsystem Information
    • TCG Emulation
QEMU
  • Developer Information
  • Internal QEMU APIs
  • Edit on GitLab

Internal QEMU APIs

Details about how QEMU’s various internal APIs. Most of these are generated from in-code annotations to function prototypes.

  • Bitwise operations
    • set_bit()
    • set_bit_atomic()
    • clear_bit()
    • change_bit()
    • test_and_set_bit()
    • test_and_clear_bit()
    • test_and_change_bit()
    • test_bit()
    • find_last_bit()
    • find_next_bit()
    • find_next_zero_bit()
    • find_first_bit()
    • find_first_zero_bit()
    • set_bit32()
    • set_bit32_atomic()
    • clear_bit32()
    • clear_bit32_atomic()
    • change_bit32()
    • test_and_set_bit32()
    • test_and_clear_bit32()
    • test_and_change_bit32()
    • test_bit32()
    • rol8()
    • ror8()
    • rol16()
    • ror16()
    • rol32()
    • ror32()
    • rol64()
    • ror64()
    • hswap32()
    • hswap64()
    • wswap64()
    • extract32()
    • extract8()
    • extract16()
    • extract64()
    • sextract32()
    • sextract64()
    • deposit32()
    • deposit64()
    • half_shuffle32()
    • half_shuffle64()
    • half_unshuffle32()
    • half_unshuffle64()
  • Load and Store APIs
    • ld*_p and st*_p
    • cpu_{ld,st}*_mmu
    • cpu_{ld,st}*_mmuidx_ra
    • cpu_{ld,st}*_data_ra
    • cpu_{ld,st}*_data
    • cpu_ld*_code
    • translator_ld*
    • helper_*_{ld,st}*_mmu
    • address_space_*
    • address_space_write_rom
    • {ld,st}*_phys
    • cpu_physical_memory_*
    • cpu_memory_rw_debug
    • dma_memory_*
    • pci_dma_* and {ld,st}*_pci_dma
  • The memory API
    • Types of regions
    • Migration
    • Region names
    • Region lifecycle
    • Overlapping regions and priority
    • Visibility
    • Example memory map
    • MMIO Operations
    • API Reference
  • QEMU modules
    • module_obj
    • module_dep
    • module_arch
    • module_opts
    • module_kconfig
  • QEMU UI subsystem
    • QEMU Clipboard
Previous Next

© Copyright 2022, The QEMU Project Developers.

Built with Sphinx using a theme provided by Read the Docs.

This documentation is for QEMU version 7.2.22.

QEMU and this manual are released under the GNU General Public License, version 2.