boot - Bring in fix for qemu menu time bug
commitc42f98cfe199322697feecdf7b0f146fb3209a08
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 19 Oct 2010 17:42:49 +0000 (19 10:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 16:31:40 +0000 (24 09:31 -0700)
tree328a90c7217af28f4c0e3167d0ec342a651dfa49
parentfc4b48e0e0d5fbf7799cf5b0fa8316314b785691
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