Commit Graph

123237 Commits

Author SHA1 Message Date
bjh21
13d0914a93 Use audiobell for system beeps on acorn32 when vidcaudio(4) is compiled in.
Remove the vestigal sysbeep device and replace it with the same kind of
mechanism that pckbd(4) uses to find the bell, which is just as ugly, but
more standard.  Adapt beep(4) to the new world (though I'm not sure it
deserves to live).
2004-01-17 21:49:24 +00:00
bjh21
e095fd5eda More light KNF. 2004-01-17 21:25:25 +00:00
bjh21
2ae7606f01 Light KNF. 2004-01-17 21:24:29 +00:00
bjh21
e37ee89427 Don't include option headers we're not going to use. 2004-01-17 21:16:13 +00:00
bjh21
b727d5da17 KNF. 2004-01-17 21:14:46 +00:00
bjh21
8e0990aadd Un-__P. 2004-01-17 21:05:40 +00:00
dbj
f01a4aa26e minor nit, set out.dbp correctly when constructing final null block
for sparse files.
2004-01-17 21:00:16 +00:00
bjh21
9556e4209d Simple code to provide a console bell through a generic audio device, for
systems that don't have a dedicated feeper.  It's up to MD code to enable
this by having the "audiobell" attribute and calling audiobell() at the
appropriate moment.

Code for making noise in the kernel from Richard Earnshaw.  Simple synthesizer
design from the RISC OS Programmer's Reference manual.
2004-01-17 20:55:59 +00:00
dbj
6b4933739d add support for conv=sparse
inspired by freebsd, although this patch attempts
to avoid some potential bugs in their implementation.
2004-01-17 20:48:57 +00:00
dsl
23c3ad7622 Run mdsetimage on a temporary copy of the kernel, then we retry if/when
it fails.
2004-01-17 20:17:44 +00:00
provos
80b9ef16f9 off-by-one; found by Nikolay Sturm from OpenBSD 2004-01-17 18:54:32 +00:00
christos
c8d67a7da2 portability fixes. 2004-01-17 17:57:40 +00:00
dsl
f0177aeba6 Put a syntax.c under CVS instead of building if with the mksyntax program.
Kill mksyntax.c - no longer possible to get the 'wrong sort of chars'.
/bin/sh now has no helper binaries.
syntax.c uses C99 initialisers, run time initialisation could be used
for systems where the compiler doesn't support them.
I've used some #defines to help make this possible - but writing the code
starts making it rather messy.
2004-01-17 17:38:12 +00:00
dsl
9cd22030d1 Put syntax.h under CVS instead of having it generated by mksyntax.
Use CHAR_MIN (from limits.h) to determine whether target char are signed
or unsigned - the syntax tables will not be indexed properly.
Rip out all the stuff from mksyntax.c that wrote syntax.h.
syntax.c can stiff be generated incorrectly...
2004-01-17 15:40:09 +00:00
jdolecek
52a99e6986 Michael van Elst reports his USB2 disk works stable after latest Chuck's
ehci.c changes, so remove the item from TODO.
2004-01-17 13:15:05 +00:00
dsl
1fe487ae6e Replace mkinit.c with mkinit.sh
Build mksyntax directly from mksyntax.c so that the -DTARGET_CHAR=xxx
is applied when it is build.
OTOH mksyntax is broken as it tries to determine properties of the
target system by running code on the build system.
2004-01-17 11:47:30 +00:00
rtr
67730f2e2d add dependencies 2004-01-17 06:39:43 +00:00
dbj
15459da491 revert revision 1.2, which was accidentally committed 2004-01-17 05:48:37 +00:00
dbj
378c93dfc4 add regression test to check combination of bs and conv options
this checks for a bug fixed in revision 1.24 of src/bin/dd/args.c
2004-01-17 05:47:28 +00:00
dbj
cae90fa713 Add C_ASCII and C_EBCDIC to list of options which unset C_BS semantics.
Without this fix, the bs option would cause any of the ascii<->ebcdic
conv options to be ignored.
2004-01-17 05:42:50 +00:00
lukem
fdc81e1d5a Move X server related stuff from xbase/md.i386 -> xserver/md.i386. 2004-01-17 05:42:47 +00:00
lukem
f02e617340 Move X server related stuff from xbase/md.sparc64 -> xserver/md.sparc64. 2004-01-17 05:41:50 +00:00
lukem
dbf82357a7 Move X server related stuff from xbase/md.sparc -> xserver/md.sparc. 2004-01-17 05:40:52 +00:00
lukem
74ea47b5f9 Move X server related stuff from xbase/md.macppc -> xserver/md.macppc.
(We want to share "xbase" between MACHINEs with a common MACHINE_ARCH.)
2004-01-17 05:39:01 +00:00
lukem
c434d47afe Remove references to xcontrib and xmisc now that they've been merged
into xbase.
2004-01-17 05:30:01 +00:00
lukem
e6789de0c9 be consistent with other platforms and select xfont as well... 2004-01-17 05:29:29 +00:00
lukem
54aa6389e9 Merge xmisc into xbase; xmisc only contained "ssh-askpass", and the other
stuff from xsrc/local/programs was already in xbase.
2004-01-17 05:19:46 +00:00
lukem
3851e8f02f Merge "xcontrib" into "xbase".
It was already merged in the XFree86 4.x source anyway, and it doesn't
make senses to keep some programs in a separate set just because they
used to be built from a separate directory in XFree86 3.x.
2004-01-17 05:07:09 +00:00
rtr
fd3ecbad7e add XSERVER_XAMIGA and XSERVER_HAS_AFB 2004-01-17 04:06:18 +00:00
rtr
3bea515962 Xamiga reachover 2004-01-17 04:03:26 +00:00
atatat
47768f08f2 In sysctl_locate(), use "rnode" like everywhere else, don't call it
"rv".

