From: Philippe Mathieu-Daudé Date: Fri, 12 Dec 2025 21:15:00 +0000 (+0100) Subject: target/i386: Remove x86_stl_phys_notdirty() leftover X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24151dec6532993946a8b88c4dd0cbbb037d176;p=thirdparty%2Fqemu.git target/i386: Remove x86_stl_phys_notdirty() leftover Last use of x86_stl_phys_notdirty() was removed in commit 4a1e9d4d11c ("target/i386: Use atomic operations for pte updates"), let's remove. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Zhao Liu Message-Id: <20251224151351.86733-2-philmd@linaro.org> --- diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 41ea04099b..2bbc977d90 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2756,7 +2756,6 @@ uint32_t x86_lduw_phys(CPUState *cs, hwaddr addr); uint32_t x86_ldl_phys(CPUState *cs, hwaddr addr); uint64_t x86_ldq_phys(CPUState *cs, hwaddr addr); void x86_stb_phys(CPUState *cs, hwaddr addr, uint8_t val); -void x86_stl_phys_notdirty(CPUState *cs, hwaddr addr, uint32_t val); void x86_stw_phys(CPUState *cs, hwaddr addr, uint32_t val); void x86_stl_phys(CPUState *cs, hwaddr addr, uint32_t val); void x86_stq_phys(CPUState *cs, hwaddr addr, uint64_t val); diff --git a/target/i386/helper.c b/target/i386/helper.c index 3f179c6c11..f9f9488eb4 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -702,16 +702,6 @@ void x86_stb_phys(CPUState *cs, hwaddr addr, uint8_t val) address_space_stb(as, addr, val, attrs, NULL); } -void x86_stl_phys_notdirty(CPUState *cs, hwaddr addr, uint32_t val) -{ - X86CPU *cpu = X86_CPU(cs); - CPUX86State *env = &cpu->env; - MemTxAttrs attrs = cpu_get_mem_attrs(env); - AddressSpace *as = cpu_addressspace(cs, attrs); - - address_space_stl_notdirty(as, addr, val, attrs, NULL); -} - void x86_stw_phys(CPUState *cs, hwaddr addr, uint32_t val) { X86CPU *cpu = X86_CPU(cs);