diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-01 20:31:38 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-17 09:58:22 -0600 |
commit | 5904ae4eba0928c35845720f9a630c19e48c2131 (patch) | |
tree | 6c234e07d3c34e633e29d62702c60638abb5303e /hw/mips_r4k.c | |
parent | 61b7b67df2ed10ff5ab0dcc649080bca782fdc5e (diff) |
hpet: Save/restore cached RTC IRQ level
In legacy mode, the HPET suppresses the RTC interrupt delivery via IRQ
8 but keeps track of the RTC output level and applies it when legacy
mode is turned off again. This value has to be preserved across save/
restore as it cannot be reconstructed otherwise.
To document that a raised rtc_irq_level won't survive a vmload without
a hpet/rtc_irq_level subsection, add an explicit clearing to the reset
handler.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mips_r4k.c')
0 files changed, 0 insertions, 0 deletions