coreboot-kgpe-d16/src/include/pc80
zbao a1e6a9c25a RTC: Add a routine to check if the CMOS date is valid
If the CMOS is cleared or someone writes some random date/time
on purpose, the CMOS date register has a invalid date. This will
hurts some OS, like Windows 7, which hangs at MS logo forever.
When we detect that, we need to write a reasonable date in CMOS.

Alexandru Gagniuc:
Hmm, it would be interesting to use the date the coreboot image
was built and set that as the default date. At least until time
travel is invented.

Change-Id: Ic1c7a2d60e711265686441c77bdf7891a7efb42e
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1389
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-08-02 23:40:09 +02:00
..
i8254.h Enable/fix compilation of i8254 code in ram stage. 2011-10-13 20:00:22 +02:00
i8259.h Rewrite interrupt handling in coreboot to be more comprehensible and 2009-07-21 21:36:41 +00:00
isa-dma.h - Bump the LinuxBIOS major version 2004-10-21 10:44:08 +00:00
keyboard.h Remove nonsensical wrapper for function in 2010-02-23 20:31:37 +00:00
mc146818rtc.h RTC: Add a routine to check if the CMOS date is valid 2012-08-02 23:40:09 +02:00
tpm.h Add TPM support to coreboot 2012-03-30 02:04:20 +02:00
vga.h Various license header consistency fixes (trivial). 2010-02-15 23:10:19 +00:00
vga_io.h Various license header consistency fixes (trivial). 2010-02-15 23:10:19 +00:00