perry
b89a3425b7
Eliminate obsolete TIMEZONE and DST options.
...
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
thorpej
a0dffcafc2
Use bitmask_snprintf().
1996-11-13 07:00:30 +00:00
christos
bd73314ed9
backout previous kprintf changes
1996-10-13 03:19:38 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
mycroft
eda98d375d
Use intr.h.
1996-05-12 23:11:54 +00:00
christos
099b45aa2a
- Add missing prototypes.
...
- Fix gcc warnings
1996-05-03 19:14:50 +00:00
cgd
79e0a8a2b9
update for addition of a machine-dependent cookie as the first argument
...
to isa_intr_{,dis}establish().
1996-04-11 22:15:08 +00:00
mycroft
46c087980e
Add explicit return types.
1996-04-03 08:55:20 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
c8e379015c
Fix sysbeep() for the case of pitch == 0, and garbage collect a useless
...
variable.
1995-08-13 04:06:29 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
cgd
59e990a56b
check CMOS time against base time, for sanity. if CMOS time invalid,
...
warn user and user base time. if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it. (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd
2e0e8fc49d
use the machine-independent definitions for the mc146818.
...
wrap the various uses of the chip (including the uses of the NVRAM on it)
around the new defintions, structures, and functions specified in the header.
1995-05-04 19:39:08 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
mycroft
b5cf1b5ddd
Add interrupt sharing types.
1995-01-03 01:30:14 +00:00
mycroft
b7acf321cd
No longer needs icu.h.
1994-11-04 18:59:34 +00:00
mycroft
29414c5a0a
Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
...
rather than bit shifting.
1994-11-04 18:34:50 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
mycroft
8328e78454
Don't allow the clock chip to be reset if the time hasn't been initialized.
1994-07-25 00:19:47 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
mycroft
0ee51c2c8b
Forgot to munge the #includes in last commit.
1994-05-03 20:32:22 +00:00
mycroft
884168ce49
Move beep junk to clock.c.
1994-05-03 08:23:55 +00:00
mycroft
2f66816d8b
Rename two files.
1994-04-24 01:34:05 +00:00
mycroft
3f5e4f423f
Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
...
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft
592ec61b17
Updates for new autoconfig.
1994-03-29 04:35:37 +00:00
mycroft
0c082bcaf8
DELAY() --> delay(). This is not a macro.
1994-03-06 17:18:43 +00:00
mycroft
5580321195
Don't try to clear the diag register in NVRAM; it's used for other purposes
...
by some BIOSes, and mysterious lossage results.
1994-02-08 05:10:48 +00:00
deraadt
7656cdde2c
clockintr() calls hardclock with a clockframe *
1994-02-01 02:02:54 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
brezak
a9f5756dd2
In resettodr() handle rtcget() failure.
1993-09-21 13:09:10 +00:00
mycroft
d7080696e9
Put RCS ids back...
1993-08-04 00:42:51 +00:00
brezak
f21b797b62
Bring to rtc clock code from Mach. Provides resettodr().
1993-08-03 12:33:17 +00:00
deraadt
ceec40c98f
clean up code for timeout/untimeout/wakeup prototypes.
1993-07-06 06:06:26 +00:00
cgd
77219acd07
change interrupt vector names to begin with "X" rather than "V", so we're
...
like every other BSD system on the planet...
1993-07-03 12:32:25 +00:00
andrew
bc5f186001
ANSIfications.
1993-06-27 06:42:19 +00:00
mycroft
528edf6037
Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY().
1993-06-15 21:37:14 +00:00
cgd
8a05b36058
incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
...
for patchkit patch 158. it appears to work well.
1993-06-06 04:14:01 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
cgd
b1c02394c3
add some explanatory comments from 386bsd patchkit patch 113
1993-05-07 05:22:14 +00:00
mycroft
f771146361
Round to nearest when generating 8259 clock frequency (from 386BSD path 113).
1993-04-22 04:30:53 +00:00
cgd
f23291fb78
added support for microtime routines by Steve McCanne (mccanne@ee.lbl.gov)
1993-03-23 08:12:09 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00