Commit Graph

12766 Commits

Author SHA1 Message Date
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
Jeffrey Hsu
0ab2567421 Merge in Lite2: use fixed-width types and add whiteout file type.
Reviewed by: davidg & bde
1996-03-11 02:05:52 +00:00
Jeffrey Hsu
0f21b147b2 Merge in Lite2: rename B_APPENDWRITE to B_NEEDCOMMIT.
The other change to b_pfcent is no longer pertinent, since we've
  deleted that field.
Reviewed by: davidg & bde
1996-03-11 02:04:27 +00:00
Jeffrey Hsu
eed665fc21 Merge in Lite2: fix typo in comment.
Reviewed by: davidg & bde
1996-03-11 02:03:11 +00:00
Mike Pritchard
bd70de3eaf Only restrict the user from doing something like "mount /mnt /mnt"
for file system types that actually cause a panic (ufs, msdos, cd9660).
This makes /proc mountable again.
1996-03-11 00:22:28 +00:00
Peter Wemm
250c11f9c3 Tweak the data/bss segment page count. The last version worked
with all the test cases I tried, I'm sure this is more correct.

Tweak some prototypes.
1996-03-10 23:44:40 +00:00
Andrey A. Chernov
a0a4788922 Print 8bit chars from the net if current locale allows them 1996-03-10 23:33:48 +00:00
Peter Wemm
0946c36c96 Fix the vm_map_remove and vm_map_protect calls.. Somewhere along the
line, these had got (start, length) arguments instead of (start, end)
args.  This could be the cause of Robert Sanders lockups with ZMAGIC
binaries.
1996-03-10 23:25:17 +00:00
John Dyson
874308f7c2 Improved efficiency in pmap_remove, and also remove some of the pmap_update
optimizations that were probably incorrect.
1996-03-10 23:06:00 +00:00
Peter Wemm
f07101317f linux_interp now moved into sys/i386/linux/linux_sysvec.c, but still
connected at load and unload time from here.
1996-03-10 22:43:37 +00:00
Peter Wemm
5cf588eb8b Move the elf linux_interp structure from the lkm stub to here so that it
can be referenced when the linux emulator is statically compiled into the
kernel.
1996-03-10 22:42:16 +00:00
Peter Wemm
8191d577aa Fix some rounding problems.. In some (fairly rare) situtaions it mapped
one page too many, which caused obreak() to fail in vm_map_find() with
ENOMEM because of the conflicting page.
1996-03-10 22:37:34 +00:00
Peter Wemm
9c5ee42327 Implement rudumentry support for the linux TIOC[SG]ETSERIAL ioctl's.
To complete this, some extra state has to be kept somewhere so that the
B38400 flag in Linux can be correctly translated to/from either 38400,
57600 or 115200.

Submitted by: Robert Sanders <rsanders@mindspring.com>
1996-03-10 22:30:53 +00:00