NetBSD/sys/arch/i386
perry bf0943278c Fix a problem first noticed by a user with a screwed up real time
clock past the End of Time.

If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).

This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037.  This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.

This kludge is conditioned on an
	if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.

Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
..
bioscall
compile
conf Don't include files.isapnp here. 1998-07-31 04:39:23 +00:00
eisa
i386 Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
include Delint. 1998-07-27 13:55:32 +00:00
isa Fix a problem first noticed by a user with a screwed up real time 1998-08-05 01:21:54 +00:00
pci Recognise the ALI M1543 in order to support ALI Aladdin V chipset 1998-07-13 03:31:57 +00:00
stand Use the new mkdtemp() instead of mktemp();mkdir(). 1998-07-28 20:10:53 +00:00
Makefile