matthias
b034fd9de6
shutdown is using exect and what we had here made shutdown fail with
...
a BPT/Trace trap.
1998-04-19 20:14:18 +00:00
hubertf
ea6f9b1d69
Print sane values on uptime >1 year, per PR 5318 by Heiko Rupp
1998-04-19 19:52:33 +00:00
jonathan
b4d3bac06e
pmax has IPL_ constants; Define TC_IPL_ using them until all tc
...
drivers are converted to use IPL_.
Commit changes to if_le_ibus.c as a child of ibus.
1998-04-19 13:04:24 +00:00
jonathan
fc2608c7a2
Define TC_KV(), TC_C() here for benefit of model-specific TCbus initializers.
1998-04-19 11:16:18 +00:00
jonathan
bab2163883
Remove kn01var.h. Superseded by ibus.
1998-04-19 10:57:23 +00:00
jonathan
cf6765a49c
Attach ibus to mainbus.
...
Commit updated dec_3100.c with interrupt-enable code for ibus.
1998-04-19 10:54:54 +00:00
jonathan
1a283ae18b
Use new ibus attach args.
1998-04-19 10:47:06 +00:00
jonathan
6525db3fdb
Update dc_ds.c to use new ibus attach args.
...
Garbage collect obsolete front-end from dc.c backend.
Partially clean up console init code.
1998-04-19 10:44:41 +00:00
ross
9fa0ea1e0c
md.alpha: pmap.{old,new}.h-- z8530var.h++
...
mi: sync lots of new stuff
1998-04-19 10:35:45 +00:00
jonathan
1116cb8578
Cleanup comment typos.
1998-04-19 10:22:45 +00:00
jonathan
c7597ae8b8
Rework, based loosely on suggestions from Tohru Nisimura..
1998-04-19 10:18:20 +00:00
ross
555363374b
Eliminate /usr/include/dev/ic/smc90cx6reg.h and .../dev/vme/*.h as these
...
are in the mi file.
1998-04-19 10:00:57 +00:00
jonathan
02e88fb06e
ibus devices and 5100 attachment.
1998-04-19 08:47:54 +00:00
jonathan
539856584c
Garbage collect obsolete motherboard options from non-GENERIC kernels.
...
Add "ibus" to configs with 3100 support.
1998-04-19 08:46:50 +00:00
jonathan
d47bc69126
Rework pmax kernel config:
...
* ibus (virtual bus for baseboard direct-attach deviecs)
* 5100 support, using ibus
* rename "clock" to mcclock for future support of Qbus machiens
* use sys/dev/dec mcclock_pad32 machinery for pmax mcclock
* reworked TC config code.
1998-04-19 08:39:42 +00:00
jonathan
216daa4e5e
Configure mips_mclock if "clock|mccclock".
...
All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
1998-04-19 08:24:19 +00:00
jonathan
59125ec0c9
Define delay() for pmax asc driver, mips_mcclock.
1998-04-19 08:22:22 +00:00
jonathan
85e00b2364
Add -D__pmax__. Leave -Dpmax until all uses changed to __pmax__.
1998-04-19 08:01:01 +00:00
jonathan
9caaf18836
Rework pmax turbochannel config, as suggested by Jason Thorpe.
...
Also make TC framebuffer-console search table-driven.
Does not yet include "tcasic" layer; there's no such hardware on DECstations
and nothing for a tcasic layer to do.
1998-04-19 07:59:13 +00:00
jonathan
e487483678
oops, diffs to use dev/dec/mcclock_pad32 were in a different tree. Fix.
1998-04-19 07:54:45 +00:00
jonathan
c84f4e94d9
Copy alpha/tc/mcclock_ioasic.c (duplicated in pmax/tc/mcclock_ioasic.c)
...
into sys/dev/dec and split into a clockfns layer and a "middle" layer
for other DEC systems which use mcclocks with each onchip byte
register padded out to a 32-bit word.
Clone alpha/alpha/mcclock (also duplicated in pmax port) into
sys/dev/dec, and ifdef for default clockrates on pmax and alpha.
Use new machinery on pmax for ibus,ioasic attached mcclocks.
1998-04-19 07:50:25 +00:00
jonathan
558e40fb86
Remove duplicate of sys/dev/dec/clockvar.h.
1998-04-19 06:11:55 +00:00
cgd
2072394059
move OBJS depenency on built headers to after include of bsd.prog.mk, so
...
that things are built in the right order on 'make cleandir && make' (i.e.
so that the headers are properly built).
1998-04-19 05:22:08 +00:00
jonathan
9873ee237f
Add dependencies on Makefile for SYSVSHM, SYSVIPC options.
1998-04-19 04:51:18 +00:00
mark
464caff246
Since the kshell stuff is no longer ever built into the kernel,
...
the last possible hooks having been removed from rpc_machdep.c
and its use has been deprecated for a long long time lets finally
axe it.
1998-04-19 04:48:31 +00:00
mark
569be6d488
Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
...
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark
fcc1093bee
Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
...
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark
47ec8f3afc
Validate the source address in db_read_bytes() to avoid faulting when
...
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark
9bbde6c952
Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
...
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark
33b4b52949
Define the prototypes for rtc_read() and rtc_write() here rather than
...
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark
1f5455aaaf
Update the softc to hold the rtc_{write,write}() argument and update
...
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark
c4f9d5c4b0
Add a rtc argument field to the todclock_attach_args structure.
...
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark
15901d1be3
Remove rtc_read() and rtc_write prototypes.
1998-04-19 03:49:17 +00:00
mark
effb702da4
Don't explicitly call the debugger on a reset exception. Just print
...
trap frame address and panic.
1998-04-19 03:41:14 +00:00
jonathan
d4a24f85d6
Support shared Decstation 3100 and Decsystem 5100 baseboard devices
...
using a virtual "ibus" for baseboard devices.
1998-04-19 02:52:45 +00:00
jonathan
53c671e26c
Add locore assembler functions to read mips3 cycle counter, and
...
read and write compare register (controls cycle-driven periodic interrupt).
Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150). the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.
XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan
4ea6444493
Decsystem 5100 (aka mipsmate aka kn230) support:
...
* dec_5100.c: sysconf, interrupt, and motherboard (drain writebuffer)
support for 5100.
* support for hardware kludge in 5100: sii DMA buffer is hardware
padded to alternate 32-bit words, not alternating 16-bit halfwords.
* 5100 has no framebuffer, console is wired to serial port 0.
With ibus support, boots as far as exec'ing init, and hangs.
1998-04-19 01:27:02 +00:00
cgd
fea06d4c21
add back in the old NetBSD changes. Also, add in a PIC GOT
...
offset fix from the snapshot.
1998-04-19 01:05:27 +00:00
cgd
f502d8c9f4
sync with EGCS 1.0.2
1998-04-19 01:01:20 +00:00
cgd
51183f1bb3
re-import egcs 1.0.2 ARM bits. trying to use the snapshot's bits was a
...
nice idea, but caused more problems than it was worth.
1998-04-19 00:56:34 +00:00
pk
c1a4f8c8ed
Define `xbox'.
1998-04-18 19:03:00 +00:00
cgd
92c6f02e55
consistency the rest of the NetBSD/arm32 toolchain: make TYPE_OPERAND_FMT
...
be "#%s". This generates assembly consistent (w.r.t. .type directive)
with asm.h and what the existing compiler generates. (The old definition
was "%%%s", and the assmbler choked on the %'s.)
1998-04-18 19:02:13 +00:00
pk
90b5c246c6
Skeleton code for the SBus expander box.
1998-04-18 19:00:17 +00:00
tv
1882b7131d
You cannot check SHLIB_{MAJOR,MINOR} without <bsd.lib.mk>, but LINKS is
...
needed before <bsd.lib.mk>. Instead, check for shlib_version file.
1998-04-18 15:46:22 +00:00
tv
6958fe8d9a
Get the NO* variables from bsd.own.mk, and then set LINKS accordingly
1998-04-18 15:26:20 +00:00
drochner
fb43bb5f19
Add danish keymap.
...
From Soren S. Jorvang (PR kern/5312).
1998-04-18 10:57:13 +00:00
drochner
13c6d27696
Fix spelling of my name.
...
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-18 10:35:48 +00:00
drochner
d58832579d
Fix botched DMA tag initialization.
1998-04-18 10:26:56 +00:00
drochner
302692bf8d
Namespace protection: give key description table a more private name.
1998-04-18 09:51:20 +00:00
drochner
1745de275b
-Set keyboard (and/or controller) to XT scancode in early console
...
initialzation. Closes PR port-alpha/5303 (Jason Thorpe).
-Namespace protection: give key description table a more private name.
-Make sure "struct pckbd_internal" is completely initialized.
-Improve locator comparition in probe().
-Remove BROKEN_INDIRECT_CONFIG.
1998-04-18 09:49:58 +00:00