Re: [SeaBIOS] [PATCH v2 1/3] ich9: add TCO interface emulation

2015-06-01 Thread Paolo Bonzini
On 31/05/2015 00:04, Paulo Alcantara wrote: +case TCO_RLD: +tr-timeouts_no = 0; +if (can_start_tco_timer(tr)) { +tr-tco.rld = tr-tco.tmr; +tco_timer_reload(tr); +} else { +tr-tco.rld = val; Please mask out bits outside

[SeaBIOS] [PATCH v2 1/3] ich9: add TCO interface emulation

2015-05-30 Thread Paulo Alcantara
This interface provides some registers within a 32-byte range and can be acessed through PCI-to-LPC bridge interface (PMBASE + 0x60). It's commonly used as a watchdog timer to detect system lockups through SMIs that are generated -- if TCO_EN bit is set -- on every timeout. If NO_REBOOT bit is