|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/i386: Pass const CPUX86State to x86_cpu_pending_interrupt() |
Date: | Tue, 21 Jan 2025 07:53:40 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/19/25 22:15, Philippe Mathieu-Daudé wrote:
Directly pass CPUX86State to x86_cpu_pending_interrupt(). Since it doesn't modify the dereferenced fields, make the argument const. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- target/i386/cpu.h | 2 +- target/i386/cpu.c | 8 +++----- target/i386/tcg/system/seg_helper.c | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |