mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
system/physmem: Remove _WIN32 #ifdef'ry
Commitfb3ecb7ea4("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 commit7224f66ec3("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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user