[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] hw/isa/vt82c686: Allow PM controller to switch to ACPI m
From: |
Igor Mammedov |
Subject: |
Re: [PATCH 2/3] hw/isa/vt82c686: Allow PM controller to switch to ACPI mode |
Date: |
Thu, 2 Mar 2023 15:42:09 +0100 |
On Mon, 6 Feb 2023 09:00:37 +0100
Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
> 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...
one boolean would be fine unless they were both false?
>
> Maybe unfinished refactor from commit eaba51c573 ("acpi, acpi_piix,
> vt82c686: factor out PM1_CNT logic")?
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 2/3] hw/isa/vt82c686: Allow PM controller to switch to ACPI mode,
Igor Mammedov <=