Commit Graph

640 Commits

Author SHA1 Message Date
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
jonathan
6aaa702220 lint: add explicit return type to ultrix_sys_shmsys(). 1997-05-24 09:53:11 +00:00
augustss
604e6c4091 Add missing initialization. 1997-05-19 23:05:14 +00:00
augustss
0decef1b80 Fix recording source selection bug. 1997-05-19 17:29:12 +00:00
jeremy
3d6483ab9a Ignore use of sunos_audioio.monitor_gain because it has no equivalent in the
audio sub-system.  It used to use the ``__spare'' member of the audio_info
struct, but that has been removed.
1997-05-11 05:41:13 +00:00
mycroft
e3f99a9397 Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
kleink
5482ee2d93 Fixed copyin() argument botch in shmctl() IPC_STAT handling. 1997-05-08 14:33:11 +00:00
mycroft
837a72363d VEXEC -> VLOOKUP, as appropriate. 1997-05-08 10:57:17 +00:00
augustss
c397fa8357 Return audio buffer size in audio_info_t with ioctl() AUDIO_GETINFO.
Use the buffer size to implement one more OSS ioctl().
1997-05-07 19:24:25 +00:00
augustss
c4a52794f1 Convert to new orthogonal audio encoding scheme and implement
some of the new encodings.  The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
mycroft
185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
augustss
7d386f10b8 Adjust ioctl() encoding before calling OSS audio code. 1997-05-06 23:56:43 +00:00
jonathan
68db3bde6d NetBSD doesn't have VSWTCH, so we can't emulate it; clarify. (see PR#2793). 1997-05-05 22:21:18 +00:00
mycroft
aaf3b59589 Remove outdated comment. 1997-05-05 06:56:20 +00:00
thorpej
70ce55d5d7 Update for changes in machine-dependent COMPAT_HPUX code. 1997-04-27 21:40:47 +00:00
jonathan
bbf513e2e5 Correct shm ifdefs for when SVSHM is defined. Fix from Ted Lemon in PR 3542. 1997-04-26 02:00:11 +00:00