Commit Graph

73979 Commits

Author SHA1 Message Date
jdolecek c490f5c6a1 update commented out code to recent changes of signal structures 2000-12-27 22:06:07 +00:00
fvdl 7fbbc11d9c Regen. 2000-12-27 22:04:35 +00:00
fvdl 7cd004ead8 Add all uid and gid calls, and do the right thing for the older 16 bit
ones.
2000-12-27 22:04:05 +00:00
fvdl 41e840d9c7 Regen. 2000-12-27 22:03:10 +00:00
fvdl 11156e7e47 Add all uid and gid calls, and do the right thing for the older 16 bit
ones.
2000-12-27 22:02:41 +00:00
jdolecek 7ec49a1f35 update commented out code to recent changes of signal structures 2000-12-27 22:01:43 +00:00
fvdl 62af6738b1 Use CHECK_ALT_* for chown and lchown, missed in my previous commit.
Get *id16 calls right; most can be passed through directly, but
some need the 16->32 check for -1 values.
2000-12-27 22:01:42 +00:00
jdolecek c6a69abc26 adapt to recent changes of signal structures 2000-12-27 21:58:52 +00:00
bjh21 9822871467 Add a special call to uvm_page_physload to register RISC OS's zero page as
free at startup.
2000-12-27 20:43:44 +00:00
jdolecek f334b7ef55 make sure that elf_mod_sizes() uses data_hole size aligned to section alignment
this fixes a problem where elf_mod_sizes() would report size which would
be different (smaller) that the actual size of LKM code to be loaded in some
cases

Reviewed by: Johan Danielsson
2000-12-27 20:29:36 +00:00
jlam d6ced75307 Change
"program used to trip installed binaries"
to
	"program used to strip installed binaries"
2000-12-27 18:56:21 +00:00
bjh21 1b364c5082 pmap_confess() is unused and doesn't work any more. G/C it. 2000-12-27 18:38:50 +00:00
bjh21 c481cdca92 Overhaul of data-abort handling:
- Make data_abort_address() return the whole affected range, rather than
   just one end.
 - Don't rely on pmap_confess().  Instead, for LDM/STM, behave as if two faults
   had occurred, one at each end of the range.
 - Separate out fault handling into do_fault(), and call it from
   data_abort_handler() (twice) and prefetch_abort_handler().
2000-12-27 18:35:18 +00:00
bjh21 58e80f030f Two batches of changes:
1: Cleanup of syscall() -- treat the arguments as an array of register_t
   throughout.  This saves a few casts, and generally makes seeing what's
   going on easier.
2: Be a little more careful in the handling of data aborts on kernel
   addresses: don't use the kernel's map unless the access was actually from
   a kernel mode.  This is how the arm32 data abort handler behaves.
2000-12-27 16:57:09 +00:00
bjh21 186792c5b7 Use KASSERT for simple assertions. 2000-12-27 16:50:12 +00:00
bjh21 47d4a4d009 Extra diagnostic assertion: subtle pmap bugs can ultimately lead to trying
to use NULL credentials for NFS ops, so spot them before we dereference them.
2000-12-27 16:35:37 +00:00
tsutsui 59fcebab05 Regen. (Fix Acard UDMA IDE) 2000-12-27 15:36:42 +00:00
tsutsui 72347b9f8b Fix entries of Acard UDMA IDE controllers. 2000-12-27 15:32:33 +00:00
bjh21 2433e71e6e Medium-sized pmap overhaul:
- Use UVMHIST for debugging messages, rather than printf
 - Rely on the caller of pmap_enter to tell us how to manipulate referenced/
   modified bits in the kernel pmap.
   [ Suggested by chs -- may need work on the rest of the kernel. ]
 - Split third-stage initialisation out of pmap_create() into pmap_init2().
 - Bug fix: when relocating pv_table, fix up all references to it as well.
 - Bug fix: in pv_release(), if pulling up a pv_entry to the head of the
   list, correct the reference from its pmap.
2000-12-27 15:16:04 +00:00
msaitoh 3fbb403b7d fix two bugs.
gcc original rev. 1.89:
	* combine.c (if_then_else_cond): If comparing against zero,
	just return thing being compared.

gcc original rev. 1.132:
	* combine.c (combine_simplify_rtx): Don't create an if_then_else
	unless both args are general_operand.
2000-12-27 13:32:09 +00:00
msaitoh 67a8732011 fix a bug from gcc original rev. 1.82
(jump_optimize_1): More accurately detect casesi insns.
2000-12-27 13:25:52 +00:00
msaitoh b2f875eeff apply some fixes from egcs-current
rtlanal.c	gcc original rev. 1.22
rtl.h		rev. 1.67
jump.c		rev. 1.47
	* rtlanal.c (regs_set_between_p): New function.
	* rtl.h (regs_set_between_p): Prototype it.
	* jump.c (jump_optimize): Use it instead of modified_between_p
	in the Sep 2 change.

fixes PR#11696
2000-12-27 13:23:59 +00:00
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