|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 2/3] hw/isa/vt82c686: Allow PM controller to switch to ACPI mode |
Date: | Mon, 6 Feb 2023 09:00:37 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
On 31/1/23 15:54, BALATON Zoltan wrote:
On Sun, 29 Jan 2023, Bernhard Beschow wrote:Adds missing functionality the real hardware supports. Signed-off-by: Bernhard Beschow <shentey@gmail.com> --- hw/isa/vt82c686.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hw/isa/vt82c686.c b/hw/isa/vt82c686.c index 2189be6f20..b0765d4ed8 100644 --- a/hw/isa/vt82c686.c +++ b/hw/isa/vt82c686.c @@ -37,6 +37,9 @@ #include "qemu/timer.h" #include "trace.h"
Why does acpi_pm1_cnt_update() take two arguments for a bool value? Can these be both true or false at the same time?
No, this is a one-bit so boolean is enough... Maybe unfinished refactor from commit eaba51c573 ("acpi, acpi_piix, vt82c686: factor out PM1_CNT logic")?
[Prev in Thread] | Current Thread | [Next in Thread] |