mycroft
686dddaff9
Reran makesyscalls.sh.
1995-10-15 06:13:56 +00:00
mycroft
c3779c515d
Fix typos.
1995-10-15 05:58:44 +00:00
mycroft
5a227363fd
Fix problem reported by r_friedl@informatik.uni-kl.de; when LDT is resized,
...
the wrong amount of memory is freed.
1995-10-15 05:48:08 +00:00
mycroft
e964003409
Rename some variables for consistency.
1995-10-15 05:43:49 +00:00
mycroft
2d1739cbe1
Implement VOP_BWRITE() using vn_bwrite(), per r_friedl@informatik.uni-kl.de.
1995-10-15 05:18:12 +00:00
mycroft
e8011301bf
Style police.
1995-10-15 04:18:27 +00:00
briggs
47c507f8fd
SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_
...
sigreturn.
1995-10-15 03:01:57 +00:00
christos
81ae32e332
syscalls.master was changed.
1995-10-14 20:26:39 +00:00
christos
a4e2f7532a
- Added msgsys, shmsys and semsys... MITSHM needs shmsys, so X applications
...
that used that would fail.
- Propagated all the fixes from the fully prototyped kernel.
1995-10-14 20:24:14 +00:00
leo
ebc6d5a705
Use general bound-check function.
1995-10-14 20:17:46 +00:00
fvdl
6ce6eef6d8
child_return broke Linux fork()
1995-10-14 14:06:16 +00:00
leo
79053fd0de
Allow only transfers that are a multiple of DEV_BSIZE when doing 'raw' I/O.
1995-10-14 13:04:19 +00:00
ghudson
d61f235615
Add cookie support. Stash cookies in the word prior to the end of
...
each entry, and read them out in nfs_readdir().
Caveat: our current caching method for directory blocks uses the
server offset of the first directory entry as an identifier, so a
Linux emulation getdirentries() will wind up retrieving one block from
the NFS server for each directory entry, unnecessarily thrashing the
cache. The situation isn't as bad for other emulations.
Instead of getblk(), we need to write a routine to scan each cache
block associated with vp to find a cookie that matches at some
directory entry. Some later time.
1995-10-14 00:56:07 +00:00
gwr
6af0af5daf
Change the interface to prom_iopen() slightly, for tapeboot.
1995-10-13 21:44:57 +00:00
gwr
52f39566b5
Add tapeboot, make ${SA_PROG}.bin padded to a block boundary.
1995-10-13 21:44:08 +00:00
gwr
c4e07b055f
Bump version number.
1995-10-13 21:33:09 +00:00
gwr
c890f5c659
Boot program to help load tape kernels.
...
(You can even choose a tape segment!)
1995-10-13 21:27:30 +00:00
gwr
444e2789c6
Add quirk entries for Wangtek SCSI tapes. Also, add entry for
...
Tandberg 3800 (fixes PR#1592 - from Jochen Pohl).
1995-10-13 20:01:03 +00:00
gwr
df737690d7
Remove (again) things accidently revived by cvs tag...
1995-10-13 19:37:06 +00:00
chuck
54606ca765
sync with sun3 version and libsa changes
1995-10-12 22:48:20 +00:00
thorpej
89d4987e5d
Fix bad pointer deref, memory leak, and geometry calculation, pointed
...
out by Jochen Pohl in PR #1588 . Change the interleave index to an
array of ints rather than an array of chars to avoid losing in the event
one has more than 127 components.
1995-10-12 21:28:32 +00:00
chuck
bb184934d0
sync with sun3 version and libsa changes
1995-10-12 20:39:49 +00:00
chuck
3cbeee1f5b
changed sysarch() to sys_sysarch()
1995-10-12 20:03:39 +00:00
chuck
ab55ab9c8c
changed blkclr to bzero
1995-10-12 20:02:19 +00:00
chuck
31552196e9
remove bzero/strlen/bcmp as they are now in libkern
1995-10-12 20:00:40 +00:00
mycroft
086845d5d3
Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
...
and switch to dynamically allocating the TSS.
1995-10-12 17:56:36 +00:00
briggs
67e41c3280
Remove extra serial device--forgot to check this in earlier.
...
The serial device now handles both channels.
1995-10-12 17:39:45 +00:00
jtc
af8ead3302
Fix from Jochen Pohl which fixes case where quad multiply
...
goes awry if bit 31 of at least one of the operands is set
(PR #1591 ).
1995-10-12 15:05:35 +00:00
chuck
6323b1197a
changed SUNOS_SYS_sunos_sigreturn to SUNOS_SYS_sigreturn.
1995-10-11 23:52:35 +00:00
mycroft
50f83bdbdf
Maintain a free list.
1995-10-11 23:39:08 +00:00
pk
600acb3b06
Conditionalize ancient @' and
#' erasors.
1995-10-11 21:16:57 +00:00
mycroft
2765bc7b44
Go back to statically allocating the GDT entries for proc0.
1995-10-11 19:32:31 +00:00
mycroft
c9b339fcd1
Clean up deleted files.
1995-10-11 18:51:50 +00:00
mycroft
059cb84d53
Fix typo. Also, remove diagnostic in svr4_sys_sysarch().
1995-10-11 17:04:11 +00:00
pk
ce2afd8d64
Sync filesystem before running installboot.
1995-10-11 13:32:57 +00:00
pk
b60d6eae12
Gets NFS-mounted /emul/sunos going again by faking readdir cookies if
...
not supported by VOP_READDIR().
1995-10-11 12:50:23 +00:00
mycroft
ddbde6d166
Remove reference to dead variable.
1995-10-11 06:24:28 +00:00
mycroft
fda13ac9c6
Clean up deleted files.
1995-10-11 05:28:06 +00:00
phil
715002290d
remove old 1.0 distribution configs, tune 1.1 kernel configs.
1995-10-11 04:53:57 +00:00
mycroft
72805df917
Various changes from John Kohl and me:
...
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.
1995-10-11 04:19:29 +00:00
gwr
22bcf4e552
New function: set_segmap_allctx()
1995-10-10 21:38:56 +00:00
gwr
1b2cf12fa7
Need to use set_segmap_allctx() on kernel-space segments.
...
(Thanks again to David Jones!)
1995-10-10 21:37:29 +00:00
gwr
4575a77421
Get rid of things now in libkern: bzero, bcmp, strlen
1995-10-10 21:35:42 +00:00
gwr
464d1686fd
sysarch --> sys_sysarch
1995-10-10 21:34:50 +00:00
gwr
127019022a
SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_sigreturn
1995-10-10 21:33:33 +00:00
gwr
f1b8ad3645
New function: set_segmap_allctx()
1995-10-10 21:29:02 +00:00
gwr
dda519e3d9
The previous hack to save two instructions when the
...
return value of splx() was ignored did not prevent the
optimizer from re-ordering the asm statements! (Yikes!)
Revert this to the old, single asm statement method.
Thanks VERY MUCH to David Jones for finding this!
1995-10-10 21:28:00 +00:00
gwr
facfdf5c60
Use sys/scsi/files.scsi
1995-10-10 21:25:29 +00:00
gwr
b797d6e69d
Cosmetic: Kill trailing whitespace, etc.
1995-10-10 21:18:01 +00:00
pk
64a90cd0b0
Check input channel in gettick(); for `L1-A' processing.
1995-10-10 20:11:33 +00:00
pk
ebe37d8041
We don't need `rem.o'.
1995-10-10 20:07:54 +00:00
mycroft
28484180c7
Fix minor oversight.
1995-10-10 18:27:25 +00:00
mycroft
dbce1a97aa
Add specs for ahc driver.
1995-10-10 12:16:54 +00:00
phil
326e5742ac
Disable interrupt to avoid a bug. This makes the "new ncr" driver
...
stable enough to use in the distribution. We still need to find out
where the bug is when interrupts are enabled.
1995-10-10 08:08:01 +00:00
mycroft
eb44441b87
Pull in microcode dependencies. Remove -fno-builtin.
1995-10-10 05:58:00 +00:00
mycroft
5d9ff18d18
Switch to user code and data selectors in the GDT while handling signals.
1995-10-10 04:54:18 +00:00
mycroft
25f53a986f
Add USERMODE() and KERNELMODE() macros, and use them.
1995-10-10 04:45:03 +00:00
briggs
712a3f32c4
Nuke blkclr and use thereof.
1995-10-10 04:14:18 +00:00
briggs
2738554927
Get rid of libkern duplicates.
1995-10-10 03:49:04 +00:00
briggs
5e13eea9b1
sysarch -> sys_sysarch
1995-10-10 03:48:33 +00:00
briggs
fcb8923ffa
Remove extra reference to LIBKERN.
1995-10-10 03:47:59 +00:00
mycroft
3450507404
Make sure we only schedule one timeout to refill the mbuf queue.
1995-10-10 03:11:28 +00:00
mycroft
92221a1399
Return EINVAL if something other than a whole number of blocks is requested.
1995-10-10 02:52:56 +00:00
mycroft
ec64328797
Check for todo<0, done<0, and done>todo.
1995-10-10 02:51:45 +00:00
mycroft
d279b4198a
Convert VMIN and VTIME.
1995-10-10 02:35:16 +00:00
thorpej
54ed756bc4
Add another dca and grf
1995-10-10 02:12:37 +00:00
mycroft
4fd4545646
Fix #include misordering.
1995-10-10 01:40:13 +00:00
mycroft
e6d9bc8787
Fix typo.
1995-10-10 01:34:37 +00:00
mycroft
5a44558c93
Reran makesyscalls.sh.
1995-10-10 01:33:26 +00:00
mycroft
44a38d8470
Add aliases for all compat functions.
1995-10-10 01:32:53 +00:00
mycroft
37758b3f84
Minor change.
1995-10-10 01:30:25 +00:00
mycroft
090f48526e
Add ahc and COMPAT_FREEBSD.
1995-10-10 01:29:15 +00:00
mycroft
2dd293d3c3
Add hooks for COMPAT_FREEBSD, from Noriyuki Soda.
1995-10-10 01:26:36 +00:00
mycroft
0ad97bc5c9
FreeBSD binary compatibility module, from Noriyuki Soda.
1995-10-10 01:22:31 +00:00
mycroft
a91100d6af
Oops; remove something.
1995-10-10 01:20:55 +00:00
mycroft
e1ac4c6362
Output of makesyscalls.sh.
1995-10-10 01:20:11 +00:00
mycroft
63bb46e733
FreeBSD binary compatibility module, from Noriyuki Soda.
1995-10-10 01:19:24 +00:00
thorpej
c819cd372d
In lkmioctl(), disallow LMRESERV, LMLOADBUF, LMUNRESRV, LMREADY,
...
and LMUNLOAD if securelevel > 0. From Matthew Green <mrg@eterna.com.au>
1995-10-10 00:23:20 +00:00
thorpej
d0c7d0fdd6
Add missing F_SETLKW case to svr4_sys_fcntl(), from Niklas Hallqvist
...
<niklas@appli.se>.
1995-10-09 23:56:17 +00:00
pk
4dcb5917b8
Brr.. libkern.o is way too big for our bootxx..
1995-10-09 23:25:54 +00:00
pk
be2f4294bf
Add `fd' to list of possible boot devices.
1995-10-09 22:34:03 +00:00
pk
c4dc969b09
Point `bootdv' at the disk device instead of the controller (from Jason Thorpe).
1995-10-09 22:33:07 +00:00
chopps
29dcca9ffe
fix use of uninit vars from Bernd Ernesti <bernd@arresum.inka.de>
1995-10-09 19:26:15 +00:00
mycroft
0fff06cb86
Remove struct sunos_dirent from here.
1995-10-09 16:54:48 +00:00
chopps
11c134fb80
fix typo
1995-10-09 15:53:39 +00:00
pk
53eb8f8175
RASTERCONS now works on sun4's too.
1995-10-09 15:39:34 +00:00
chopps
d9a781419d
revert last commits was a mistake
1995-10-09 15:23:22 +00:00
chopps
78bd894529
add prototypes for isr stuff fixes pr# 1284 and 1569
1995-10-09 15:19:58 +00:00
chopps
0edda525b9
fix keymap (fixes pr#1254) from Blaz Zupan <blaz.zupan@uni-mb.si>
1995-10-09 14:27:18 +00:00
mycroft
3dc2e10405
Fix the inode calculation in kernfs_getattr().
1995-10-09 14:25:02 +00:00
mycroft
1e583dfb19
/dev/std* are of type DT_LNK.
1995-10-09 14:20:04 +00:00
chopps
3973aeb080
fix hang bug from Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
1995-10-09 14:05:24 +00:00
mycroft
d60bb4a465
Use the index number as the cookie, rather than multiplying by UIO_MX.
1995-10-09 14:03:32 +00:00
chopps
dea30dfde9
make work with newer grfconfig now in /usr/sbin. from
...
Bernd Ernesti <bernd@arresum.inka.de>
1995-10-09 14:02:32 +00:00
briggs
f5fae9d016
Port of Sun3/Sparc zs driver from wrstuden@loki.stanford.edu
...
(Bill Studenmund). Should be massaged into machine independence
for 1.2.
1995-10-09 12:42:16 +00:00
pk
e3bc0dcc21
Add DIOCEJECT.
1995-10-09 12:00:18 +00:00
mycroft
b12f4a4409
For now, return EINVAL if the client needs cookies.
1995-10-09 11:25:30 +00:00
mycroft
652c9eff74
Use cookies for directory offset, mostly from Greg Hudson.
1995-10-09 11:23:57 +00:00
mycroft
1dde00e8a4
Correct a comment regarding cookies, from Greg Hudson.
1995-10-09 11:19:32 +00:00
mycroft
bcaf2bca34
Add support for cookies, mostly from Greg Hudson.
1995-10-09 11:18:51 +00:00