qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/4] Confine use of global rtc_state to PC CMOS


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 1/4] Confine use of global rtc_state to PC CMOS functions
Date: Fri, 1 May 2009 20:27:28 +0300

On 4/30/09, Markus Armbruster <address@hidden> wrote:
> Pass the state as argument to cmos_init() and cmos_init_hd().
>  cmos_init() still needs to save it in rtc_state for use by
>  cmos_set_s3_resume().

pc.c could pass acpi an opaque handle (former rtc_state) at init or
acpi could export a function to set the handle, called by pc.c. Then
cmos_set_s3_resume could take a state parameter.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]