Commit Graph

13810 Commits

Author SHA1 Message Date
grog
49c304a292 Split .gdbinit file into two versions, on suitable for remote
debugging, the other for dump analysis.
1999-02-04 04:59:52 +00:00
msmith
a05a2cf59e 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
msmith
8ec6127468 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
dg
4176c26a7a 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
msmith
95a45fc122 Mention the net.inet.tcp.tcbhashsize tunable. 1999-02-03 09:07:33 +00:00
msmith
35606d39dd 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
c40db6cc73 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
bde
850544e5d8 Removed some unused includes (only 1 to go here now). Sorted includes. 1999-02-03 08:21:44 +00:00
semenu
888efede80 Added ntfs subdirectory.
Reviewed by:	David O'Brien <obrien@NUXI.com>
1999-02-03 04:18:25 +00:00
semenu
705bdbd27c Added vnode tag for NTFS.
Reviewed by:	David O'Brien <obrien@NUXI.com>
1999-02-03 04:12:36 +00:00
semenu
203f71e334 This commit was generated by cvs2svn to compensate for changes in r43552,
which included commits to RCS files with non-trunk default branches.
1999-02-03 04:07:38 +00:00
semenu
18528fad7c First version.
Reviewed by:	David O'Brien <obrien@NUXI.com>
1999-02-03 04:07:38 +00:00
semenu
bb91a31741 First version.
Reviewed by:	David O'Brien <obrien@NUXI.com>
1999-02-03 04:07:38 +00:00
semenu
b26c10c8cf This commit was generated by cvs2svn to compensate for changes in r43550,
which included commits to RCS files with non-trunk default branches.
1999-02-03 04:01:27 +00:00
semenu
85b72afac3 First version.
Reviewed by:	David O'Brien
1999-02-03 04:01:27 +00:00
dillon
fdc78db606 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
dfr
5a3ed6148e 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
bada26ac70 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
ef0e64aeaf Sync with sys/dev/syscons/syscons.c revision 1.294. 1999-02-02 17:21:33 +00:00
bde
78b0de3bf4 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
bde
0fd52730c2 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
bde
854609d8d9 Added a hopefully-machine-independent macro for determining if a
reschedule is pending.
1999-02-02 09:08:23 +00:00
fenner
20e9c3a9ba 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
dillon
ff5479f510 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
wpaul
cd925e9a35 Remember to initialize ifp->if_snd.ifq_maxlen. 1999-02-01 21:25:52 +00:00
newton
bce4359788 Nuke some prototypes that really shouldn't be here. 1999-02-01 21:22:30 +00:00
newton
a116fafdf6 Moved prototypes for soo_{read,write,close} into socketvar.h where they
belong.

Suggested by: bde
1999-02-01 21:16:31 +00:00
phk
fe7fd0a505 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
newton
7c096f22d6 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
newton
099d15dc2f Fix bogus line breaks in declarations for soo_read() and soo_write()
Suggested by: Pedant Central :-)
1999-02-01 13:24:39 +00:00
newton
3afb99373e Declare M_ZOMBIE so the svr4 emulator doesn't need to.
Suggested by: bde
1999-02-01 13:23:18 +00:00
dillon
56683bbe5a 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
dillon
823ec0275e 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
jkh
d02485ce0b 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
grog
81596f0f40 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
sos
1f20179a0d Bzero the devstat structure before use.
Pointed out by:	<Kenneth Merry> ken@plutotech.com
1999-01-31 23:08:47 +00:00
dufault
01e8e49aa1 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
sos
8e94294dd3 Add device stats for the acd device. 1999-01-31 21:51:03 +00:00
kato
cf43042d95 Sync with sys/i386/i386/userconfig.c revision 1.128. 1999-01-31 17:44:06 +00:00
n_hibma
5c397459c1 Added UHCI_LEGSUP to uhcireg.h 1999-01-31 16:22:35 +00:00
julian
df7c58af81 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
yokota
3286c0d5ff - 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
bde
a807f1afc9 Don't comment out dead code; remove it. 1999-01-31 11:54:29 +00:00
nsouch
3d95317df9 Fix compile warnings about missing braces around static initialization of unions. 1999-01-31 11:52:04 +00:00
bde
711b6c4499 Fixed English in previous commit. 1999-01-31 10:05:59 +00:00
bde
3981a0cad8 Fixed smashed tabs and inconstent comment style in previous commit. 1999-01-31 09:40:14 +00:00
julian
489a3c24ad 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
newton
9e00304796 Added comments about non-staticization so it doesn't get un-done next
time someone goes on a staticization binge.

Suggested by: eivind
1999-01-31 03:15:13 +00:00
kato
39a37d18fc Use offset to _pc98_system_parameter instead of immediate value which
assumes KERNBASE=0x100000.
1999-01-31 02:04:43 +00:00
paul
2cc09789f7 New driver flags to support IFF_ALLMULTI handling. 1999-01-31 00:56:32 +00:00