summary refs log tree commit diff stats
path: root/include/system/ram_addr.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-29 17:12:12 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 03:37:03 +0200
commit34f9b0ad082268e347cee5c4903940e4ea67614f (patch)
tree08bc84576482075463910cffaeb2c7919ac5e5a8 /include/system/ram_addr.h
parent971e25424c0e2cbbea28cc7e6d09a4569ca6cb06 (diff)
downloadfocaccia-qemu-34f9b0ad082268e347cee5c4903940e4ea67614f.tar.gz
focaccia-qemu-34f9b0ad082268e347cee5c4903940e4ea67614f.zip
system/ramblock: Move ram_block_is_pmem() declaration
Move ramblock_is_pmem() along with the RAM Block API
exposed by the "system/ramblock.h" header. Rename as
ram_block_is_pmem() to keep API prefix consistency.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Peter Xu <peterx@redhat.com>
Message-Id: <20251002032812.26069-3-philmd@linaro.org>
Diffstat (limited to 'include/system/ram_addr.h')
-rw-r--r--include/system/ram_addr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/system/ram_addr.h b/include/system/ram_addr.h
index 15a1b1a4fa..53c0c8c385 100644
--- a/include/system/ram_addr.h
+++ b/include/system/ram_addr.h
@@ -99,8 +99,6 @@ static inline unsigned long int ramblock_recv_bitmap_offset(void *host_addr,
     return host_addr_offset >> TARGET_PAGE_BITS;
 }
 
-bool ramblock_is_pmem(RAMBlock *rb);
-
 /**
  * qemu_ram_alloc_from_file,
  * qemu_ram_alloc_from_fd:  Allocate a ram block from the specified backing