Commit Graph

54836 Commits

Author SHA1 Message Date
jake
93aa222459 Remove last vestiges of thr_sleep and thr_wakeup from libc. 2000-12-02 05:58:03 +00:00
jake
5c0cf1140f Regen. 2000-12-02 05:45:32 +00:00
jake
f8695ab080 Forgot this file in previous commit to remove file kern_threads.c 2000-12-02 05:42:30 +00:00
jake
1eb5c41a73 Remove thr_sleep and thr_wakeup. Remove fields p_nthread and p_wakeup
from struct proc, which are now unused (p_nthread already was).
Remove process flag P_KTHREADP which was untested and only set
in vfs_aio.c (it should use kthread_create).  Move the yield
system call to kern_synch.c as kern_threads.c has been removed
completely.

moral support from:	alfred, jhb
2000-12-02 05:41:30 +00:00
gallatin
99e0204813 introduce support for static compilation of the osf/1 module via the
COMPAT_OSF1 option
2000-12-02 04:17:19 +00:00
gallatin
aa0ded4173 exec_osf1_imgact() should return -1 for non OSF1/ECOFF binaries, it should
not return ENOEXEC.  This is because image activators should return -1 if they
don't claim an image. They should return ENOEXEC if they do claim it,
but cannot load it due to sime problem with the image.   This bug was
preventing static compilation of the osf/1 module.  I'm surprised it
did not cause more problems.
2000-12-02 04:15:17 +00:00
jhb
ab2eeae118 Protect p_stat with sched_lock. 2000-12-02 03:29:33 +00:00
gallatin
38089e75e4 cleanup: remove redundant mp_machdep.c and non-existent simplelock.s.
Ironically enough, simple locks are implemented in mp_machdep.c..
2000-12-02 02:09:28 +00:00
jhb
1bd3c0064c Protect p_stat with the sched_lock.
Reviewed by:	jake
2000-12-02 01:58:15 +00:00
jhb
4886182e27 Protect p_stat with sched_lock. 2000-12-02 01:32:51 +00:00
scottl
6cf26d0888 Revert attach() back to the old behaviour of calling bus_generic_attach().
The new way doesn't seem to work reliably and was causing devices to not
be seen.

Approved by:	msmith
2000-12-02 01:14:14 +00:00
bmilekic
3f8e4d20f1 Make sure to free the sf_buf if we've allocated it but fail to allocate
an mbuf (ENOBUFS) before returning so that we don't leak sf_bufs in
the case where we're out of mbufs.

