On Mon, 6 Feb 2023 09:00:37 +0100 Philippe Mathieu-Daudé <phi...@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 <shen...@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")? >