Daniel C. Sobral
aa8b85772f
Add conditional compilation facilities to ficl. This had been previously
...
committed to RELENG_3 instead of HEAD, so let's HEAD catch up.
PR: bin/9662
1999-02-04 12:57:56 +00:00
Mark Newton
0f1110bb5f
svr4 emulator will refuse to unload itself if it is currently in use.
1999-02-04 12:43:17 +00:00
Mark Newton
096977fae7
Provide elf_brand_inuse() as a method an emulator can use to find out
...
whether it is currently in use (which is kinda useful when it's about
to unload itself: Lockups are never very much fun, are they?).
1999-02-04 12:42:39 +00:00
Kazutaka YOKOTA
3720fe69b6
- Added atkbdc and atkbd to the device info array so that they don't
...
appear as "unknown device" in the visual UserConfig.
- Mark psm as FLG_FIXED.
1999-02-04 10:36:57 +00:00
KATO Takenori
270b84ae95
Sync with sys/i386/i386/machdep.c revision 1.324.
1999-02-04 09:55:42 +00:00
Bruce Evans
b8be6ed0c2
Added a used include. This file doesn't get tested by LINT because
...
it is null when trix is configured.
Submitted by: Brian Feldman <green@unixhelp.org> but moved by me
1999-02-04 08:52:46 +00:00
Greg Lehey
308dad4df3
Split .gdbinit file into two versions, on suitable for remote
...
debugging, the other for dump analysis.
1999-02-04 04:59:52 +00:00
Mike Smith
ea95d6917a
Nuke all the stupid ffs() stuff and use powerof2() instead.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
1999-02-04 03:27:43 +00:00
Mike Smith
609b6256fd
Fix power-of-2 check for the TCB hash size.
...
Submitted by: Brian Feldman <green@unixhelp.org>
1999-02-04 03:02:56 +00:00
David Greenman
cf7d145389
Fixed the type of target_page to vm_offset_t (unsigned). This fixes a
...
panic during boot on machines with >=2GB of RAM. Also changed some
incorrect printf conversion specifiers from %d to %u (signed to unsigned).
This fixes bugs when printing the amount of memory on machines with >=2GB
of RAM.
1999-02-03 14:10:50 +00:00
Mike Smith
617aa5cdf8
Mention the net.inet.tcp.tcbhashsize tunable.
1999-02-03 09:07:33 +00:00
Mike Smith
aa1458495d
Make TCBHASHSIZE a boot-time tunable as well, taking its value from the
...
variable net.inet.tcp.tcbhashsize.
Requested by: David Filo <filo@yahoo-inc.com>
1999-02-03 08:59:30 +00:00
KATO Takenori
dccbc08d92
PC98 version of new boot loader. Because boot2 has not yet ported,
...
files in boot2 directory are copies from legacy biosboot.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-02-03 08:39:09 +00:00
Bruce Evans
03126f3524
Removed some unused includes (only 1 to go here now). Sorted includes.
1999-02-03 08:21:44 +00:00
Semen Ustimenko
b4b8aedf57
Added ntfs subdirectory.
...
Reviewed by: David O'Brien <obrien@NUXI.com>
1999-02-03 04:18:25 +00:00
Semen Ustimenko
52e93a35a3
Added vnode tag for NTFS.
...
Reviewed by: David O'Brien <obrien@NUXI.com>
1999-02-03 04:12:36 +00:00
Semen Ustimenko
16ee760296
First version.
...
Reviewed by: David O'Brien <obrien@NUXI.com>
1999-02-03 04:07:38 +00:00
Semen Ustimenko
012c9fb3bb
First version.
...
Reviewed by: David O'Brien
1999-02-03 04:01:27 +00:00
Matthew Dillon
4112823fc7
Submitted by: Alan Cox
...
The vm_map_insert()/vm_object_coalesce() optimization has been extended
to include OBJT_SWAP objects as well as OBJT_DEFAULT objects. This is
possible because it costs nothing to extend an OBJT_SWAP object with
the new swapper. We can't do this with the old swapper. The old swapper
used a linear array that would have had to have been reallocated, costing
time as well as a potential low-memory deadlock.
1999-02-03 01:57:17 +00:00
Doug Rabson
f422bef257
Use the bsd.kern.mk from the source tree rather than the installed one
...
if possible.
1999-02-02 18:34:23 +00:00
KATO Takenori
f19a38101a
Added braces around initializsers and in if-statements.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-02-02 17:26:03 +00:00
KATO Takenori
524d2ab047
Sync with sys/dev/syscons/syscons.c revision 1.294.
1999-02-02 17:21:33 +00:00
Bruce Evans
bb25f0dd23
Check for signals while reading /dev/urandom. Reading 10MB from
...
/dev/urandom takes about 38 seconds on a P5/133. It is useful
to be able to kill such reads almost immediately. Processes
doing such reads are now scheduled so their denial of service
is no worse than that of processes looping in user mode.
1999-02-02 14:14:05 +00:00
Bruce Evans
8b6ca0359b
Switch context before doing some i/o operations that might block if
...
context would be switched on return to user mode. This fixes some
denial of service problems.
1999-02-02 12:11:01 +00:00
Bruce Evans
79a2501238
Added a hopefully-machine-independent macro for determining if a
...
reschedule is pending.
1999-02-02 09:08:23 +00:00
Bill Fenner
8f70ac3e02
Fix the port of the NetBSD 19990120-accept fix. I misread a piece of
...
code when examining their fix, which caused my code (in rev 1.52) to:
- panic("soaccept: !NOFDREF")
- fatal trap 12, with tracebacks going thru soclose and soaccept
1999-02-02 07:23:28 +00:00
Matthew Dillon
f7f62e7b56
Get rid of IFF_BROADCAST from default IFF_ slip options. This accidently
...
snuck in during the big -Wall commit and wasn't supposed to be in there.
1999-02-02 00:28:29 +00:00
Bill Paul
e8354668bd
Remember to initialize ifp->if_snd.ifq_maxlen.
1999-02-01 21:25:52 +00:00
Mark Newton
240c6baa11
Nuke some prototypes that really shouldn't be here.
1999-02-01 21:22:30 +00:00
Mark Newton
9cbac9cee4
Moved prototypes for soo_{read,write,close} into socketvar.h where they
...
belong.
Suggested by: bde
1999-02-01 21:16:31 +00:00
Poul-Henning Kamp
e0ea20bcca
Print a message if the driver didn't initialize ifq_maxlen.
...
Drivers should be updated if they get flagged by this message.
(The reason this is important is because we do not have a way
to catch this mistake for interfaces added after ifinit() runs.)
1999-02-01 20:03:27 +00:00
Mark Newton
4a735ee8b0
Acquiesce to proc.h for declarations of M_ZOMBIE, M_SUBPROC (and reorder
...
includes so proc.h knows the right type for 'em).
Suggested by: bde
1999-02-01 13:26:13 +00:00
Mark Newton
c4ca2670b8
Fix bogus line breaks in declarations for soo_read() and soo_write()
...
Suggested by: Pedant Central :-)
1999-02-01 13:24:39 +00:00
Mark Newton
895259716e
Declare M_ZOMBIE so the svr4 emulator doesn't need to.
...
Suggested by: bde
1999-02-01 13:23:18 +00:00
Matthew Dillon
b406c0f55c
This patch eliminates a pointless test from appearing twice
...
in vm_map_simplify_entry. Basically, once you've verified that
the objects in the adjacent vm_map_entry's are the same, either
NULL or the same vm_object, there's no point in checking that the
objects have the same behavior.
Obtained from: Alan Cox <alc@cs.rice.edu>
1999-02-01 08:49:30 +00:00
Matthew Dillon
06fd697d15
The alternate B_PAGING path for vnstrategy() is used for VM faults
...
as well as swap I/O now. This path failed to properly set bp->b_resid
on I/O completion.
1999-02-01 08:36:02 +00:00
Jordan K. Hubbard
ae84df99c4
Whoops! Forgot to include Mr. Sobray's more command in the last set
...
of commits.
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-02-01 06:08:21 +00:00
Greg Lehey
5b3c6cedf5
Move CFLAGS to God's Own Position
...
Remove white space between CFLAGS and +=
Remove unneeded options
Implied-by: bde
1999-02-01 00:52:51 +00:00
Søren Schmidt
7538974af9
Bzero the devstat structure before use.
...
Pointed out by: <Kenneth Merry> ken@plutotech.com
1999-01-31 23:08:47 +00:00
Peter Dufault
e419eecba9
Move the "fetch serial data" delay so that it is an inter-bit delay.
...
Increase the overall length of the delay by 10.
Without this a 3C509 card on my MediaGX crash box can't be reliably
read. With this it is solid.
I've left a delay multiplier in instead of just changing the base
delay because I'm surprised I had to increase it so much and expect
there may be another problem.
1999-01-31 22:41:51 +00:00
Søren Schmidt
a257733c19
Add device stats for the acd device.
1999-01-31 21:51:03 +00:00
KATO Takenori
a4af40881f
Sync with sys/i386/i386/userconfig.c revision 1.128.
1999-01-31 17:44:06 +00:00
Nick Hibma
aa11c7f9d1
Added UHCI_LEGSUP to uhcireg.h
1999-01-31 16:22:35 +00:00
Julian Elischer
287457c2e7
Submitted by: Alan Cox <alc@cs.rice.edu>
...
Checked by: "Richard Seaman, Jr." <dick@tar.com>
Fix the following problem:
As the code stands now, growing any stack, and not just the process's
main stack, modifies vm->vm_ssize. This is inconsistent with the code
earlier in the same procedure.
1999-01-31 14:09:25 +00:00
Kazutaka YOKOTA
d7e4346624
- Don't print unnecessary CLI command prompt (and faked "quit" command)
...
if RB_CONFIG is not set.
- Print a short, introductory banner for CLI before the first command
prompt, not after.
1999-01-31 13:08:25 +00:00
Bruce Evans
95c391a468
Don't comment out dead code; remove it.
1999-01-31 11:54:29 +00:00
Nicolas Souchu
c9ab07382c
Fix compile warnings about missing braces around static initialization of unions.
1999-01-31 11:52:04 +00:00
Bruce Evans
6acb4914fb
Fixed English in previous commit.
1999-01-31 10:05:59 +00:00
Bruce Evans
4c253324ab
Fixed smashed tabs and inconstent comment style in previous commit.
1999-01-31 09:40:14 +00:00
Julian Elischer
4c8e8c05fd
Slight cleanups. There were 2 ways of getting the arpcom from the ifp.
...
Both equally bogus. Make it a macro so that we can pretend it's not
bogus and maybe make it less so some time in the future.
1999-01-31 08:17:16 +00:00