Poul-Henning Kamp
38d8a113a9
Add option for compiling in a 8x16 font.
1997-07-25 11:53:30 +00:00
Bruce Evans
5d08f31126
Don't use !empty() on the potentially unset variable MANBUILDCAT. Using
...
it broke "everything" unless MANBUILDCAT was set.
1997-07-25 11:17:12 +00:00
Bruce Evans
87d75709bb
Removed a stray `.if' that broke everything.
1997-07-25 10:43:55 +00:00
Brian Somers
af782f1c59
Recalculate ip_sum before passing a
...
re-assembled packet to a divert port.
Pointed-out by: Ari Suutari <ari@suutari.iki.fi>
VS: then name the system in this line, otherwise delete it.
1997-07-25 03:58:21 +00:00
Brian Somers
4e1bdb51a7
Allow service names as the divert/tee arg.
1997-07-25 03:13:46 +00:00
Steve Passe
a43193e3e1
simplelock functions removed from apic_ipl.s.
...
ASM optimization by: Bruce Evans <bde@zeta.org.au>
1997-07-24 23:51:33 +00:00
Steve Passe
fa4e34805d
Removed the simplelock functions.
...
Cleaned up the other functions.
1997-07-24 23:49:44 +00:00
Wolfram Schneider
5cf470d68b
Add ref to vidcontrol(1).
1997-07-24 23:49:28 +00:00
Steve Passe
e27fb7b666
param.h:
...
Macros to convert the Lite2 lock manager primitives to the names used
in the kernel proper. This allows us to hide them from the lock
manager till they can be turned on.
smp.h:
declarations for the new simplelock functions.
1997-07-24 23:48:53 +00:00
Wolfram Schneider
f62ae27537
Add ref to moused(8).
1997-07-24 23:46:35 +00:00
Steve Passe
64ab539460
Added a new SMP specific file: i386/i386/simplelock.s.
...
This code was split off from apic_ipl.s.
It contains the Lite2 lock manager primitives:
- s_lock_init()
- s_lock()
- s_lock_try()
- s_unlock()
1997-07-24 23:45:17 +00:00
Paul Traina
5191ded867
Allow optional building of preformatted manual pages.
...
Reviewed by: wosch
1997-07-24 18:39:46 +00:00
Steve Passe
9edce0605a
Fix a difference between the declaration & definition of isa_dmastatus().
...
Submitted by: Chuck Robey <chuckr@glue.umd.edu>
1997-07-24 18:05:22 +00:00
Steve Passe
c87f63b6c1
Back out align attribute that corrupts "machine independance" of file.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-07-24 18:01:34 +00:00
Wolfram Schneider
0298e80d89
Delete dead test code.
1997-07-24 17:44:46 +00:00
KATO Takenori
4877e978b3
Treat 6x86MX CPU as 686-class CPU instead of 586-class CPU.
1997-07-24 14:19:25 +00:00
KATO Takenori
8d873bf1dd
Synchronize with sys/i386/isa/isa.c revision 1.96.
1997-07-24 14:10:54 +00:00
Poul-Henning Kamp
fbc8c86895
Be systematic here...
1997-07-24 09:50:53 +00:00
David Nugent
0512556a48
Make useage of hostname global variable consistent.
...
PR: 4135
Based on submitted patch by: blank@fox.uni-trier.de
1997-07-24 09:26:12 +00:00
Philippe Charnier
2487a449d3
Use err(3), add usage(), silent -Wall.
1997-07-24 07:05:02 +00:00
Philippe Charnier
3974610c18
Add includes and prototype.
1997-07-24 07:02:55 +00:00
Philippe Charnier
1988cbc558
.Nm mkdep -> .Nm.
1997-07-24 07:01:18 +00:00
Philippe Charnier
7501dcaa36
Add usage().
1997-07-24 07:00:17 +00:00
Philippe Charnier
950622c987
Use err(3). Cosmetic in usage string.
1997-07-24 06:58:08 +00:00
Philippe Charnier
0e11b68bdd
Use err(3).
1997-07-24 06:56:33 +00:00
Mike Smith
a4453045b0
Add isa_dmastatus() for reading the current ISA DMA counter for a
...
given channel.
Submitted by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
1997-07-24 05:27:40 +00:00
Steve Passe
7f6ab10763
Removed the defunct GET_MPLOCK/REL_MPLOCK macros.
...
These are no-ops for UP, and should have been removed when vector.s
was split into UP and SMP subsets.
1997-07-24 03:24:57 +00:00
Brian Somers
e9eb6d7aa4
Don't try to ioctl(,TIOCOUTQ,) on a closed
...
descriptor.
Reported by: Stephane Raimbault <stephane@cybersurf.net>
1997-07-24 02:42:34 +00:00
Steve Passe
e78205df5b
Fixed possible deadlock from recursive INTs on same cpu. Since
...
we use lazy masking INTREN()/INTRDIS() might be called with INTs enabled.
This means another higher prio INT to the same cpu could attempt to
re-enter the critical region, but would spin waiting for the lock. Since
it is the owner, it would deadlock.
1997-07-23 21:25:31 +00:00
Warner Losh
f8eb25da54
index -> strchr and rindex -> strrchr to reduce the number of gratuitous
...
diffes with NetBSD/OpenBSD. These changes seem to predate the NetBSD/OpenBSD
split, so it is hard to give proper credit for them.
Obtained from: OpenBSD.
1997-07-23 20:53:41 +00:00
Steve Passe
812e4da7a8
New simple_lock code in asm:
...
- s_lock_init()
- s_lock()
- s_lock_try()
- s_unlock()
Created lock for IO APIC and apic_imen (SMP version of imen)
- imen_lock
Code to use imen_lock for access from apic_ipl.s and apic_vector.s.
Moved this code *outside* of mp_lock.
It seems to work!!!
1997-07-23 20:47:19 +00:00
Steve Passe
d9593fb979
Forced 32bit alignment of struct simple_lock in param.h.
...
Added declarations of new simple_lock data and functions to smp.h.
1997-07-23 20:42:16 +00:00
Steve Passe
740dc1b5f5
Forced 32bit alignment of struct simple_lock.
1997-07-23 20:40:52 +00:00
Mike Smith
194fb96e6a
Reorder decomposition of the filename argument for the '-h' flag to
...
avoid misprocessing in the case where the filename argument contains
more than one period.
Submitted by: micke@dynas.se (Mikael Hybsch)
1997-07-23 18:23:42 +00:00
Jordan K. Hubbard
9325ae34de
YAMF22 - /boot.foo fixups.
...
Also close PR#4151 by running newaliases (forgot to mention this
in my RELENG_2_2 commit, but it's there).
1997-07-23 15:13:18 +00:00
KATO Takenori
1cc4d2e950
Synchronize with sys/i386/isa/clock.c revision up to 1.97.
1997-07-23 11:28:39 +00:00
Jordan K. Hubbard
7a9a71e0b9
Turn off doc.1 distribution until we figure out what we're going to do with
...
it.
1997-07-23 10:44:39 +00:00
Philippe Charnier
9510535891
Use err(3) instead of local redefinition. Remove progname.
1997-07-23 06:50:06 +00:00
Philippe Charnier
176d344d18
Typo.
1997-07-23 06:48:01 +00:00
Philippe Charnier
9baefe4a3f
Use err(3) instead of local redefinition.
1997-07-23 06:46:10 +00:00
Steve Passe
919bdda1d4
Coded simple_lock and friends in asm.
1997-07-23 05:49:19 +00:00
Warner Losh
360d4ad5ab
Use setuid/seteuid around dangerous operations. Also a few buffer
...
overflow patches that were "near" to where these operations are taking
place. The buffer overflows are from OpenBSD. The setuid/seteuid patches
are from NetBSD by way of OpenBSD (they changed them a little), at least from
my read of the tree.
This is the first of a series of OpenBSD lpr/et al merges. It (and them)
should be merged back into 2.2 and/or 2.1 (if requested) branches when they
have been shaken out in -current.
Obtained from: OpenBSD
1997-07-23 00:49:46 +00:00
Steve Passe
b1ba015c25
Added a missing semicolon, compile failed when I turned on simple_lock().
...
Evidently this has never been compiled before, NOT a good sign...
1997-07-22 23:19:48 +00:00
Steve Passe
87a6f31089
Last commit didn't take, operator error???
1997-07-22 20:12:32 +00:00
Steve Passe
995655b397
Hid the existance of imen via a dump routine.
1997-07-22 19:57:30 +00:00
Steve Passe
2e12b456f5
Cleaned up an ugly printout.
1997-07-22 19:51:51 +00:00
Steve Passe
0363191b8e
Removed the SMP_TIMER_NC suggestion.
...
This is (almost) defunct, start to phase it out...
1997-07-22 18:52:20 +00:00
Steve Passe
e67df48de1
Major cleanup of APIC code around the imen variable.
...
This is the first step towards making INTREN()/INTRDIS() MP-safe.
1997-07-22 18:48:07 +00:00
Steve Passe
f2aeb7eaac
Cleaned up the FPU init.
1997-07-22 16:49:54 +00:00
Doug Rabson
abfbc4005f
Correct some dumb mistakes in the WebNFS stuff.
...
Submitted by: bde
1997-07-22 15:35:57 +00:00