Commit Graph

94023 Commits

Author SHA1 Message Date
christos
22839acdb9 use the exithook mechanism to clean up semaphores. 2002-03-17 22:21:58 +00:00
christos
f7d98e2451 - merge all the hook insertion and deletion code so that we don't create
a fourth copy.
- add exithook to be executed when a process exits.
2002-03-17 22:19:20 +00:00
tshiozak
dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
simonb
a85e214bda Make sure that private DMA flags don't overlap with standard DMA flags;
start these at 0x10000 to leave room for an increase in the latter.
2002-03-17 21:45:06 +00:00
scw
48be531fcb Add an empty (for now) `image_md_post'. 2002-03-17 21:37:25 +00:00
lukem
1c4e12fe15 deprecate Makefile.inc in favor of including ../../Makefile.inc directly 2002-03-17 21:34:37 +00:00
lukem
aa82eb53b0 add missing backslash. noted by Havard Eidnes 2002-03-17 21:33:45 +00:00
martin
fc467dcd20 Modify for new ISDN device/interface names. 2002-03-17 21:32:21 +00:00
tron
dc594f1d90 Correct error in last commit: "revisions" should not be removed during
install.
2002-03-17 21:11:32 +00:00
martin
3c37541fd6 Remove hardcoded driver identifiers.
Query the kernel for supported application drivers instead.
2002-03-17 20:57:24 +00:00
manu
c51e325123 Replaced PS_STRINGS by p->p_psstr 2002-03-17 20:54:09 +00:00
martin
e2c42aeaa8 Remove all knowledge about specific application (layer 4) drivers from
the generic layer 4 and layer 3 management system.

This should make the layer 4 driver API LKM clean - finaly.

Make the Fritz!PCI driver work again after resent changes (oops!),
noted by Frank Kardel (PR 15948) and Matthias Scheeler.
2002-03-17 20:54:04 +00:00
atatat
26500cdfcd Bump kernel version -- ERESTART has been moved and EPASSTHROUGH has
been introduced.
2002-03-17 19:43:07 +00:00
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
christos
f2d8f1aa62 goodbye PS_STRINGS. 2002-03-17 19:16:20 +00:00
augustss
75419dae29 Add Cyrillic keysyms. From OpenBSD. 2002-03-17 18:15:00 +00:00
augustss
45e00a035a Don't forget the symbolc names for the keymaps. 2002-03-17 18:12:15 +00:00
augustss
b32942bb23 Whitespace fixes. 2002-03-17 18:02:52 +00:00
augustss
3fba39846b Add Swiss keyboard mappings. From OpenBSD. 2002-03-17 18:01:07 +00:00
augustss
ada83730a8 Add more language map definitions. 2002-03-17 18:00:17 +00:00
uch
93da9db963 cosmetic changes, fix comments. 2002-03-17 17:55:22 +00:00
thorpej
8295f2e0b4 Document PT_IO. 2002-03-17 17:14:58 +00:00
thorpej
53df727d27 Add a new ptrace request, PT_IO, as proposed by Artur Grabowski
on the <bsd-api-discuss@wasabisystems.com> mailing list.  PT_IO
is a more general inferior I/D space I/O mechanism.  FreeBSD and
OpenBSD have also added PT_IO.

From lha@stacken.kth.se, kern/15945.
2002-03-17 17:02:45 +00:00
minoura
c42dd282b7 LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
2002-03-17 16:14:30 +00:00
kent
fe274639f9 aurateconv.c:
- Simplify the source
  - Accept any convresions such that sample_rate < hw_sample_rate

uaudio.c:
  - Request the above conversion.  This is needed for 4ch-only devices to
    play monaural/stereo data.
2002-03-17 16:14:21 +00:00
minoura
e6ff25795b Make this compile again. 2002-03-17 15:43:10 +00:00
uch
1080799576 change to per-process AST. 2002-03-17 14:06:38 +00:00
uch
57918e656a add kernel stack debug option. 2002-03-17 14:05:47 +00:00
uch
81cdeb6cdd adapt to kernel stack treatment changes. 2002-03-17 14:05:10 +00:00
uch
02add6730a reserve wired entries for kernel stack. 2002-03-17 14:04:18 +00:00
uch
3900e66164 add kernel stack and trapframe debug command. 2002-03-17 14:03:55 +00:00
uch
9e6153d985 remove obsoleted functions. 2002-03-17 14:03:34 +00:00
uch
b4b9d38675 zero clear all TLB entry to avoid unexpected VPN match. 2002-03-17 14:03:09 +00:00
uch
1e6e3f896d write-through mode for now. since SH4 kernel access page table via P2. XXX 2002-03-17 14:02:43 +00:00
uch
4c6260b9de kernel stack fix. old code simply P3 address converted to P1, it
caused memory destruction when kernel stack grow over 1 page.  new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.
2002-03-17 14:02:03 +00:00
bjh21
03ea4040c4 Extend the test to also test data_abort_address() on arm26, which can panic on
certain pre-indexed data transfers.
2002-03-17 13:46:45 +00:00
bjh21
15144a1641 Change the address used for abort fixup tests to be zero rather than
0xffffffff.  This means that it won't generate a SIGBUS (address exception)
on arm26.
2002-03-17 12:32:28 +00:00
bjh21
e517187d89 Catch SIGSEGV, so we can exit successfully if it arrives. 2002-03-17 12:25:11 +00:00
bjh21
25b90c6bab Small fix to assembly code to avoid "source register same as write-back base"
warning from GAS.
2002-03-17 12:08:13 +00:00
bjh21
315040cb53 Remove joy at ioeb, since it's not supported and it clashes with the MI
joy.
2002-03-17 12:00:56 +00:00
simonb
5a7cb92d99 Include <machine/swarm.h>. 2002-03-17 11:37:55 +00:00
kent
2b2d118e66 Rename aurateconvproto.h to aurateconv.h. 2002-03-17 11:36:37 +00:00
simonb
1f467013b2 White space nits. 2002-03-17 11:15:49 +00:00
simonb
72b108a114 Don't 'extern' function prototypes.
ANSIfy kernel-only prototypes.
2002-03-17 11:14:04 +00:00
simonb
21d2b8b53d We don't need to include <uvm/uvm_extern.h> before <sys/sysctl.h> anymore. 2002-03-17 11:10:43 +00:00
martin
ccb433029a Adapt to call-ID based accounting messages. 2002-03-17 11:09:16 +00:00
martin
14a03255ac Remove the hard coded layer 4 driver coding from the accounting data
and functions, use the call ID instead.
2002-03-17 11:08:31 +00:00
simonb
ed84d53b75 Allow selection of a big- or little-endian kernel by uncommenting the
std.sbmips.eb or std.sbmips.el config include file in the kernel config
file.  Idea from the evbsh3 port.
2002-03-17 11:00:22 +00:00
wiz
fb38ff8c32 Add audiocs, ebus catted man pages. 2002-03-17 10:57:14 +00:00
wiz
51d6e9c915 Add utmpx.h 2002-03-17 10:56:05 +00:00