|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] Fix handling of AVR interrupts above 33. |
Date: | Wed, 14 Jun 2023 14:22:14 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 |
On 14/6/23 16:07, Lucas Dietrich wrote:
This commit addresses a bug in the AVR interrupt handling code. The modification involves replacing the usage of the ctz32 function with ctz64 to ensure proper handling of interrupts above 33 in the AVR target. Previously, timers 3, 4, and 5 interrupts were not functioning correctly because most of their interrupt vectors are numbered above 33. Signed-off-by: Lucas Dietrich <ld.adecy@gmail.com> --- target/avr/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for insisting with the patch posting process :) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |