Commit Graph

73820 Commits

Author SHA1 Message Date
tron
37f9e37daf Fix typo in last commit. 2000-12-23 13:11:57 +00:00
bjh21
85aa3d3b8d G/c unused declarations. 2000-12-23 12:57:55 +00:00
itojun
d888b02030 overhaul.
(1) alloate two mbstate_t, for input/output, per a file stream.
(2) correct inbound escape sequence processing.
cope with incomplete string better.  keep intermediate state for single shifts.
let C0/C1 go through.

XXX for (1), we should expand FILE structure, but is possible only with
libc major # bump.
2000-12-23 12:37:18 +00:00
enami
2f0c4425ee Don't swap clustersum[0]. It's not a cluster summery but block free bitmap. 2000-12-23 12:32:12 +00:00
enami
6ff137de16 Place a name of extent in a struct swapdev instead of dynamically
allocating it.
2000-12-23 12:13:05 +00:00
itojun
7448c8b5b4 avoid duplicated free() on initialization failure 2000-12-23 11:53:46 +00:00
itojun
bbbc605b71 change _INVALID_RUNE value - the old value (0xfffd) was selected when
rune_t was 16bit.

XXX PLEASE REBUILD YOUR LOCALE DEFINITION FILES BY:
# cd share/mklocale; make clean depend; make; make install
2000-12-23 10:52:34 +00:00
tsutsui
aa223e5bce Regen. (Adding Acard UDMA IDE controllers) 2000-12-23 10:13:20 +00:00
tsutsui
cf4a7f824c Add Acard UDMA IDE controllers. 2000-12-23 10:11:55 +00:00
jdolecek
de31133f1d split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

XXX I wish m68k ports would share trap.c
2000-12-23 09:35:51 +00:00
mrg
ad2b8edf8a fix oversight in previous: also look for $MACHINE_ARCH of mipse[bl]. 2000-12-23 09:06:06 +00:00
itojun
48fa1b17ab error code check mistake in LC_CTYPE handling 2000-12-23 08:22:40 +00:00
enami
6242a87506 Fix text address. 2000-12-23 07:40:51 +00:00
wiz
c8b0b91e7e Fix pathnames in comment. 2000-12-23 01:37:57 +00:00
lukem
a0f46c66be don't claim the old /etc configuration is merged in, 'cause it ain't so.
noted in pr 9662.
2000-12-23 00:09:05 +00:00
fvdl
e60e785474 Don't do the syscall with modified ioctl command if we've successfully
done a 'passthrough' ioctl.
2000-12-22 23:41:16 +00:00
jdolecek
93c9760c88 bump kernel version to 1.5P - struct proc, struct sigacts changes 2000-12-22 23:21:38 +00:00
jdolecek
82735a50bc struct proc: g/c p_unused 2000-12-22 23:19:15 +00:00
jdolecek
38f7c1d48b adapt to latest struct proc, struct sigacts, struct sigctx changes 2000-12-22 23:11:19 +00:00
jdolecek
e9e91a0fb5 split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.
2000-12-22 22:58:52 +00:00
itojun
ce0a5e58ed cope with runeglue.c failure better 2000-12-22 22:51:22 +00:00
itojun
85339e75d6 for setlocale(LC_CTYPE) failure, make sure to return NULL. 2000-12-22 22:28:09 +00:00
bjh21
883b619b51 MAU detection on E200 now works. 2000-12-22 22:24:09 +00:00
bjh21
0c0d8f3775 Support for identifying MAUs attached to EtherLan 200-series cards. 2000-12-22 22:21:37 +00:00
scw
8336df62f7 Some small optimisations:
o Avoid checking cputype when the kernel is built for one cpu variant only.
 o In writeback(), don't use bcopy() to write a mere 16 bytes of 16-byte
   aligned data; it's much quicker to copy it inline.
2000-12-22 21:02:05 +00:00
scw
d11562c429 A couple of minor functions which return pointers need to do so in %a0 now.
Spotted by Chuck Silvers.
2000-12-22 20:57:21 +00:00
fvdl
0d4862bed1 Regen. 2000-12-22 20:07:09 +00:00
fvdl
8eaf6e8d8e Make that defined(LKM) || defined(_LKM), to catch both the cases
of compiling a kernel with LKM support and compiling an LKM.
2000-12-22 20:05:35 +00:00
thorpej
d0357bdb4f Slight adjustment to how pfil_head's are registered. Instead of a
"key" and a "dlt", use a "type" (PFIL_TYPE_{AF,IFNET} for now) and
a val/ptr appropriate for that type.  This allows for more future
flexibility with the pfil_hook mechanism.
2000-12-22 20:01:17 +00:00
fvdl
2ac441ddfb LKM -> _LKM around opt_ include. 2000-12-22 20:00:16 +00:00
tsutsui
7541fda9d4 Add missing printf args. 2000-12-22 18:16:37 +00:00
jdc
7a083b2f6e Libcurses minor bump. 2000-12-22 17:08:32 +00:00
jdc
c9e9551689 Revert the change to the `pc' capability from the previous change. Pointed
out in email by Thomas Dickey.
2000-12-22 17:07:12 +00:00
jdolecek
b5590faec8 previous change was not complete enough, so finish and make more correct:
for LC_ALL, return success if at least on of categories was loaded
successfully, error if no category was loaded; in the latter case, we don't
need to back off locale changes, since none happened
2000-12-22 16:50:08 +00:00
matt
c30c93b03c Add legitimize_pic_address and the netbsd-elf.h for ELF support. 2000-12-22 16:48:36 +00:00
matt
5b49016829 Add half-pic mode. Default to half-pic mode. 2000-12-22 16:37:37 +00:00
tv
35670ca600 Undo 1.385; put wss0 back in GENERIC.
Just like any ISA device, if you don't have the device at the configured IRQ,
you could lose if something else decides it wants that IRQ.  wss is not
a special case.
2000-12-22 16:35:51 +00:00
jdolecek
675dc9d35b __setlocale(): ignore errors in locale category load for LC_ALL - doing so
is not useful. This is same change as in rev 1.17.
2000-12-22 15:25:11 +00:00
itojun
8537da23ad use strlcpy/at throughout the code. more strct argument validation.
revoke setuid privilege earlier.

sync with kame.
2000-12-22 15:12:04 +00:00
mrg
264248925f regen 2000-12-22 15:10:38 +00:00
mrg
80ab63644e redo the previous correctly 2000-12-22 15:09:46 +00:00
mrg
af36640df1 regen 2000-12-22 14:59:40 +00:00
mrg
62230909f1 avoid redefinition of VNODE_OP_NOINLINE 2000-12-22 14:58:39 +00:00
mrg
a0e71c9ca7 avoid redefinition of VNODE_OP_NOINLINE 2000-12-22 14:45:50 +00:00
itojun
8ff0e15990 prototype decl for internal functions. 2000-12-22 14:16:16 +00:00
ad
4368af2854 In tc_fb_cnattach(): match from a table, and add #ifdef'ed out glue for the
px/pxg devices.
2000-12-22 13:33:57 +00:00
ad
024d36d353 - Fix bugs, make this useful.
- Add ioctls to start and stop the co-processor (if present).
2000-12-22 13:30:32 +00:00
msaitoh
bb44231698 fix a range check for 12bit PC relative access 2000-12-22 12:06:27 +00:00
mrg
67312df72f de-__P()-ify 2000-12-22 11:38:42 +00:00
fvdl
1a09a359eb Add SIOCGIFBR and SIOCSIFBR (more for reference than anything, currently). 2000-12-22 11:24:43 +00:00