On 1/10/25 10:21, Philippe Mathieu-Daudé wrote:
Following a previous comment from Richard in [*],
reduce "system/ram_addr.h" size by un-inlining a
lot of huge functions that aren't really justified,
and extract the API to the hew "system/physmem.h"
header, after renaming the functions (removing the
confusing 'cpu_' prefix).

Based-on: <[email protected]>
"system/physmem: Remove cpu_physical_memory _is_io() and _rw()"

Philippe Mathieu-Daudé (25):
   system/ram_addr: Remove unnecessary 'exec/cpu-common.h' header
   accel/kvm: Include missing 'exec/target_page.h' header
   hw/s390x/s390-stattrib: Include missing 'exec/target_page.h' header
   hw/vfio/listener: Include missing 'exec/target_page.h' header
   target/arm/tcg/mte: Include missing 'exec/target_page.h' header
   hw: Remove unnecessary 'system/ram_addr.h' header
   accel/tcg: Document rcu_read_lock is held when calling
     tlb_reset_dirty()
   accel/tcg: Rename @start argument of tlb_reset_dirty*()
   system/physmem: Rename @start argument of physical_memory_get_dirty()
   system/physmem: Un-inline cpu_physical_memory_get_dirty_flag()
   system/physmem: Un-inline cpu_physical_memory_is_clean()
   system/physmem: Rename @start argument of physical_memory_all_dirty()
   system/physmem: Rename @start argument of physical_memory_range*()
   system/physmem: Un-inline cpu_physical_memory_range_includes_clean()
   system/physmem: Un-inline cpu_physical_memory_set_dirty_flag()
   system/physmem: Rename @start argument of physical_memory_*range()
   system/physmem: Un-inline cpu_physical_memory_set_dirty_range()
   system/physmem: Un-inline cpu_physical_memory_set_dirty_lebitmap()
   system/physmem: Rename @start argument of physmem_dirty_bits_cleared()
   system/physmem: Un-inline cpu_physical_memory_dirty_bits_cleared()
   system/physmem: Rename @start argument of
     physmem_test_and_clear_dirty()
   system/physmem: Reduce cpu_physical_memory_clear_dirty_range() scope
   system/physmem: Reduce cpu_physical_memory_sync_dirty_bitmap() scope
   system/physmem: Drop 'cpu_' prefix in Physical Memory API
   system/physmem: Extract API out of 'system/ram_addr.h' header

  include/system/physmem.h          |  56 ++++
  include/system/ram_addr.h         | 413 ------------------------------
  system/physmem.c                  | 342 +++++++++++++++++++++++--
(highlight on diff-stat)

Reply via email to