Commit Graph

74007 Commits

Author SHA1 Message Date
sato
6276ccbc58 - rewrite codes using new CONFIG_HOOK_SET. 2000-12-27 12:22:07 +00:00
sato
4b9ae225e0 -rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT. 2000-12-27 12:10:05 +00:00
sato
dc6a141444 - rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT. 2000-12-27 12:08:03 +00:00
sato
22b3467f71 - merge CONFIG_HOOK_OUT and CONFIG_HOOK_SET and CONFIG_HOOK_POWERCONTROL
to CONFIG_HOOK_SET.
- merge CONFIG_HOOK_GET and CONFIG_HOOK_GETPOWER to CONFIG_HOOK_GET.
- merge CONFIG_HOOK_EVENT and CONFIG_HOOK_BUTTONEVENT to CONFIG_HOOK_ENENT.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET always have
  msg argument as pointer.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET use
  same event ids.
- CONFIG_HOOK_POWERCONTROL and CONFIG_HOOK_BUTTONEVENT still exist.
  i shall rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:04:02 +00:00
sato
4e15bd1d3a add Novac PCMCIA-IDE Card(Card for HD530P PCMCIA-IDE Box).
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'PnPIDE'.
2000-12-27 10:41:00 +00:00
kleink
dc6c0aa842 Make __restrict actually DTRT for non-C99 GCC >= 2.92. 2000-12-27 10:05:22 +00:00
chs
89b005fc27 when we fail to allocate anons to represent new swap space,
just return an error rather than panicing.
2000-12-27 09:17:04 +00:00
chs
910b4f2e20 fix some types so that files larger than 4GB work. 2000-12-27 09:01:45 +00:00
castor
a099ff1f75 Preserve the status register process_write_regs() to avoid confusion
about the current floating point context.
2000-12-27 08:28:12 +00:00
mrg
24939a4846 don't use -Os on sparc64, it causes a ICE in gcc 2.95.2. 2000-12-27 08:12:01 +00:00
sato
0ebc2f12c2 fix typo. 2000-12-27 07:52:00 +00:00
chs
4e7404469d fix several bugs:
- fix math when skipping writing pages that just need a commit.
 - clear the needcommit stuff and PG_RDONLY flags on pages returned for
   overwrite requests as well as for normal write faults.
 - bail out of nfs_write() if we get an error.
 - remove a bogus attempt to clean up after failed uiomove()s.
 - bring over a workaround for a lock-ordering problem from the genfs code.
 - add some missing MP locking.
2000-12-27 05:15:43 +00:00
chs
68b98ea45f several bugs:
- in genfs_getpages() don't start read-ahead if we get an error on the
   sync read, and always start read-ahead after the range of the sync read
   if we do any at all.
 - off-by-one error in genfs_size().
2000-12-27 04:47:43 +00:00
chs
de569051ad VOP_GETPAGES() returns an E* error code, not a VM_PAGER_* error code. 2000-12-27 04:44:42 +00:00
lukem
fbace08ced change behaviour of flags slightly:
-w	write in-core label if changed
-r	update on-disk as well as in-core label (with -w)
-f	force update (-w), even if there's been no change

-r behaviour suggested by matt green. what used to be `-f' is now `-wrf'
2000-12-27 04:22:11 +00:00
augustss
bd1b9290e5 Regen. 2000-12-27 04:16:19 +00:00
augustss
96a684549d Add a VIA chipset and Nvidia GeForce2 MX. 2000-12-27 04:15:53 +00:00
itojun
762873adfc re-enable citrus (rune)locale support.
XXX please clean and recompile libc if you get this revision.  UPDATE=yes
may leave obsolete *.o.
2000-12-27 00:57:03 +00:00
augustss
79431d7824 Simplify case statement a tiny bit. 2000-12-26 23:54:34 +00:00
bjh21
ce3cd11d08 Unreasonably simple fix for PR#11817: Don't worry about duplicate mappings,
just get pmap_fault to shove them back in.  Crude, but effective.  Fix inspired
by Chuck Silvers.

This breaks pmap_confess, but it probably deserves to die.
2000-12-26 23:18:50 +00:00
bjh21
939baa9f0d Follow the herd: Use the MI md_root.c. 2000-12-26 19:55:52 +00:00
itojun
107490d839 netbsd has strlcpy/strlcat 2000-12-26 13:11:20 +00:00
itojun
eda42ff066 canonicalize ipv6 address before reverse lookup.
From: Ingolf Steinbach <ingolf@jellonet.de>

