enami
fdd96411d4
Regen from syscalls.master 1.9.
1997-10-10 02:01:03 +00:00
enami
9b1963acd5
Regen from syscalls.master 1.9.
1997-10-10 02:00:57 +00:00
enami
6e4ffc538f
Regen from syscalls.master 1.9.
1997-10-10 02:00:54 +00:00
enami
3c1a195715
lchown at #254 .
1997-10-10 01:55:33 +00:00
enami
23b3ed1d5c
New function freebsd_sys_lchown() to emulate FreeBSD lchown(2).
1997-10-10 01:50:55 +00:00
fvdl
86ecc45306
Signal error when getting a 64 bit offset cookie that can't be stored
...
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:47:41 +00:00
fvdl
811fbe17b5
Add getdirentries backward compat syscall. Provide common function to
...
signal cookie overflow during emulated getdents and friends.
1997-10-10 01:46:59 +00:00
fvdl
49d58c7d89
Regen.
1997-10-10 01:45:48 +00:00
fvdl
b35ec5940b
Channel FreeBSD getdirentries to our now obsolete getdirentries call.
1997-10-10 01:44:59 +00:00
fvdl
d6e5e295fa
Signal error when getting a 64 bit offset cookie that can't be stored
...
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:42:21 +00:00
jtc
55baa7c0f7
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:30:09 +00:00
augustss
7002bab845
Emulate setting the hiwater mark with SETFRAGMENT the right way.
...
Get rid of some 'register'.
1997-10-07 22:46:00 +00:00
thorpej
616e0b7e33
Copyright assigned to The NetBSD Foundation.
1997-10-05 18:26:38 +00:00
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