Peter Wemm
36428e6100
simplify IOPL gain/remove privs code. It's easier with md_regs
...
being a trapframe.
1997-05-07 20:02:38 +00:00
Eivind Eklund
f756433e8b
Back out all of yesterdays include file changes.
1997-05-07 20:01:10 +00:00
Peter Wemm
06884fd04e
remove now redundant (struct trapframe *) cast
1997-05-07 19:58:13 +00:00
Peter Wemm
6f486a5552
Convert md_regs from an int[] to a struct trapframe *. It simplifies
...
some code.
1997-05-07 19:55:13 +00:00
Peter Wemm
2263dd148e
remove #include "opt_smp.h"
...
remove declarations for the SMPcurproc[NCPU] etc arrays. There was no
need to mention NCPU there, and they've been moved to their normal home.
1997-05-07 19:53:20 +00:00
Peter Wemm
f40e607832
remove #include "opt_smp.h" and <machine/smp.h>. Slightly elaborate on
...
a comment.
1997-05-07 19:51:59 +00:00
Peter Wemm
b34b547455
remove #include "opt_smp.h"
1997-05-07 19:50:31 +00:00
Peter Wemm
503c887bae
remove #include opt_smp.h
...
declare SMPcurpcb[] next to #define and uniprocessor counterpart
1997-05-07 19:49:32 +00:00
Peter Wemm
3677aca0bd
remove opt_smp.h
...
move declaration of SMPruntime[] to here next to the #define and the
uniprocessor counterpart
1997-05-07 19:43:28 +00:00
Peter Wemm
335a8b8d26
remove #include "opt_smp.h"
...
declaration of SMPcurproc[] moved to here next to it's uniprocessor
counterpart
1997-05-07 19:41:37 +00:00
Peter Wemm
53815e2fe6
Round 1 of a long series of commits..
...
Move SMP and APIC_IO from opt_smp.h to opt_global.h
1997-05-07 19:39:16 +00:00
Eivind Eklund
3c9cc90091
Back out part of yesterdays changes. They were obviously not tested well
...
enough :-( (With backout on this file, libc compiles. 'make world' isn't
finished yet.)
Pointed out by: Oliver Roberts
1997-05-07 19:10:49 +00:00
Doug Rabson
a79fe60755
Add utilities for the kernel linker.
1997-05-07 18:19:54 +00:00
Doug Rabson
e8ec170c35
Add syscalls for kernel linker.
1997-05-07 18:12:14 +00:00
Wolfram Schneider
a6b2560334
3.3-current -> 3.0-current
1997-05-07 16:32:31 +00:00
Doug Rabson
cea6c86c11
This is the kernel linker. To use it, you will first need to apply
...
the patches in freefall:/home/dfr/ld.diffs to your ld sources and set
BINFORMAT to aoutkld when linking the kernel.
Library changes and userland utilities will appear in a later commit.
1997-05-07 16:05:47 +00:00
Doug Rabson
5bd588ccb0
Add accessors for STAILQ.
...
Reviewed by: phk
1997-05-07 14:38:11 +00:00
KATO Takenori
c9bf011176
1. Added cast and parenthesis in block size calculaion in
...
union_statfs().
2. staticized union vops.
Submitted by: Doug Rabson <dfr@nlsystems.com>
1997-05-07 14:37:32 +00:00
KATO Takenori
d5c1f97e79
Synchronize with sys/i386/isa/syscons.c revision 1.214.
1997-05-07 14:17:38 +00:00
KATO Takenori
7831f8aee1
Synchronize with sys/i386/isa/isa.c revision 1.84.
1997-05-07 14:15:11 +00:00
Joerg Wunsch
08ed607a09
Hide the kernel-only stuff inside #ifdef KERNEL.
...
XXX should be #ifdef _KERNEL
XXX^2 the !KERNEL part should probably be moved out into a publically
visible header file anyway.
1997-05-07 13:23:04 +00:00
Jordan K. Hubbard
2e9cf7f041
Use full path to sendmail for security reasons.
...
Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
1997-05-07 12:35:03 +00:00
Steve Price
ea76be72fe
Revise the section that explains how to protect parts of an $ENV script
...
from being executed in non-interactive mode.
Suggested and Reviewed by: Brian Somers <brian@freebsd.org>
1997-05-07 11:42:00 +00:00
Jordan K. Hubbard
dd4a16ea99
Clean up the slightly tortured english I produced yesterday. :)
1997-05-07 10:44:08 +00:00
Kazutaka YOKOTA
df25dec0e5
Now that we have replaced video-related block copy calls with
...
sc_bcopy(), which is generic_bcopy() in reality, there is no point in
retaining bcopyw() calls in the source code.
OKed by : sos
1997-05-07 10:42:06 +00:00
Hiroyuki Hanai
e6eac8565e
Catch up with the original.
...
Submitted by: tomo@maple.elcom.nitech.ac.jp (WATANABE tomoo)
1997-05-07 04:45:54 +00:00
Peter Wemm
9c3b235f46
Restore unintentially lost backwards compat behavior of defaulting to
...
family inet if not specified. (eg: "ifconfig ed0" down would fail because
no family was specified, even though the up/down status is not per family)
Pointed out by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-05-07 04:28:26 +00:00
Eivind Eklund
48ea0bec18
Make a lot of include-files self-contained. I excluded the patches changing
...
int's to gid_t and uid_t - should I commit these, too?
Closes PR misc/2625.
Submitted by: Julian Assange <proff@iq.org>
1997-05-07 02:27:18 +00:00
Bruce Evans
89ee8ac3d6
Fixed missing __P() to complete the K&R support in this header.
1997-05-07 00:58:23 +00:00
Brian Somers
ea3b35174b
Allow a '-' flag as a placeholder so that path_to_pid_file
...
can be specified without the flags field.
Fix bogus "trail" left in parse routine where the code jumps
past the end of the line and wanders into oblivion.
1997-05-06 23:11:06 +00:00
Steve Passe
f258030f39
Force user to config SMP kernel with "options APIC_IO".
...
Reviewed by: Peter Wemm <peter@spinner.DIALix.COM>
1997-05-06 21:29:57 +00:00
Bill Fenner
86b1d6d24d
Pull up the IP header in ip_mloopback(). This makes sure that the
...
operations on the header inside ip_mloopback() are performed on
a private copy instead of a shared cluster.
PR: kern/3410
1997-05-06 21:22:04 +00:00
Joerg Wunsch
ee359f4838
Fix a long-standing bug with dump not treating errors correctly. They
...
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.
PR: bin/850 dump treats write-protect as an EOT...
1997-05-06 20:52:28 +00:00
Steve Passe
113656909f
Make ident equal file name, ie SMP-GENERIC.
1997-05-06 20:40:52 +00:00
Steve Passe
53850c2fb0
A *little* more descriptive test for options.
1997-05-06 18:24:17 +00:00
Steve Passe
3cc17cf950
Added a generic config file for SMP kernels.
1997-05-06 18:18:51 +00:00
Peter da Silva
466ca2f4a1
PR: none
...
Submitted by: pds
1997-05-06 16:21:18 +00:00
Poul-Henning Kamp
8670684a2f
Fix a race condition that did, after all, exist.
...
Reviewed by: phk
Submitted by: dfr
1997-05-06 15:19:38 +00:00
Doug Rabson
77e25db56d
Add SMPHDRS to CLEANFILES instead of replacing its current value.
1997-05-06 14:29:56 +00:00
Wolfram Schneider
af563dd4a7
Fix FTP link to the statically linked FreeBSD executables
...
freefall -> hub
1997-05-06 11:18:44 +00:00
Steve Passe
75877d5a93
removed the "#error ..." line preventing casual invokation of SMP_AUTOSTART.
...
autostart appears to be working now, at least on my dual P6.
I have no explanation why....
1997-05-06 07:10:06 +00:00
Jordan K. Hubbard
4fe2aec4ad
Describe SNAPs and RELENGes as requested on USENET.
1997-05-06 06:38:46 +00:00
Alexander Langer
73e07a5059
Specify the full path of units.lib in the FILES section.
1997-05-06 03:31:14 +00:00
Alexander Langer
af28de7ca8
Create the default rule with flags IP_FW_F_IN | IP_FW_F_OUT.
...
Closes PR#3100.
1997-05-06 02:12:18 +00:00
John Polstra
e91cc88467
Bye bye CPLUSPLUSLIB hack! It's not needed any more.
...
Don't merge this into -2.2 unless you understand the dependencies on
c++rt0, bsd.lib.mk, and gcc -shared. I.e., let me do it.
1997-05-06 00:49:36 +00:00
Brian Somers
2cd0474b47
Make ppp exit on loss of carrier in -background mode.
...
Submitted by: Jim Carroll <jim@carroll.com>
1997-05-05 23:45:15 +00:00
Steve Passe
2479ac60b9
Code to handle SMP/APIC_IO mapping of ISA INTs to APIC pins above IRQ15.
...
- doesn't break my system.
- NOT yet verified on the affected motherboard.
Submitted by: "John S. Dyson" <toor@dyson.iquest.net>
1997-05-05 22:56:37 +00:00
Steve Passe
08896efb1a
Code to handle SMP/APIC_IO mapping of ISA INTs to APIC pins above IRQ15.
...
- doesn't break my system.
- NOT yet verified on the affected motherboard.
Stifle an annoying dma_start busy message for the sound cards.
Submitted by: "John S. Dyson" <toor@dyson.iquest.net>
1997-05-05 22:56:13 +00:00
John-Mark Gurney
dc01e23eda
use frames instead of fields, and restore full meteor compatibility for
...
generalized pixel support.
Submitted by: Amancio Hasty
1997-05-05 20:54:54 +00:00
Andrey A. Chernov
805bd6d982
Do not kill -HUP syslog if running in user mode (-r), it allows
...
private user logs rotation without error diagnostics
1997-05-05 15:00:15 +00:00