diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-10-01 19:06:19 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-10-07 05:03:56 +0200 |
| commit | 3037def8b8e91ed3ce3f711dc646e07e0ef894dc (patch) | |
| tree | 39476792db3c9d4b9f001107eb3b7942fdab4b06 /include/system/ram_addr.h | |
| parent | 6290580e9b712d5cbaa1cc2a314d07cd4a6c283d (diff) | |
| download | focaccia-qemu-3037def8b8e91ed3ce3f711dc646e07e0ef894dc.tar.gz focaccia-qemu-3037def8b8e91ed3ce3f711dc646e07e0ef894dc.zip | |
system/physmem: Remove _WIN32 #ifdef'ry
Commit fb3ecb7ea40 ("exec: Exclude non portable function for
MinGW") guarded cpu_physical_memory_set_dirty_lebitmap() within
_WIN32 #ifdef'ry because of the non-portable ffsl() call, which
was later replaced for the same reason by commit 7224f66ec3c
("exec: replace ffsl with ctzl"); we don't need that anymore.
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251001175448.18933-13-philmd@linaro.org>
Diffstat (limited to 'include/system/ram_addr.h')
| -rw-r--r-- | include/system/ram_addr.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/system/ram_addr.h b/include/system/ram_addr.h index ca5ae84244..fbf57a05b2 100644 --- a/include/system/ram_addr.h +++ b/include/system/ram_addr.h @@ -155,8 +155,6 @@ void cpu_physical_memory_set_dirty_flag(ram_addr_t addr, unsigned client); void cpu_physical_memory_set_dirty_range(ram_addr_t start, ram_addr_t length, uint8_t mask); -#if !defined(_WIN32) - /* * Contrary to cpu_physical_memory_sync_dirty_bitmap() this function returns * the number of dirty pages in @bitmap passed as argument. On the other hand, @@ -265,7 +263,6 @@ uint64_t cpu_physical_memory_set_dirty_lebitmap(unsigned long *bitmap, return num_dirty; } -#endif /* not _WIN32 */ static inline void cpu_physical_memory_dirty_bits_cleared(ram_addr_t start, ram_addr_t length) |