David Greenman
be24e9e8fa
Changed socket code to use 4.4BSD queue macros. This includes removing
...
the obsolete soqinsque and soqremque functions as well as collapsing
so_q0len and so_qlen into a single queue length of unaccepted connections.
Now the queue of unaccepted & complete connections is checked directly
for queued sockets. The new code should be functionally equivilent to
the old while being substantially faster - especially in cases where
large numbers of connections are often queued for accept (e.g. http).
1996-03-11 15:37:44 +00:00
David Greenman
2ee45d7d28
Move or add #include <queue.h> in preparation for upcoming struct socket
...
changes.
1996-03-11 15:13:58 +00:00
Nate Williams
f42e1448c8
Bring in most of Bruce's prot_to_real() changes into the APM BIOS
...
startup code.
Reviewed by: bde
1996-03-11 06:48:57 +00:00
Jeffrey Hsu
a3bfb996f6
From Lite2: proc LIST changes
...
call kern_proc.c:procinit() to initialize LISTs
call to usrinfoinit() subsumed by procinit()
Reviewed by: davidg & bde
1996-03-11 06:14:38 +00:00
Jeffrey Hsu
5a18c60a63
For Lite2: proc LIST changes.
...
Reviewed by: davidg & bde
1996-03-11 06:13:09 +00:00
Jeffrey Hsu
1b67ec6de9
For Lite2: proc LIST changes.
...
Reviewed by: davidg & bde
1996-03-11 06:11:43 +00:00
Jeffrey Hsu
2592172e85
Merge in Lite2: LIST changes
...
stylistic changes to function prototypes
Note: sizeof(struct proc) is now exactly 256 bytes, no room to spare.
1996-03-11 06:10:11 +00:00
Jeffrey Hsu
b75356e1ac
From Lite2: proc LIST changes.
...
Reviewed by: david & bde
1996-03-11 06:05:03 +00:00
Jeffrey Hsu
ec3f61ff36
From Lite2: proc LIST changes
...
stylistic changes to function prototypes
Reviewed by: david & bde
1996-03-11 06:04:20 +00:00
Jeffrey Hsu
6ad138306c
For Lite2: proc LIST changes.
...
Reviewed by: david & bde
1996-03-11 05:55:56 +00:00
Jeffrey Hsu
70b012cab2
Merge in Lite2: proc LIST changes.
...
Reviewed by: david & bde
1996-03-11 05:52:50 +00:00
Jeffrey Hsu
96e00d408e
Merge in Lite2: proc LIST changes
...
64-bit fix for alpha
add debugging code for locking
Reviewed by: david & bde
1996-03-11 05:48:57 +00:00
Justin T. Gibbs
7e1f0d8dc5
Be more careful in how we set SCSICONF. It was possible for a controller
...
set to a device id above 7 to screw up the data fifo setting.
1996-03-11 02:49:48 +00:00
Justin T. Gibbs
66792b2e44
Disable the selection hardware before acknowledging a SELTO interrupt.
...
It seems the 7880 gets confused if you don't do this.
1996-03-11 02:48:41 +00:00
Jeffrey Hsu
30e04e8563
From Lite2: moved acct_process() prototype over to acct.h.
...
Reviewed by: davidg & bde
1996-03-11 02:27:53 +00:00
Jeffrey Hsu
61562f840f
Merge in Lite2: add whiteout flags to namei parameter descriptors
...
add function prototype for relookup()
Spruce up number formatting.
Reviewed by: davidg & bde
1996-03-11 02:25:04 +00:00
Jeffrey Hsu
45fe51e9d3
Merge in Lite2: buf fix with comparison of wrong field against EXTPROC.
...
Did not accept change of second argument to ioctl from int to u_long.
Reviewed by: davidg & bde
1996-03-11 02:24:39 +00:00
Jeffrey Hsu
7c409b8a56
From NetBSD: add #include <sys/acct.h> for acct_process() prototype.
...
Reviewed by: davidg & bde
1996-03-11 02:24:21 +00:00
Jeffrey Hsu
d09d34b4e7
From Lite2: add typedef for register_t.
...
Reviewed by: davidg & bde
1996-03-11 02:23:56 +00:00
Jeffrey Hsu
1a52d4a817
Merge in Lite2: add function prototype.
...
Note: Lite2 struct sysent changes need to go in FreeBSD sysent.h instead.
Leave out prototype for nosys() until convert makesyscalls.sh
over to Lite2 format, if we ever do so.
Reviewed by: davidg & bde
1996-03-11 02:23:33 +00:00
Jeffrey Hsu
355a6c35f1
Merge in Lite2: use machine-independent types
...
add kernel function prototype
Reviewed by: davidg & bde
1996-03-11 02:22:58 +00:00
Jeffrey Hsu
5409bca18e
Merge in Lite2: use machine-independent types.
...
Reviewed by: davidg & bde
1996-03-11 02:22:40 +00:00
Jeffrey Hsu
3b3cc59fb6
Merge in Lite2: clean up function prototypes.
...
Did not accept change of second argument to ioctl from int to u_long.
Reviewed by: davidg & bde
1996-03-11 02:22:23 +00:00
Jeffrey Hsu
8674077a20
From Lite2: change code parameter to u_long and initialize ps_sig.
...
Reviewed by: davidg & bde
1996-03-11 02:22:02 +00:00
Jeffrey Hsu
375c803b36
Change type of code argument to sendsig from unsigned to u_long to make it
...
consistent w/ signalvar.h and kern_sig.c.
Reviewed by: davidg & bde
1996-03-11 02:21:42 +00:00
Jeffrey Hsu
4fc227fe76
Merge in Lite2: add function prototypes
...
remove bogus function prototype for issig()---no such function
fix comment
Lite2 changed type of ps_code from int to long. We change it to u_long
to make it consistent w/ its usage in kern_sig.c.
Did not accept type change to ps_addr field. Delete it instead as it is
not used anywhere.
Reviewed by: davidg & bde
1996-03-11 02:21:04 +00:00
Jeffrey Hsu
73e8f0c2c0
Merge in Lite2: cosmetic indentation change.
...
We already have the other Lite2 changes, which consists of additional
function prototypes.
Reviewed by: davidg & bde
1996-03-11 02:20:13 +00:00
Jeffrey Hsu
01af853dcf
Merge in Lite2: use fixed-width types.
...
Did not accept changes to types of off_t and pid_t. See
<machine/ansi.h> for explanation.
Did not accept changes to major and minor macros upon bde's review.
These changes are unnecessary.
Did not accept type change to fd_mask upon bde's review.
This change is unnecessary as long as sizeof(fd_mask) divides FD_SETSIZE.
Reviewed by: davidg & bde
1996-03-11 02:19:02 +00:00
Jeffrey Hsu
04d41bbeb7
From Lite2: rename fs to vfs.
...
Reviewed by: davidg & bde
1996-03-11 02:18:23 +00:00
Jeffrey Hsu
1b47f724b3
Merge in Lite2: rename fs to vfs.
...
Reviewed by: davidg & bde
1996-03-11 02:17:53 +00:00
Jeffrey Hsu
4b50ceef3b
Merge in Lite2: LIST replacement for f_filef, f_fileb, and filehead.
...
Did not accept change of second argument to ioctl from int to u_long.
Reviewed by: davidg & bde
1996-03-11 02:17:30 +00:00
Jeffrey Hsu
bc6f0e79aa
Merge in Lite2: LIST replacement for f_filef, f_fileb, and filehead.
...
Reviewed by: davidg & bde
1996-03-11 02:17:11 +00:00
Jeffrey Hsu
6e93e1196c
Merge in Lite2: no changes required. Just update CSRG id.
...
Our changes since Lite1 include all the added functionality of Lite2.
Reviewed by: davidg & bde
1996-03-11 02:16:19 +00:00
Jeffrey Hsu
714f4ec3ef
Merge in Lite2: use fixed-width types.
...
Reviewed by: davidg & bde
1996-03-11 02:15:32 +00:00
Jeffrey Hsu
1fed30f4b3
Merge in Lite2: use fixed-width types
...
add POSIX compatibility
add union fs defines
Reviewed by: davidg & bde
1996-03-11 02:15:04 +00:00
Jeffrey Hsu
83edfd3e32
Merge in Lite2: fix comment
...
optimize TAILQ_INSERT_HEAD
Reviewed by: davidg & bde
1996-03-11 02:14:38 +00:00
Jeffrey Hsu
d6c32e1b47
Merge in Lite2: clean up casts for architectures where the size of addresses
...
are bigger than the size of ints
add function prototypes
reorder some fields
Did not add prototype for m_reclaim(). It's only used in kern/uipc_mbuf.c and
is declared static there.
Reviewed by: davidg & bde
1996-03-11 02:14:16 +00:00
Jeffrey Hsu
269f85f0de
Merge in Lite2: stylistic changes to function prototypes
...
add comments
Did not accept change of second argument of ioctl prototype from int to u_long.
Did not merge in changes to fields in bdevsw and cdevsw.
Reviewed by: davidg & bde
1996-03-11 02:13:32 +00:00
Jeffrey Hsu
eebc15be3a
Merge in Lite2: add function prototypes.
...
Did not accept prototypes for unp_attach(), unp_bind(), unp_connect(),
unp_detach(), unp_discard(), unp_disconnect(), unp_drop(),
np_gc(), unp_mark(), unp_scan(), and unp_shutdown().
They are used only in uipc_usrreq.c and declared static there.
Reviewed by: davidg & bde
1996-03-11 02:12:57 +00:00
Jeffrey Hsu
32a8159d72
Merge in Lite2: change manifest constant values for NOCRED and FSCRED
...
stylistic changes to function prototypes
Reviewed by: davidg & bde
1996-03-11 02:11:48 +00:00
Jeffrey Hsu
886556be00
Merge in Lite2: make timespec struct POSIX.4 compliant
...
stylistic changes to function prototypes
Reviewed by: davidg & bde
1996-03-11 02:11:25 +00:00
Jeffrey Hsu
d3fa736431
Merge in Lite2: no changes necessary. Just update CSRG id.
...
Reviewed by: davidg & bde
1996-03-11 02:10:41 +00:00
Jeffrey Hsu
5664af0189
Merge in Lite2: use fixed-width types.
...
Reviewed by: davidg & bde
1996-03-11 02:10:14 +00:00
Jeffrey Hsu
1061e94f8b
Merge in Lite2: remove u_long cast from B_MAGICMASK and B_DEVMAGIC
...
cosmetic changes to comments and number formatting
Reviewed by: davidg & bde
1996-03-11 02:09:55 +00:00
Jeffrey Hsu
0bf8ba0417
Merge in Lite2: bump BSD date from 199306 to 199506.
...
Reviewed by: davidg & bde
1996-03-11 02:09:24 +00:00
Jeffrey Hsu
5837ef4675
Merge in Lite2: sync up comments.
...
Reviewed by: davidg & bde
1996-03-11 02:09:09 +00:00
Jeffrey Hsu
88c4de5e7c
Merge in Lite2: resolve manifest constant numbering in favor of least
...
required changes and also add parentheses around BUCKETINDX macro body.
Reviewed by: davidg & bde
1996-03-11 02:08:50 +00:00
Jeffrey Hsu
d0e1c7855e
Merge in Lite2: only update CSRG id---the one change made in Lite2
...
to move the key_t typedef to types.h has already been made in a
previous commit.
Reviewed by: davidg & bde
1996-03-11 02:08:16 +00:00
Jeffrey Hsu
9485dc6080
Merge in Lite2: use fixed-width types.
...
Reviewed by: davidg & bde
1996-03-11 02:07:37 +00:00
Jeffrey Hsu
5bc24578ca
Merge in Lite2: use fixed-width types and reformat comments.
...
Reviewed by: davidg & bde
1996-03-11 02:06:30 +00:00