Submitted by: David Greenman (dg)
2000-12-02 00:40:57 +00:00
gad
6d94e37cf9 Fix some error-handling logic so that ferror is called before fclose,
instead of immediately after the fclose.  The previous logic did work
on freebsd, but is somewhat risky practice (and causes trouble when
porting to other OS's).

PR:		bin/22965
Reviewed by:	Garrett Wollman
2000-12-02 00:07:56 +00:00
jhb
13dd9ba9c4 Protect p_stat with sched_lock. 2000-12-01 23:43:15 +00:00
gallatin
4c1ca9da1c Alter isa interrupt behaviour on alpha. Rather than send a non-specific
EOI after the ithread runs, send the EOI when we get the interrupt and
disable the source.  After the ithread is run, the source is renabled.
Also, add isa_handle_fast_intr() which handles fast interrupts by sending
an EOI after the handler is run.

This fixes the chronic missing interrupt problems under heavy NFS load
on my UP1000 and should result in greater stability for alphas which
route all irqs through an isa pic.

Discussed with: jhb, bde (sending non-specific EOIs early was bde's idea)
2000-12-01 22:28:04 +00:00
phk
0591c4bb95 Make labels mandatory for vn(4). 2000-12-01 22:27:40 +00:00
phk
dfaa5f6b4e Make <struct.h> #error instead of #warn that it is going away on jan 1st. 2000-12-01 22:15:56 +00:00
jkh
a8fb0d1bba Also list kernel target so one can get to it. 2000-12-01 22:00:33 +00:00
alfred
e4ada41ba5 Revert disconnect of sysvipc now that there's a makefile available 2000-12-01 21:13:06 +00:00
gallatin
745d211b65 fix another int/long type mismatch. This one was causing pigs to
die with an fpe on alpha because fscale wasn't properly initted
2000-12-01 20:57:02 +00:00
gallatin
5d22127768 fix int/long type mismatches found on alpha 2000-12-01 20:01:38 +00:00
jkh
ccf730cf67 Document the "kernel" target. 2000-12-01 19:49:33 +00:00
imp
ebe7bfd0b9 Add device ID for the 3c565C card. I followed exactly the 3c575c, but
further tweaks may be necessary down the road.  This does nothing with
the serial side of the card.
2000-12-01 19:41:14 +00:00
obrien
b08e5fcfbd Grrr... GCC 2.95.2 and 2.96 just will not agree what the default include
search paths are.  So add the requirements of both. :-(
2000-12-01 19:36:17 +00:00
gallatin
7c464a892e acquire/release Giant in vm_page_zero_idle(), like on i386
Discused with: jhb
2000-12-01 18:55:58 +00:00
alfred
1e3b7cdf51 Forgotten makefile. 2000-12-01 17:49:16 +00:00
jlemon
f1c2a09d8e Add identifier for Compaq HotPlug host->pci bridge.
Submitted by: Steve Harrington <sgh@home.com>
2000-12-01 17:34:55 +00:00
jhb
f64a3c5b4a Protect p_stat with sched_lock. 2000-12-01 16:59:02 +00:00
ru
c1bef52e8f This commit was generated by cvs2svn to compensate for changes in r69482,
which included commits to RCS files with non-trunk default branches.
2000-12-01 15:36:10 +00:00
ru
a0f3c80b90 Follow POLA and bind the <End> key to the `$' command.
This is committed to the vendor (BOSTIC) branch because
it was accepted (committed) by ``nvi'' maintainers:

On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote:
[...]
> RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v
> Working file: cl_bsd.c
> head: 8.32
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 8.31
>         nvi1-81-0: 8.30
>         nvi1-80: 8.29.0.2
> keyword substitution: kv
> total revisions: 32;    selected revisions: 1
> description:
> ----------------------------
> revision 8.32
> date: 2000/12/01 13:56:17;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
> =============================================================================
>
> RCS file: /b/CVSROOT/vi/cl/cl_term.c,v
> Working file: cl_term.c
> head: 10.28
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 10.27
>         nvi1-81-0: 10.23
>         nvi1-80: 10.23.0.2
> keyword substitution: kv
> total revisions: 47;    selected revisions: 1
> description:
> ----------------------------
> revision 10.28
> date: 2000/12/01 13:56:18;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
2000-12-01 15:36:10 +00:00
gallatin
707df4c2be Convert the pcib_{read,write}_config args from signed to unsigned,
like the args to the config space accessors these functions replaced.

This reduces the likelyhood of overflow when the args are used in
macros on the alpha.  This prevents memory management faults when
probing the pci bus on sables, multias and nonames.

Approved by: dfr
Tested by: Bernd Walter <ticso@cicely8.cicely.de>
2000-12-01 15:27:48 +00:00
jlemon
f58d5079d3 Add PCI id for the RAID LC2 controller.
Pick up correct location for the DEC version of the chip, this
got broken in a previous commit.
2000-12-01 15:26:11 +00:00
ru
6b7979080c This page requires tbl(1). 2000-12-01 13:51:33 +00:00
obrien
5a4665ef57 Fix a "#ifdef" where a comparison operator was used.
GCC 2.96 does not like this.
2000-12-01 12:29:00 +00:00
des
0ff18d78fa Disconnect sysvipc, since it doesn't build. 2000-12-01 12:26:39 +00:00
sheldonh
b5f05d8505 Catch up to perl-5.6.0. 2000-12-01 12:11:24 +00:00
msmith
3f220a2762 Remove duplicate definition. 2000-12-01 12:10:06 +00:00
msmith
761b2d5434 Update local changes for new hardware register interface. 2000-12-01 12:09:18 +00:00
jedgar
35f9d37ffb Properly check malloc(3) return values
Approved by:	ken
2000-12-01 12:02:16 +00:00
brian
15ec00f1e0 Add more comments, fix a typo, mention how to do PPPoUDP using encryption
to create a VPN.
2000-12-01 11:52:22 +00:00
ru
09b66c725d Eliminate a few more groff(1) warnings. 2000-12-01 11:33:55 +00:00
des
9d504a24a1 Remove some obsolete comments. 2000-12-01 11:05:15 +00:00
des
0ed4ed6d1d Clean up the whitespace encoding code. 2000-12-01 11:04:57 +00:00
des
131d8f54b8 Add SCHEME_HTTPS. 2000-12-01 11:04:43 +00:00
obrien
5effb031da Update the 3-June-2000 import delete list to keep mkdeps.[ch] which
is needed by the new C preprocessor.
2000-12-01 11:02:05 +00:00
obrien
1c54aec32d Comment an endif. 2000-12-01 10:20:17 +00:00
msmith
e907049628 AcpiOsMem primitives as required by the new ACPI CA snapshot 2000-12-01 10:19:28 +00:00
msmith
67dc01748b Update to work with the new ACPI CA snapshot.
- Use ACPI_PHYSICAL_ADDRESS
 - RSDT -> XSDT
 - FACP -> FADT
 - No APIC table support
 - Don't install a global EC handler; this has bad side-effects
   (it invokes _REG in *all* EC spaces in the namespace!)
 - Check for PCI bus instances already existing before adding them
2000-12-01 10:18:57 +00:00
brian
dc6d6e8cce Exit if malloc() returns NULL
Submitted by: Chris Faulhaber <jedgar@fxp.org>
2000-12-01 09:59:40 +00:00
msmith
3f4840b32a We need support for comparing quad_t's now (ACPI CA uses this). 2000-12-01 09:54:17 +00:00