|
From: | Laurent Vivier |
Subject: | Re: [PATCH v2 02/10] macfb: don't use special irq_state and irq_mask variables in MacfbState |
Date: | Fri, 4 Mar 2022 11:22:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
Le 02/03/2022 à 22:27, Mark Cave-Ayland a écrit :
The current IRQ state and IRQ mask are handled exactly the same as standard register accesses, so store these values directly in the regs array rather than having separate variables for them. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- hw/display/macfb.c | 15 +++++++-------- include/hw/display/macfb.h | 2 -- 2 files changed, 7 insertions(+), 10 deletions(-)
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
[Prev in Thread] | Current Thread | [Next in Thread] |