mycroft
2e52ce5fd7
Pull in vmparam.h as necessary.
1997-10-16 04:23:36 +00:00
mycroft
91302e62ef
Regen.
1997-10-16 03:36:14 +00:00
mycroft
68fb837229
Fix a typo inherited from kern/syscalls.master.
1997-10-15 17:18:17 +00:00
mycroft
2587de6af9
Adjust u_int arguments of some system calls to int, to match user-level
...
prototypes.
1997-10-15 17:03:52 +00:00
lukem
28558b28eb
rcsid fascism
1997-10-13 14:22:22 +00:00
fvdl
d85f38cbec
Fix braino in my interpretation of the eof flag to VOP_READDIR.
1997-10-10 22:16:04 +00:00
fvdl
93b08eefc2
u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes
1997-10-10 13:03:32 +00:00
fvdl
cd215502cb
Regen.
1997-10-10 12:54:39 +00:00
fvdl
914e939800
sys_getdirentries -> compat_12_sys_getdirentries from Juergen Hannken-Illjes.
1997-10-10 12:45:01 +00:00
jonathan
8494c2cf67
Correct name of author in license clause 3, as per email with mrg.
1997-10-10 08:31:10 +00:00
mycroft
16652e8449
Regen.
1997-10-10 06:49:08 +00:00
mycroft
523d84775a
Emulate mremap(2) by returning ENOMEM for now. This should be sufficient for
...
realloc(3) and other uses. From Matthias Scheler in PR 3920.
1997-10-10 06:25:34 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
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