qemu-cr16/include/exec
Philippe Mathieu-Daudé c6cd30fead system: Declare qemu_[min/max]rampagesize() in 'system/hostmem.h'
Both qemu_minrampagesize() and qemu_maxrampagesize() are
related to host memory backends, having the following call
stack:

  qemu_minrampagesize()
     -> find_min_backend_pagesize()
         -> object_dynamic_cast(obj, TYPE_MEMORY_BACKEND)

  qemu_maxrampagesize()
     -> find_max_backend_pagesize()
        -> object_dynamic_cast(obj, TYPE_MEMORY_BACKEND)

Having TYPE_MEMORY_BACKEND defined in "system/hostmem.h":

  include/system/hostmem.h:23:#define TYPE_MEMORY_BACKEND "memory-backend"

Move their prototype declaration to "system/hostmem.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20250308230917.18907-7-philmd@linaro.org>
Acked-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250311085743.21724-2-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-03-11 17:01:14 +01:00
..
abi_ptr.h
address-spaces.h
breakpoint.h
cpu-all.h exec: Declare tlb_hit*() in 'exec/cputlb.h' 2025-03-08 07:56:14 -08:00
cpu-common.h system/physmem: handle hugetlb correctly in qemu_ram_remap() 2025-02-12 11:33:13 -05:00
cpu-defs.h accel/tcg: Restrict CPU_TLB_DYN_*_BITS definitions to accel/tcg/ 2025-03-07 07:53:44 -08:00
cpu-interrupt.h include/exec: Split out exec/cpu-interrupt.h 2025-03-08 07:55:03 -08:00
cpu_ldst.h user: Introduce 'user/guest-host.h' header 2024-12-20 17:44:56 +01:00
cputlb.h exec: Declare tlb_flush*() in 'exec/cputlb.h' 2025-03-08 07:56:14 -08:00
exec-all.h accel/tcg: Split out getpc.h 2025-03-08 09:34:43 -08:00
gdbstub.h system: propagate Error to gdbserver_start (and other device setups) 2025-01-17 10:44:25 +00:00
helper-gen-common.h plugins: Remove plugin helpers 2024-04-30 16:12:05 -07:00
helper-gen.h
helper-gen.h.inc
helper-head.h.inc include/exec: Introduce fpst alias in helper-head.h.inc 2024-12-12 14:28:38 -06:00
helper-info.c.inc
helper-proto-common.h
helper-proto.h
helper-proto.h.inc
hwaddr.h
ioport.h
log.h
memattrs.h physmem: teach cpu_memory_rw_debug() to write to more memory regions 2025-02-12 11:33:13 -05:00
memop.h include/exec/memop.h: Expand comment for MO_ATOM_SUBALIGN 2025-03-07 10:39:29 +00:00
memopidx.h
memory-internal.h
memory.h migration: ram block cpr blockers 2025-03-10 12:09:24 -03:00
memory_ldst.h.inc
memory_ldst_cached.h.inc
memory_ldst_phys.h.inc
mmu-access-type.h
page-protection.h qemu/compiler: Absorb 'clang-tsa.h' 2025-03-06 14:21:25 +01:00
page-vary.h
plugin-gen.h
poison.h include/exec: Split out exec/cpu-interrupt.h 2025-03-08 07:55:03 -08:00
ram_addr.h system: Declare qemu_[min/max]rampagesize() in 'system/hostmem.h' 2025-03-11 17:01:14 +01:00
ramblock.h migration: ram block cpr blockers 2025-03-10 12:09:24 -03:00
ramlist.h softmmu/physmem: fix memory leak in dirty_memory_extend() 2024-09-09 10:55:39 -04:00
replay-core.h
target_long.h
target_page.h include/exec: Move TARGET_PAGE_{SIZE,MASK,BITS} to target_page.h 2025-03-07 13:02:54 -08:00
tb-flush.h
tlb-common.h include/exec: Use uintptr_t in CPUTLBEntry 2025-02-18 08:29:02 -08:00
translation-block.h accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h' 2024-12-20 17:44:57 +01:00
translator.h accel/tcg: Move gen_intermediate_code to TCGCPUOps.translate_core 2024-12-24 08:32:15 -08:00
tswap.h exec/tswap: Massage target_needs_bswap() definition 2024-10-15 11:55:09 -03:00
vaddr.h include/exec: Change vaddr to uintptr_t 2025-02-18 08:29:02 -08:00