summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-04-22 05:04:58 +0000
committermarcel <marcel@FreeBSD.org>2005-04-22 05:04:58 +0000
commit2bd4b7b50d586bd2927a075cdce738a9a9740d54 (patch)
tree529eb20c4c6575e5aa5b578240fb1fa67bacc599 /sys/conf/files.ia64
parent92c02688a62def0d758581d08857d9580dfa1900 (diff)
downloadFreeBSD-src-2bd4b7b50d586bd2927a075cdce738a9a9740d54.zip
FreeBSD-src-2bd4b7b50d586bd2927a075cdce738a9a9740d54.tar.gz
Sanity the RTC code:
o Remove the clock interface. Not only does it conflict with the MI version when device genclock is added to the kernel, it was also not possible to have more than 1 clock device. This of course would have been a problem if we actually had more than 1 clock device. In short: we don't need a clock interface and if we do eventually, we should be using the MI one. o Rewrite inittodr() and resettodr() to take into account that: 1) We use the EFI interface directly. 2) time_t is 64-bit and we do need to make sure we can determine leap years from year 2100 and on. Add a nice explanation of where leap years come from and why. 3) This rewrite happened in 2005 so any date prior to 1/1/2005 (either M/D/Y or D/M/Y) is bogus. Reprogram the EFI clock with 1/1/2005 in that case. 4) The EFI clock has a high probability of being correct, so only (further) correct the EFI clock when the file system time is larger. That should never happen in a time-synchronised world. Complain when EFI lost 2 days or more. Replace the copyright notice now that I (pretty much) rewrote all of this file.
Diffstat (limited to 'sys/conf/files.ia64')
-rw-r--r--sys/conf/files.ia642
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/conf/files.ia64 b/sys/conf/files.ia64
index 6a050f8..304a0f0 100644
--- a/sys/conf/files.ia64
+++ b/sys/conf/files.ia64
@@ -88,13 +88,11 @@ ia64/ia32/ia32_trap.c optional compat_ia32
ia64/ia64/autoconf.c standard
ia64/ia64/busdma_machdep.c standard
ia64/ia64/clock.c standard
-ia64/ia64/clock_if.m standard
ia64/ia64/context.S standard
ia64/ia64/db_interface.c optional ddb
ia64/ia64/db_trace.c optional ddb
ia64/ia64/dump_machdep.c standard
ia64/ia64/efi.c standard
-ia64/ia64/eficlock.c standard
ia64/ia64/elf_machdep.c standard
ia64/ia64/exception.S standard
ia64/ia64/gdb_machdep.c optional gdb
OpenPOWER on IntegriCloud