boot - Bring in fix for qemu menu time bug
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 19 Oct 2010 17:42:49 +0000 (10:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 19 Oct 2010 17:42:49 +0000 (10:42 -0700)
commit43ca7c33d5d9709cb830f16440724207af527cae
tree2af0e9e28ac037f374acc80d6c09a2973be949b6
parentef42da700d4886d5f747303d74ace8a1f528e735
boot - Bring in fix for qemu menu time bug

* qemu does not debounce the RTC data.  The RTC chip uses a serial interface
  as well as a simple carry propagation incremenber which can catch
  transitions in the middle of an update, resulting in corrupted data.

* Simply requery the time until a stable value is found.

Suggested-by: Oliver Fromme <check+lajddm00rsub4p7p@fromme.com>
sys/boot/pc32/libi386/time.c