XXX normally we should not perform reverse lookup for linklocals.
we should really rewrite sendmail to use getaddrinfo/getnameinfo.
2000-12-26 13:08:39 +00:00
hubertf
1aecee892f Add WSCOMPAT_USL_SYNCTIMEOUT, WS_KERNEL_MONOATTR, WS_KERNEL_COLATTR
to synopsis. Partly by Dominik Rothert <dr@astorit.com>.
2000-12-26 13:02:18 +00:00
itojun
efa2b7073c make mbstate_t bigger (32 -> 128 bytes).
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare).  really sorry
for the mess.
2000-12-26 10:35:28 +00:00
mycroft
a6fe4b78f2 Um, we need rnd.h so that cs_softc is defined properly. Overrunning structures
is bad.
NOTE: #IFDEF IN SOFTC DEFINITIONS IS BAD.
2000-12-26 09:42:21 +00:00
dbj
e992baf394 fix logic error in bus_dmamap_sync that was preventing from flush/purging
full pages instead of only by cache lines
2000-12-26 07:27:01 +00:00
itojun
b0a406db08 arg mistake to memset 2000-12-26 06:12:09 +00:00
itohy
811fede455 Regen. 2000-12-26 01:57:57 +00:00
itohy
4aee4579ba Declare linux_sys_setgid16() (NOARGS -> STD).
Change syscall #182 from linux_sys_lchown() to linux_sys_lchown16().
2000-12-26 01:57:10 +00:00
jhawk
6f1ea9f65f Fixup comments to account for --{,no-}whole-archive changes. 2000-12-26 01:29:03 +00:00
itojun
8e1213a45e convert old style LC_CTYPE ctype table into runelocale table 2000-12-26 00:34:49 +00:00
itojun
6ddc3c8680 read in tolower/ctype table. do not mixup toupper/tolower. 2000-12-26 00:30:51 +00:00
itojun
713f7a31e1 libc has strlcat/tpy 2000-12-25 23:59:07 +00:00
itojun
f7a43f545d strlcpy/cat is in libc 2000-12-25 23:53:25 +00:00
itojun
bb629fd1e5 byte default, use (non-citrus) singlebyte locale. if we compile
ld.elf_so with citrus locale, it bombs.
XXX this is shortterm workaround.  if you are willing to test citrus locale,
use RUNE=yes in libc/locale/Makefile.inc.
2000-12-25 23:30:58 +00:00
itojun
c9d6668ebc run eqn. PR 11814 2000-12-25 22:39:21 +00:00
sato
e05cd448e3 make compilable for HPCFB_JUMP codes. 2000-12-25 10:27:28 +00:00
sato
45b32e79e8 * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
2000-12-25 10:09:31 +00:00
itojun
67819708f5 indentation 2000-12-25 09:25:15 +00:00
nisimura
752dce24ae - fix typos in mips_user_cacheflush() and mips_user_cachectl().
- relocate those function declarations from include/pmap.h.
2000-12-25 08:56:12 +00:00
tsubai
3102ae2c25 Work around of "trap type 700 at ff8099b8".
It seems to work for me but I'm not sure...
2000-12-25 02:15:52 +00:00
wiz
32e20d8993 Back out previous change. It causes NAT to fail, and was CLEARLY
NOT TESTED before it was committed.
2000-12-25 02:00:46 +00:00
itojun
eeed3beffb return _INVALID_RUNE if wchar_t > 0xff, on sgetrune. 2000-12-25 01:39:48 +00:00
jmc
5b7fb2728a Back out changes from 1.124 since the additions of *ports.master=-1 wasn't
documented as to why it was added in and it breaks the ability to set the
gain on playback. A longer term fix to set these correctly should be done but
none of the drivers today are doing this and not being able to set the playback
volume otherwise is a bit silly.
2000-12-25 00:01:39 +00:00
jmc
ca607b87cf Default lock_printf to syslog rather than printf. Some of the lock debug checks
are done inside of wakeup which is holding the sched lock. Printf can cause
wakeup to get called again (pty redirection of console message) which will
panic with sched lock already held.

This isn't a long term fix as not being able to printf vs. sched lock should
be cleaned up better but this avoids continual panics with lockdebug running
and an xterm -C.
2000-12-24 23:56:24 +00:00
jmc
6e076acf2e Add var/spool/lock so tip works 2000-12-24 23:50:48 +00:00
jmc
b4f129a4ea Update to 69 with the inclusion of the wmem* stuff in string. (shl.mi had
already been updated in sets but this got missed somehow..)
2000-12-24 23:36:51 +00:00
itojun
37fc5e01b9 fix LC_ALL behavior again... 2000-12-24 22:24:04 +00:00
lukem
a9dd32dbb7 more rewording
- mbrlabel updates the disklabel; it doesn't generate it
- it doesn't just affect the incore label, so remove the `incore' qualifier
2000-12-24 14:01:12 +00:00