In sysctl_destroyv(), deal with deleting alias nodes, and pass a token
size_t to sysctl_destroy().

In sysctl_free(), check that "node" has not reached "rnode", not that
"pnode" has.

In sysctl_realloc(), don't bother setting sysctl_clen...the value is
unchanged.
2004-01-17 04:01:14 +00:00
rtr
3c57e953ad build libamiga.a if Xamiga 2004-01-17 03:56:25 +00:00
rtr
dd6e622644 NEED_SCREEN_REGIONS for Xamiga 2004-01-17 03:53:54 +00:00
rtr
8c37b5823c amiga needs XINPUT for Xnest 2004-01-17 03:50:51 +00:00
atatat
d0a69862ef Rename sysctl setup function to match "reality" 2004-01-17 03:37:42 +00:00
atatat
5d3b89e2f4 Avoid dereferencing l...it might be NULL 2004-01-17 03:33:24 +00:00
atatat
4604fb0abe Remove useless comment 2004-01-17 03:30:14 +00:00
uwe
11b19038f9 Close the comment after #endif. 2004-01-17 01:04:46 +00:00
dsl
df348483d0 Replace the C program mknodes.c with a shell script mknodes.sh
(mkinit and mksyntax may also die soon...)
2004-01-16 23:24:38 +00:00
perry
c70305f794 Make the warning on NEW_BUFQ_STRATEGY much milder -- I've upgraded it
to "Likely stable". I'm not going to make it the default unilaterally
but I really think it should be.
2004-01-16 17:02:05 +00:00
cl
359b937c80 - delay making a thread unblocked until it's put on the runqueue.
- simplify handling of blocked idle threads.

This should fix the ``assertion "target->pt_state != PT_STATE_RUNNING
|| target->pt_blockgen != target->pt_unblockgen" failed'' problem
reported by Marc Recht and Steve Bellovin on current-users.

Also g/c unused pthread__sched_bulk call left over from pthread_sa.c
rev. 1.22 change.
2004-01-16 15:23:31 +00:00
onoe
a42258dab0 Do not return EINPROGRESS but 0 in awi_newstate, since the EINPROGRESS
handling was changed in net80211 framework.
This fix wiconfig -D awi0 to work again for DS phys.
XXX FH phys takes 20 seconds to complete scan, so wiconfig timed out.
2004-01-16 14:13:15 +00:00
onoe
61921570d3 Ignore WI_RID_STA_IDENTITY and WI_RID_DBM_ADJUST instead of EINVAL
to allow wiconfig to report other informations.
2004-01-16 14:07:32 +00:00
minoura
20bd8dfcc0 Add XKB files for the x68k keyboard. 2004-01-16 13:05:39 +00:00
yamt
047fc0b378 - fix locking order problem. (pa_slock -> pr_slock)
- protect pr_phtree with pr_slock.
- add some LOCK_ASSERTs.
2004-01-16 12:47:37 +00:00
martin
9a80a6dc4b In proc_trampoline don't bother to clear condition codes in the trap
frame, since we no longer rely on this.
While there fix a few comments.
2004-01-16 12:43:43 +00:00
yamt
b81e2fa5c5 uvm_coredump_walkmap: use UVM_OBJ_IS_DEVICE macro. 2004-01-16 12:43:16 +00:00
martin
3b86738bf3 Don't rely on proc_trampoline to clear condition codes for a new
child process on fork - it could be overtaken by a signal delivery
and then use the stale condition code in the trap frame.
Instead, set tf_tstate aproprietaly right from the start.
Fixes PR sparc64/20675.
Many thanks to Paul Kranenburg for hints on a similar problem he fixed
for the sparc port.
2004-01-16 12:42:41 +00:00
scw
f8d2d740de Fix ipip_output() to always set *mp to NULL on failure, even if 'm'
is NULL, otherwise ipsec4_process_packet() may try to m_freem() a
bad pointer.

In ipsec4_process_packet(), don't try to m_freem() 'm' twice; ipip_output()
already did it.
2004-01-16 11:06:27 +00:00
ragge
ead753d26d Fix typo fpclassifd.c -> fpclassifyd.c, reported by Bertram Barth. 2004-01-16 10:46:11 +00:00