Commit Graph

33348 Commits

Author SHA1 Message Date
peter
8ff62cf63a kzipboot uses kern/inflate.c outside the kernel by providing its own
minimal malloc/free implementation.  Stop passing M_GZIP to it.
1998-11-10 09:08:49 +00:00
peter
9d9ee5cdc8 Make the vnode opv vector construction fully dynamic. Previously we
leaked memory on each unload and were limited to items referenced in
the kernel copy of vnode_if.c.  Now a kernel module is free to create
it's own VOP_FOO() routines and the rest of the system will happily
deal with it, including passthrough layers like union/umap/etc.

Have VFS_SET() call a common vfs_modevent() handler rather than
inline duplicating the common code all over the place.

Have VNODEOP_SET() have the vnodeops removed at unload time (assuming a
module) so that the vop_t ** vector is reclaimed.

Slightly adjust the vop_t ** vectors so that calling slot 0 is a panic
rather than a page fault.  This could happen if VOP_something() was called
without *any* handlers being present anywhere (including in vfs_default.c).
slot 1 becomes the default vector for the vnodeop table.

TODO: reclaim zones on unload (eg: nfs code)
1998-11-10 09:04:09 +00:00
peter
1559a14d0a Arrange for unload-time linker set hooks to be called. While cut/pasting
some code, I changed the original to be consistant with the rest of the
file rather than duplicating the problems.
1998-11-10 08:49:28 +00:00
peter
e2f008042e Have MALLOC_DECLARE() initialize malloc types explicitly, and have them
removed at module unload (if in a module of course).
However; this introduces a new dependency on <sys/kernel.h> for things
that use MALLOC_DECLARE().  Bruce told me it is better to add sys/kernel.h
to the handful of files that need it rather than add an extra include to
sys/malloc.h for kernel compiles. Updates to follow in subsequent commits.
1998-11-10 08:46:24 +00:00
peter
6639fb73d5 New macro for building a linker set of things to do at module unload
time (eg: disconnect malloc types contained within a module), opposite
of SYSINIT().
1998-11-10 08:41:41 +00:00
dima
11207334ba Enable named-xfer and rbootd for alpha. 1998-11-10 06:50:35 +00:00
gibbs
18cff7f98b Noop Commit - Change was in last revision.
If the next available mailbox is not in the free state, print a warning
and handle the condition as a temporary resource shortage.  The condition
should never happen, but we shouldn't panic since recovery is possible.
1998-11-10 06:47:11 +00:00
gibbs
421e0442f1 Convert to change in ISA compatiblity port handling in the base bt driver. 1998-11-10 06:45:14 +00:00
gibbs
82e8381385 Fix probes when a port address is specified. 1998-11-10 06:44:54 +00:00
gibbs
aaacaecba2 Fix probes when a port address is specified.
Convert from BT'isms to AHA'isms

Don't fail the probe if the illegal command bit is set in the status
register.  If the BusLogic MultiMaster probe preceeded us, it may well
have determined that the card we are attaching to was not a true MultiMaster
by sending us a command that fails on the 154X.

Reset the adapter before doing the inquiry.  This provides extra sanity
and will also clear the illegal command status bit that my be left over
from the MultiMaster probe.
1998-11-10 06:44:42 +00:00
dima
626bfdf7c3 Enable IPXrouted for alpha. 1998-11-10 06:38:40 +00:00
dima
535b406273 Cleanup. Make it compile on alpha. 1998-11-10 06:35:24 +00:00
brian
85a8db6486 Don't forget to initialise dbuff when debugging. 1998-11-10 00:32:39 +00:00
dima
cb1f5d4a1a Clean it up a little bit. 1998-11-09 23:39:02 +00:00
nsouch
9ba2ddcb6e Release the ppbus when probe fails. 1998-11-09 22:22:01 +00:00
dima
26577533f2 Reenable adjkerntz for alpha. 1998-11-09 21:52:50 +00:00
truckman
24fe22505c If the session leader dies, s_leader is set to NULL and getsid() may
dereference a NULL pointer, causing a panic.  Instead of following
s_leader to find the session id, store it in the session structure.

Jukka found the following info:

	BTW - I just found what I have been looking for. Std 1003.1
	Part 1: SYSTEM API [C LANGUAGE] section 2.2.2.80 states quite
	explicitly...

	Session lifetime: The period between when a session is created
	and the end of lifetime of all the process groups that remain
	as members of the session.

	So, this quite clearly tells that while there is any single
	process in any process group which is a member of the session,
	the session remains as an independent entity.

