fvdl
811dba68c1
procfs_readdir: in case of error, check if cookies actually have
...
been allocated before freeing them. From Wolfgang Solfrank.
1998-04-21 16:36:37 +00:00
fvdl
ebe551c3b3
Guess the number of needed cookies in a better way, and check for
...
overflow of the cookie array. Pointed out by Wolfgang Solfrank.
1998-04-21 09:37:23 +00:00
augustss
9663e5f689
Make probe message more consistent with usual practice.
...
From "Soren S. Jorvang" <soren@t.dk>.
1998-04-20 20:58:05 +00:00
frueauf
863ece9212
egcs warning: don't use a char for array index, cast it to int.
1998-04-20 20:41:05 +00:00
mark
7782adb98e
Use r12 as a temporary register in setrunqueue() and remrunqueue() as it
...
does not need to be preserved across function calls. This means the use
of r4 can be eliminated thus saving a stack push and pop for r4.
1998-04-20 17:27:30 +00:00
ws
761ce530bb
unlock the lock we previously locked, not another one!
1998-04-20 16:48:05 +00:00
drochner
5f6ca9ef93
Avoid "unused variable" warning without PCIVERBOSE.
...
From mynhier@cs.utk.edu (PR kern/5328).
1998-04-20 14:16:26 +00:00
sakamoto
9880e1560f
Back out the changes about NVGA. It's not necessary.
1998-04-20 12:24:03 +00:00
drochner
92b545d880
There are NE2100 compatible cards which cannot IRQ 10.
...
Use IRQ 9 in the default configuration.
(Thanks to Rick Byers <rickb@iaw.on.ca>.)
1998-04-20 10:58:01 +00:00
hannken
3cdf7f6607
Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299 .
1998-04-20 10:47:36 +00:00
scottr
88aa59e1cd
Correct type of 'nofault', and some whitespace KNFing.
1998-04-20 06:46:16 +00:00
scottr
ec5cc6194d
More kgdb groundwork pulled from hp300. While I'm in here,
...
correct some type-related problems and eliminate the register
qualifier.
1998-04-20 06:45:26 +00:00
scottr
a2973edb42
Lay groundwork for KGDB by pulling in the trap 15 handler from hp300.
1998-04-20 05:46:04 +00:00
scottr
b57acd6cd4
Minor adjustment for genassym.cf change.
1998-04-20 05:41:21 +00:00
scottr
a8cdbbf548
Garbage collect the constants we don't need.
1998-04-20 05:40:28 +00:00
sakamoto
90bb94019a
Use NVGA_ISA and NVGA_PCI instead of NVGA
...
for ISA/PCI frontend of vga.c.
1998-04-20 05:27:41 +00:00
jonathan
bd51370674
Fix indexing bug in bt459 colourmap update.
...
Causes symptoms in PR# port-pmax/4174.
1998-04-20 05:24:17 +00:00
jonathan
bdf3cb0884
* Fix typo in ROM name of mfb (PMAG-AA)
...
* Use TC_ROM_LLEN instead of constant, add space for sentinel.
* Don't print fb dimensions at console-probe time.
1998-04-20 02:46:59 +00:00
mark
ad8c2a5654
Fix the indenting of the comments in this file.
1998-04-19 23:37:22 +00:00
mark
7c57681a0b
Guard several more abort information printf() calls with the
...
verbose_faults variable in the prefetch abort handler.
Remove a lurking spltty() just before a panic in the prefetch abort
handler.
1998-04-19 23:25:49 +00:00
mark
05a669badb
General file cleanup. Grouped all the un-handled fault cases together
...
to share one panic string. Removed a number of postmortem() calls.
Use verbose_faults variable to dictate the printing of fault information.
In several address validation checks, reorder the conditions for more
optimial checking.
1998-04-19 23:18:45 +00:00
mark
98576781d3
Remove conditional compilation from around the exception handler
...
interrupt enables.
Remove the counting of the use of pcb_onfault.
Removed CONTINUE_AFTER_SVC_PREFETCH and associated code.
1998-04-19 22:45:39 +00:00
mark
66d1783927
Remove conditional compilation from around the exception handler
...
interrupt enables.
1998-04-19 22:43:27 +00:00
thorpej
cef633de2a
Fix a fencepost in last change.
1998-04-19 22:26:31 +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
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
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
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