jdolecek
1731882d0a
emuxki_set_params(): don't try to set parameters if the appropriate
...
'voice' is not initialized
This fixes kern/15394 by Onno van der Linden.
Code fragment to trigger the bug:
AUDIO_INITINFO(&info);
info.mode = AUMODE_PLAY;
info.play.channels = 2;
fd = open("/dev/audioctl0", O_RDWR);
(void)ioctl(fd, AUDIO_SETINFO, &info);
emuxki_voice_set_audioparms(): g/c check for voice == NULL, this is
never called with null voice
some minor style changes in emuxki_open()/emuxki_close()
2002-01-27 20:38:07 +00:00
thorpej
872ed866f5
Set the machine architecture in the bfd structure before
...
parsing the program headers.
2002-01-27 20:12:09 +00:00
aymeric
5f64c7fa5a
remove extraneous ".bullet)" which prevented compilation.
2002-01-27 19:50:10 +00:00
aymeric
1ebbe6900f
make sure we have CLOCAL set and HUPCL unset when the serial port is used as
...
a console.
2002-01-27 19:25:35 +00:00
jdolecek
910223ce2e
Delete the old code which made audioctl use stderr for output
...
if the stdout was same as the audio device. It's no longer relevant,
and the check was broken anyway (code used st_dev rather than st_rdev
when comparing the character devices).
A by-product of this is that 'audioctl -a > /dev/null' now works.
Okay'ed by Lennart.
2002-01-27 18:21:52 +00:00
augustss
9cdd3fd977
Don't dereference NULL pointer when no device attaches.
2002-01-27 18:10:34 +00:00
lukem
9a9a577188
- remove unused variables, and variables that don't need to be set here
...
- use ${NM} instead of nm
- define KERNELSYMS from KERNELS
- remove netbsd.tmp in clean
2002-01-27 15:31:57 +00:00
bjh21
70017578a1
Regen (breakpoint() implemented).
2002-01-27 15:28:22 +00:00
bjh21
8c36606f84
Add support for breakpoints to ARMLinux emulation.
2002-01-27 15:27:33 +00:00
bjh21
4929dc576f
Add support for PTRACE_GETREGS and PTRACE_SETREGS in ARMLinux emulation.
2002-01-27 15:11:38 +00:00
is
4205fc1471
Attach multifunction GVP boards.
2002-01-27 14:52:51 +00:00
is
5fea84442f
remove double {
2002-01-27 14:51:10 +00:00
bjh21
e4b1cbedfc
Add revision->stepping maps for the SA-110, SA-1100 and SA-1110.
...
Those for the SA-1100 and SA-1110 are from Intel's documentation.
The mapping for the SA-110 is from various sources on the net, since Intel
don't seem to document it.
Also, change the layout of the maps to have four steppings per line,
so they aren't quite so unwieldy.
2002-01-27 14:43:47 +00:00
is
637649fac0
Register a shutdown handler that switches off interupts.
2002-01-27 14:39:28 +00:00
is
2f444c68be
Add some video modes which are displayable on my LCD.
2002-01-27 14:32:21 +00:00
is
97a611702b
Make this compile for specialized kernels.
2002-01-27 14:29:26 +00:00
takemura
a0584b29ab
Added vripif.
2002-01-27 14:18:11 +00:00
tsutsui
a7fa024eb0
Add Acard ATP-850/860 PCI IDE controllers to supported hardware.
2002-01-27 14:17:10 +00:00
lukem
6c5c021900
use the recently added hw.disknames value from sysctl(8) to determine
...
the list of currently configured disk devices, and start raid parity
rebuilds on devices which match "raid[0-9]*"
2002-01-27 14:16:33 +00:00
bjh21
bf73a232ce
Regen (prototype for linux_sys_nosys()).
2002-01-27 14:09:38 +00:00
bjh21
71953fb155
Make syscall 0 an explicit call of linux_sys_nosys, as it is on i386. This
...
is necessary to get a prototype for linux_sys_nosys generated in syscallargs.h.
2002-01-27 14:08:56 +00:00
jdolecek
431b02b81f
regen:
...
add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:56:49 +00:00
is
78f59c0127
*** empty log message ***
2002-01-27 13:36:58 +00:00
lukem
fea75ff830
- kern.maxvnodes: only call vfs_reinit() and nchreinit() if the value
...
was successfully changed. previously, successfully viewing the
current value would flush the cache :-/
- similarly, don't change hostid and sb_max unless the value was
successfully changed
2002-01-27 13:33:36 +00:00
is
2aee73a306
Don't include audio devices in INSTALL kernels.
2002-01-27 13:27:51 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
is
fbd27d85b3
add Toccata.
2002-01-27 13:18:24 +00:00
simonb
f8f98db732
Prod from lukem - remember to add hw.disk* here too.
2002-01-27 13:04:21 +00:00
is
939ae0a6d7
Add toccata to the GENERIC configuration.
2002-01-27 13:01:46 +00:00
simonb
93f270352c
Teach sysctl(8) that hw.diskstats is a structure.
2002-01-27 12:47:37 +00:00
simonb
ed6b438e40
Implement the hw.disknames and hw.diskstats sysctl's that have been listed
...
in <sys/sysctl.h> since day one but never implemented.
2002-01-27 12:41:07 +00:00
martin
7942602380
Don't crash when trying to read phone data while there is no ISDN
...
connection. From FreeBSD, via Matthias Drochner.
2002-01-27 11:42:13 +00:00
martin
b41d81ade2
Ooops, ISDN phone devices have an ioctl function, so add them to the
...
cdevsw. Noticed by Matthias Drochner.
(One of these days I'll setup an answering machine for testing myself ;-) )
2002-01-27 11:40:48 +00:00
jdolecek
ba097d4c37
normalize INSECURE and SCSIVERBOSE descriptions
2002-01-27 11:15:36 +00:00
jdolecek
c3bf023668
regen: INSECURE, SCSIVERBOSE description change,
...
s/define/uncomment/, add raid stuff
2002-01-27 11:12:39 +00:00
jdolecek
0be9185a81
take care to undo some cpp's whitespace changes when
...
generating the kernel configs
2002-01-27 11:11:35 +00:00
takemura
7f66bbfe65
Don't call tx39power_suspend_cpu unless the CPU is TX.
2002-01-27 11:11:11 +00:00
takemura
345bbe4615
Do nothing if there is no screen.
2002-01-27 11:08:30 +00:00
jdolecek
5592a685d7
avoid '# define', this is processed by cpp
2002-01-27 11:07:38 +00:00
jdolecek
e9fccf8bac
normalize description of INSECURE and SCSIVERBOSE
2002-01-27 10:52:31 +00:00
jdolecek
6faa3a8ff2
add defflag PIPE_SOCKETPAIR
2002-01-27 10:28:20 +00:00
jdolecek
b88029fb96
Use '-d' rather than '-f' for specification of alternative
...
mixer or audioctl device. The support for '-f' is kept for compatibility
for now.
2002-01-27 10:09:55 +00:00
thorpej
1964af2d8a
Update for a leading-underscore-free ELF world.
2002-01-27 09:02:37 +00:00
lukem
8d39bcd4da
correct comment
2002-01-27 07:19:25 +00:00
lukem
e5182cb71d
use ${PAX} instead of tar | gzip
2002-01-27 07:03:04 +00:00
lukem
791fb512f3
public prototypes should use __P(); fix entries for pwcache_{user,group}db()
2002-01-27 07:00:43 +00:00
lukem
6af35d5a81
- replace "tar -cf - ... | gzip -9 > foo" with "GZIP=-9 ${PAX} -zwf foo ... "
...
- more comment hacking
2002-01-27 06:49:22 +00:00
uch
415a0562eb
clean up debug print and configuration.
2002-01-27 05:15:35 +00:00
uch
4a61fd0786
add self kernel loader.
2002-01-27 05:14:33 +00:00
reinoud
a233fbd53e
Fix major bug in make(1) ... due to shadowing of the dotLast path used for
...
the .DOTLAST primitive by a boolean variable with the same name, this whole
mechanism was broken ... it doesn't save much stat calls but it was wrong.
Thanks to Jason Thorpe for the other shadow-variable fixing patches he
made.
2002-01-27 01:50:54 +00:00