Reviewed by:	peter
Submitted by:	"Jukka A. Ukkonen" <jau@jau.tmt.tele.fi>
1998-11-09 15:08:04 +00:00
dima
ee5e508394 Reenable fstat for alpha. 1998-11-09 11:08:48 +00:00
dima
2c16d6276e Reenable systat/vmstat for alpha. 1998-11-09 10:52:43 +00:00
dima
9350eb30ef Add some bogus stuff to make systat/vmstat happy.
Reviewed by:	dfr
1998-11-09 10:47:19 +00:00
peter
68c08cdb68 ifioctl takes a u_long rather than an int on 3.0 1998-11-09 09:34:00 +00:00
peter
efa47e68d1 Add #include to get a prototype for update_intr_masks(). 1998-11-09 09:30:55 +00:00
peter
0b04784d79 "fix" a warning that has been bugging me for ages. Eliminate a couple
of temporary variables since they are only used once and their types
were the cause of the warnings.
1998-11-09 09:21:25 +00:00
peter
1034ece765 s/%#p/%p/ to fix a warning. This looks like a leftover of once being
%#x, which causes a leading 0x to be prepended. %p has this by default
and the '#' is ignored by the kernel prinf code for %p.
1998-11-09 08:08:06 +00:00
peter
c541680191 Fix a warning (#include the apic_next_irq() prototype for APIC_IO) 1998-11-09 08:03:01 +00:00
peter
cfa66ece23 Delete stray extern declaration for non-existing variables. 1998-11-09 07:03:04 +00:00
peter
c227178f58 Remove [apparently] bogus casts to u_long for the vnode_pager_setsize()
second argument.  np_size is a 64 bit int, so is the second arg.  This
might have caused needless 2G/4G file size problems.

I believe it was Bruce who queried this.
1998-11-09 07:00:14 +00:00
jkoshy
6fb504f49b Fix a .Nm -> .Fn fix that was missed in the previous commit.
Pointed-out-by:	Bruce Evans
1998-11-09 06:52:46 +00:00
peter
49826d7340 Fix typo (if it's not a typo, then it doesn't make sense IMHO) 1998-11-09 05:40:22 +00:00
truckman
232677bd5d Fix some calculations that use sizeof to attempt to find the end of an
array that were doing sizeof on an unrelated variable.  This just happened
to work right on the i386, but would not on the alpha.

PR: bin/8427
1998-11-09 03:43:55 +00:00
steve
0e1e2dce28 Do a better job of determining if we were called as uptime(1).
PR:		8593
1998-11-09 01:19:30 +00:00
des
c67faadd9a main.c:
Fix usage string. Fix getopt() string. Fix ordering of compatibility options.
fetch.1:
 Fix synopsis. Fix ordering of T and t options. Fix minor grammar nit.
1998-11-08 23:18:48 +00:00
jkh
646f1b0ce5 Whoops, properly compress doc files again. 1998-11-08 20:47:57 +00:00
phk
f9fcff6b76 Allow for printing out integer arrays. 1998-11-08 19:27:43 +00:00
phk
3d402eedd3 Update interface to timecounter to last change to the generic code. 1998-11-08 19:26:23 +00:00
nsouch
fe59e67e6a Add semicolon to INTERFACE declaration. 1998-11-08 18:51:38 +00:00
dfr
50dd4b4d31 Port the ps/2 mouse driver to the alpha. 1998-11-08 18:43:03 +00:00
nsouch
d29f8d5e02 Check if devclass exists for probed devices before
declaring the device 'alive'.
1998-11-08 18:42:34 +00:00
nsouch
3c1698865a Update configuration files for the perl based makedevops script.
Submitted by: Nick Hibma <nick.hibma@jrc.it>
Approved by:  Doug Rabson <dfr@nlsystems.com>
1998-11-08 18:39:57 +00:00
rnordier
dc45a79b52 Prevent boot.config being parsed more than once. 1998-11-08 18:37:28 +00:00
nsouch
e2c3811a93 Add semicolon to INTERFACE declarations 1998-11-08 18:35:53 +00:00
nsouch
cc64727aee "Here is the most recent version of makedevops.pl. I've made the parsing
of the input file more strict and the error messages more elaborate.
Second, the output file has slightly improved looks when >80 character
lines are concerned (I needed a 80 character line formatter anyway for
work...)."

Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-11-08 18:33:11 +00:00
rnordier
7385d1af71 Drop the familiar 'text=xxxx data=xxxx bss=xxxx ...' display while
loading.  This eliminates noise when loading boot/loader; and when
loading a kernel, they generally flash by too fast to be
intelligible anyway.
1998-11-08 18:29:29 +00:00
rnordier
7c887cb15d boot1: Eliminate EDD detection and optional use of disk packet
interface.  Do some general consistency fixes and space optimizations.
Use of some freed-up space to defend against possible BIOS misfeatures.

boot2: Revise disk read interface to provide for boot1 changes.  Free
up space for this.
1998-11-08 15:36:35 +00:00
brian
04a516b615 Explain what the command line switches do and what the
various prompts signify.
1998-11-08 13:06:19 +00:00
brian
9e850ba8f4 Fix a few typos
Submitted by: Forgotten (sorry)
1998-11-08 13:05:30 +00:00
dfr
cda8a342be * Fix a couple of places in the device pager where an address was
truncated to 32 bits.
* Change the calling convention of the device mmap entry point to
  pass a vm_offset_t instead of an int for the offset allowing
  devices with a larger memory map than (1<<32) to be supported
  on the alpha (/dev/mem is one such).

These changes are required to allow the X server to mmap the various
I/O regions used for device port and memory access on the alpha.
1998-11-08 12:39:07 +00:00
gpalmer
5a8921b934 dig, dnsquery & host seem to work on the alpha now 1998-11-08 12:37:30 +00:00
asami
c1c389e55b (1) New variable MAKE_ARGS: will be appended to build/install make argument
list.  The old MAKE_FLAGS was a little hard to use since it had a weird
    default ("-f").
Suggested by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>

(2) Add new targets clean-restricted and clean-for-cdrom, which will
    delete RESTRICTED and NO_CDROM packages and distfiles from the top.
Reviewed by:	jkh

(3) Add depends to list of things to recurse on.  It will help people
    who are trying to fetch some ports plus their dependencies.

Requested by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-11-08 10:29:53 +00:00
peter
be4a48fe99 Missing newline at end of file causes syntax error. 1998-11-08 09:57:28 +00:00