Commit Graph

655 Commits

Author SHA1 Message Date
mhitch 3bda138b2b Fix a missed *setregs() change. 1997-09-24 02:13:11 +00:00
jtk 4e51e62639 implement IBCS2_FIONBIO
(code by Christos Zoulas; tested by me)
1997-09-19 21:57:10 +00:00
mycroft 99a6404735 Add an ibcs2_setregs(). 1997-09-11 23:05:30 +00:00
mycroft 3f70f046fc Fix wait(2) and waitpid(2) emulation; it's the responsibility of the syscall
stub to copy %edx to *status, and trying to do it here loses with some libc
versions.
1997-09-11 23:05:02 +00:00
mycroft 16a8787248 Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)
1997-09-11 23:01:44 +00:00
mycroft a6aa4731bc Fix errors left over from system call conversion. 1997-09-09 21:14:00 +00:00
kleink c80051ee4e Add missing preparation of F_GETLK parameters in linux_sys_fcntl(); fixes PR
port-i386/4083 from Matthias Scheler <tron@lyssa.owl.de>, but vastly cleaned
up as previously suggested by myself.
1997-09-05 01:49:12 +00:00
jonathan d8418c511e machine/psl.h is deprecated; move #include <machine/psl.h> inside #ifdef m68k. 1997-09-03 21:06:50 +00:00
augustss 9390f073ca Increase the number of mixer devices the emulation looks at. 1997-08-24 23:31:23 +00:00
augustss 006a85ea00 Oops, forgot two lines in last commit. 1997-08-11 01:54:52 +00:00
augustss 67acd09fdc Implement OSS_SNDCTL_DSP_NONBLOCK. 1997-08-11 01:52:47 +00:00
augustss 2d2e53095a Some more debugging output. 1997-08-11 01:00:38 +00:00
augustss 46e0757329 Make sure OSS_SNDCTL_DSP_GETFMTS returns the formats the audio driver
can handle and not just some random guess.
Also add some debugging stuff.
1997-08-07 23:59:23 +00:00
augustss 7dfa17a43b Improve ioctl decoding.
Change mixer name mappings.
1997-08-06 23:06:04 +00:00
bouyer 1cd83a5971 Fix "missing entries" bug when reading large directories: When reading a
directory and running out of space in the dest buffer, off should point to the
current entry (which was not saved) and not to the next.
I discovered this bug using linux and SunOS emulation over NFS, but seems to
affect other emulations as well.
1997-08-04 09:48:07 +00:00
augustss d3de043fad Make sure the blocksize is always a power of 2 when inspected.
OSS only uses powers of 2 so some programs expect this.
Now Quake works!
1997-07-28 03:51:11 +00:00
augustss 9745684ebe Changes to the sudio system:
- It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.
1997-07-27 01:16:32 +00:00
christos 3c27e58f31 Regen. 1997-07-21 23:03:30 +00:00
christos ee8b56d3e6 Add:
64 bit filesystem system calls
	socket system calls
	ntp system calls
1997-07-21 23:02:34 +00:00
pk e3680b0e26 config.new => config 1997-07-20 20:33:08 +00:00
augustss 8727da130b In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
kleink ff831a8fcd regen. 1997-06-27 05:36:07 +00:00
kleink 96588fead9 Use sys_posix_rename() instead of sys_rename() as it's the behaviour of the
native implementation.
1997-06-27 05:29:34 +00:00
thorpej 7b3b89d852 Regen: Use compat_12_sys_swapon(). 1997-06-13 19:16:12 +00:00
thorpej 35b5fbf200 Use compat_12_sys_swapon(). 1997-06-13 19:15:18 +00:00
thorpej 896ec49c49 Regen: Use compat_12_sys_swapon(). 1997-06-13 19:12:58 +00:00
thorpej 6f6452cc13 Use compat_12_sys_swapon(). 1997-06-13 19:11:42 +00:00
thorpej 30597f2eed Regen: Use compat_12_sys_swapon(). 1997-06-13 19:10:11 +00:00
thorpej 068d1ad637 Use compat_12_sys_swapon(). 1997-06-13 19:09:12 +00:00
thorpej 41e29be490 Garbage-collect sunos_sys_swapon(); it is not needed. 1997-06-13 19:08:25 +00:00
thorpej ac4da17507 Regen: Use compat_12_sys_swapon(). 1997-06-13 17:31:37 +00:00
thorpej 454c1df5f3 Use compat_12_sys_swapon(). 1997-06-13 17:30:19 +00:00
thorpej 8671b8f854 Don't #ifdef compat_12_sys_swapon() so that it can be used by other compat
modules.
1997-06-13 17:28:29 +00:00
mrg 00b1926b5b put the front end into libc. 1997-06-12 22:04:50 +00:00
mrg df072ab6f9 make this sys_swapon() for now. 1997-06-12 21:55:47 +00:00
mrg b73df246f5 bring mrg-vm-swap2 onto mainline. 1997-06-12 19:18:15 +00:00
mrg aabc4f2396 now need sunos_sys_swapon() as ours is different. 1997-06-12 19:01:02 +00:00
mrg bd8a2cdada bring mrg-vm-swap2 onto mainline. 1997-06-12 17:35:18 +00:00
jonathan 530b4df7e3 Emulate RISC Ultrix cacheflush() and cachectl() syscalls on mips. 1997-06-09 11:57:43 +00:00
jonathan 184599798d Declare ultrix_sys_symshs(). Ultrix uses the standard (BRL?) hack to
implement sysV shm using one system call.
1997-06-09 11:50:52 +00:00
christos ca0d389297 PR/3701: Arne H. Juul: olstat can't stat "/", because it still pretended
that symlinks don't have inodes.
1997-06-06 19:36:31 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 75380e08a1 Use new NOINSTALL option for libraries that are used only during the build
of a program, and not installed into the final system.
1997-05-30 01:55:09 +00:00
jonathan 8b35fc95ad GC old ultrix-emul syscall stub used to debug ultrix signals. 1997-05-25 11:09:39 +00:00
jonathan 0087cea09e lint: add prototypes for termio/termios emul conversions and ioctl handlers. 1997-05-25 10:38:00 +00:00
jonathan 894ea52659 Update copyright. 1997-05-25 10:24:05 +00:00
jonathan d06117b286 lint: add prototype for static function make_ultrix_mntent(). 1997-05-25 10:21:34 +00:00
jonathan 7411774547 lint: add prototype for static local function ultrixstatfs(). 1997-05-25 05:30:21 +00:00
jonathan d5b9a48fd5 Add prototype for cpu_exec_ecoff_setregs() to mips/inuclde/ecoff_machdep.h.
Use it in compat/ultrix/ultrix_misc.c (setting emul type on mips).
1997-05-24 10:26:30 +00:00
jonathan 2b708ca438 lint: gc unused variables in ultrix_sys_mount(). 1997-05-24 09:56:47 +00:00