summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mega-commit for Linux emulator update.. This has been stress tested underpeter1996-03-0271-1874/+4448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netscape-2.0 for Linux running all the Java stuff. The scrollbars are now working, at least on my machine. (whew! :-) I'm uncomfortable with the size of this commit, but it's too inter-dependant to easily seperate out. The main changes: COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386 machine dependent section into the linux emulator itself. The int 0x80 syscall code was almost identical to the lcall 7,0 code and a minor tweak allows them to both be used with the same C code. All kernels can now just modload the lkm and it'll DTRT without having to rebuild the kernel first. Like IBCS2, you can statically compile it in with "options LINUX". A pile of new syscalls implemented, including getdents(), llseek(), readv(), writev(), msync(), personality(). The Linux-ELF libraries want to use some of these. linux_select() now obeys Linux semantics, ie: returns the time remaining of the timeout value rather than leaving it the original value. Quite a few bugs removed, including incorrect arguments being used in syscalls.. eg: mixups between passing the sigset as an int, vs passing it as a pointer and doing a copyin(), missing return values, unhandled cases, SIOC* ioctls, etc. The build for the code has changed. i386/conf/files now knows how to build linux_genassym and generate linux_assym.h on the fly. Supporting changes elsewhere in the kernel: The user-mode signal trampoline has moved from the U area to immediately below the top of the stack (below PS_STRINGS). This allows the different binary emulations to have their own signal trampoline code (which gets rid of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so that the emulator can provide the exact "struct sigcontext *" argument to the program's signal handlers. The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which have the same values as the re-used SA_DISABLE and SA_ONSTACK which are intended for sigaction only. This enables the support of a SA_RESETHAND flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal semantics where the signal handler is reset when it's triggered. makesyscalls.sh no longer appends the struct sysentvec on the end of the generated init_sysent.c code. It's a lot saner to have it in a seperate file rather than trying to update the structure inside the awk script. :-) At exec time, the dozen bytes or so of signal trampoline code are copied to the top of the user's stack, rather than obtaining the trampoline code the old way by getting a clone of the parent's user area. This allows Linux and native binaries to freely exec each other without getting trampolines mixed up.
* A new syscalls table for the Linux emulator. This is processed bypeter1996-03-024-0/+442
| | | | makesyscalls.sh to generate the rest of the tables.
* This file is "obsolete" and no longer used or referenced.peter1996-03-021-6/+0
|
* Add more options into the conf/options and i386/conf/options.i386 filespeter1996-03-0216-16/+80
| | | | | | and the #include hooks so that 'make depend' is more useful. This covers most of the options I regularly use (but not all) and some other easy ones.
* Remove redundant comment about the 'int len' variables that should bepeter1996-03-021-2/+1
| | | | changed to size_t's.
* Document the int -> size_t change to the m* syscallspeter1996-03-024-4/+4
|
* Oops.. I nearly forgot the actual core of the length/rounding/etc fixespeter1996-03-021-46/+37
| | | | | | | | | | | | that Bruce asked for. These still are not quite perfect, and in particular, it can get upset on extreme boundary cases (addr = 0xfff, len = 0xffffffff, which would end up mapping a single page rather than failing), but this is better code that I committed before. (note, the VM system does not (apparently) support single mmap segment sizes above 0x80000000 anyway)
* reran makesyscalls.sh after "int len" -> "size_t len" changes.peter1996-03-025-10/+10
|
* Change madvise prototype from 'int len' to 'size_t len'. All the otherpeter1996-03-021-2/+4
| | | | | m* syscalls were prototyped as size_t already. Add missing mincore() and minherit() prototypes, as suggested by bde.
* Change the 'int len' args in the mmap/msync/mincore/etc class syscallspeter1996-03-021-20/+6
| | | | to 'size_t' as per bde's request.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-0233-582/+552
| | | | libdialog features).
* Hopefully, this will fix the problems that some people have been having withjkh1996-03-025-187/+598
| | | | | | | the S-Video input. It also has code in the driver for the meteor RGB support and some other bug fixes. I don't have a meteor RGB but I have been told that it works. Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
* 1) Fix a bug that a buffer is removed from a queue, but thedyson1996-03-022-28/+124
| | | | | | | | | | | | | | | queue type is not set to QUEUE_NONE. This appears to have caused a hang bug that has been lurking. 2) Fix bugs that brelse'ing locked buffers do not "free" them, but the code assumes so. This can cause hangs when LFS is used. 3) Use malloced memory for directories when applicable. The amount of malloced memory is seriously limited, but should decrease the amount of memory used by an average directory to 1/4 - 1/2 previous. This capability is fully tunable. (Note that there is no config parameter, and might never be.) 4) Bias slightly the buffer cache usage towards non-VMIO buffers. Since the data in VMIO buffers is not lost when the buffer is reclaimed, this will help performance. This is adjustable also.
* Update the Connectix QuickCam driver to match my current work.pst1996-03-026-463/+659
| | | | | | | | | | | | | - split driver into FreeBSD specific and camera specific portions (qcamio.c can run in user mode, with a Linux "driver top" etc, and qcam.c should be trivial to port to NetBSD and BSDI.) - support for 4bppand bidirectional transfers working better - start of interleaved data-transfers byte-stream decodes (some of this stuff has been pulled out for the moment to make it easier to debug) At this point, anyone who wants to port it to other platforms should feel free to do so. Please feed changes directly back to me so that I can produce a unified distribution.
* Enable VMIO for non-VDIR metadata and block device.dyson1996-03-023-10/+8
|
* 1) Eliminate unnecessary bzero of UPAGES.dyson1996-03-028-104/+215
| | | | | 2) Eliminate unnecessary copying of pages during/after forks. 3) Add user map simplification.
* More b_flags fixes.dyson1996-03-025-16/+16
|
* Use libmd.phk1996-03-0112-385/+133
| | | | | Add support for negotiating (more like "informing peer") about DNS. Various cleanup of warnings.
* Fix a bug that b_flags was getting unnecessarily modified bydyson1996-03-015-15/+15
| | | | | the slice code. The effect up to now has been insignficant, but improved buffer allocation code will break with this problem.
* Properly save and restore the terminal characters!jkh1996-03-011-2/+4
|
* Removed temporary file.bde1996-03-011-0/+0
|
* This commit was generated by cvs2svn to compensate for changes in r14306,pst1996-03-015-3/+195
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import improved quickcam driver control utilities, andpst1996-03-015-3/+195
| | | | | | | | un-installed histogram program for checking driver timing.
* | delete unused label endargwosch1996-03-011-9/+8
| | | | | | | | | | correct indent of last new code fix usage string, option -f before option -i (alphabetic order)
* | Initialize a few more 'result' members in a few places (both in the v2wpaul1996-03-011-14/+61
| | | | | | | | | | and v2 service procedures). Also fixed the formatting in a few places to keep everything under 80 columns.
* | In ypproc_master_2_svc(), don't leave result.peer uninitialized whenwpaul1996-02-291-1/+3
| | | | | | | | returning an error.
* | sense of 'mask' was reversed in default case of no securenets file.adam1996-02-291-2/+2
| |
* | Make the -w option actually useful to people. Instead of it creating adg1996-02-292-97/+79
| | | | | | | | | | | | | | | | | | messy 130 column collage, output the system totals -or- info for a specific interface if -I is given. Also wait for <interval> before outputting the first sample so that it represents meaningful data (as opposed to the total since the system was booted - most busy systems wrap around many times during their operation, so these numbers are only misleading).
* | Add a new option: DDB_UNATTENDED. Stops machine dropping into DDBgpalmer1996-02-284-4/+27
| | | | | | | | | | when it panics, but leaving activation of DDB from the console unaffected.
* | Remove reference to Systems.FAQjfieber1996-02-281-3/+3
| |
* | Clean up Makefile. Still needs -lcompat for insque/remque.wollman1996-02-281-11/+1
| |
* | Fix media type determination.gibbs1996-02-286-20/+16
| |
* | "slow downs" --> "slowdowns"adam1996-02-281-2/+2
| |
* | Fix for 3C589C model. This patch allows people with the new models to work andnate1996-02-281-1/+3
| | | | | | | | | | | | | | doesn't break support for the older models (tested with my 3C589B). Reviewed by: Joshua Gahm <jgahm@BBN.COM> Submitted by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
* | Forgot to remove this file.phk1996-02-281-57/+0
| |
* | Convert "time zone" to "timezone" in section NAMEwosch1996-02-281-1/+1
| | | | | | | | Submitted by: brien@cs.ucdavis.edu (David E. O'Brien)
* | Take slashes out of name for tab132 terminal entry. New ncurses doesn'tjkh1996-02-281-1/+1
| | | | | | | | like that.
* | Fix a bunch of the "mailto" lines so that they actually work.mpp1996-02-271-32/+32
| | | | | | | | | | A bunch of them read "mailto;user@address" instead of the proper "mailto:user@address".
* | Fix conflicts and merge into mainline (this may get cvs admined out and ↵pst1996-02-272-76/+40
| | | | | | | | redone properly by Peter later)
* | Fix conflicts and merge into mainlinepst1996-02-2716-25286/+724
| |
* | Fix re-sense codeache1996-02-272-8/+12
| | | | | | | | Remove unused part of close code
* | rmcd0c: now several ioctls (eject/close/debug/reset/etc.) worksache1996-02-272-116/+142
| | | | | | | | | | even not CD sensed. Open of this device without CD sensed allowed too. Other ioctls re-sense CD for this device.
* | Correctly capitalize `Virgin'.wollman1996-02-271-1/+1
| |
* | Don't list Greenland under Denmark; the Greenanders apparentlywollman1996-02-271-3/+3
| | | | | | | | | | | | don't like that. Obtained from: tz mailing list
* | Fix a variety of bogons.jfieber1996-02-275-20/+21
| | | | | | | | | | | | | | Remember: `&' is a magic character, use &amp; `$' is a magic character (but shouldn't be), use &dollar; use ``...'' instead of "..."
* | Spell tcp_listendrop consistently so that tcp_input.c and netstat compile.bde1996-02-271-2/+2
| |
* | Silence some cc -Wall warnings in quotacheck.mpp1996-02-271-8/+10
| |
* | Add a prototype for the quotactl system call.mpp1996-02-271-1/+7
| |
* | Add second Israel mirror.jkh1996-02-271-1/+7
| |
* | Get rid of the MIRROR.SITES file. It was a gratuitous duplicationjkh1996-02-272-206/+1
| | | | | | | | of effort.
OpenPOWER on IntegriCloud