Commit Graph

99358 Commits

Author SHA1 Message Date
yamt cd7f302646 s/resolved_name/resolvedname/g
s/resolved_path/resolvedname/g
2002-07-06 02:46:41 +00:00
perseant eaa565b571 Changed size of struct inode; bump version to 1.6D. 2002-07-06 01:31:32 +00:00
perseant 32ae84b188 Deal with fragment size changes better. For each fragment that can
exist on an on-disk inode, we keep a record of its size in struct inode,
which is updated when we write the block to disk.  The cleaner routines
thus have ready access to what size is the correct size for this block,
on disk.

Fixed a related bug: if a file with fragments is being cleaned
(fragments being cleaned) at the same time it is being extended beyond
NDADDR blocks, we could write a bogus FINFO record that has a frag in the
middle; when it was cleaned this would give back bogus file data.  Don't
write the indirect blocks in this case, since there is no need.

lfs_fragextend and lfs_truncate no longer require the seglock, but instead
take a shared lock, which the seglock locks exclusively.
2002-07-06 01:30:11 +00:00
wiz 3a0b8f6e80 de-__P(), ANSIfy. 2002-07-06 01:00:15 +00:00
wiz 559abfe369 de__P(), ANSIfy. 2002-07-06 00:56:32 +00:00
wiz d532b687e7 de-__P(), ANSIfy. 2002-07-06 00:55:29 +00:00
wiz cfa755ae92 de__P, ANSIfy. 2002-07-06 00:53:54 +00:00
wiz 5250421372 de-__P(), ANSIfy. 2002-07-06 00:47:55 +00:00
wiz 8891dbdc2d ANSIfy, de-__P(), and remove unused SIG_PF define. 2002-07-06 00:46:12 +00:00
wiz 15badb287b ANSIfy (overlooked some...) 2002-07-06 00:42:27 +00:00
wiz 1de018550a Actually, SIG_PF isn't needed in this file at all -- remove it. 2002-07-06 00:31:07 +00:00
wiz af4c38b82e Use .Aq instead of \*[Lt]...\*[Gt] in two places. End sentence with a dot. 2002-07-06 00:21:14 +00:00
wiz ce6c985b9d De-__P(), ANSIfy the one function that wasn't, and unifdef __STDC__. 2002-07-06 00:18:48 +00:00
gmcgarry 44e6549da3 Invert test of EPASSTHROUGH. Problem reported by
Bernd Sieker <bsieker@freenet.de>.
2002-07-05 23:43:28 +00:00
matt 685778b53b Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop.  Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
2002-07-05 18:45:15 +00:00
mason bcf83ebf70 fix typo 2002-07-05 18:33:20 +00:00
fvdl 8b6c180747 Previous commit left a piece of old code in that would leak top-level
PTPs; remove it.
2002-07-05 16:52:39 +00:00
itojun 7bc4971b7c space at EOL 2002-07-05 15:49:11 +00:00
itojun 015b8e640f WARNS=2 clean 2002-07-05 15:47:43 +00:00
itojun d87c9ab19e $NetBSD$ and copyright boilerplate 2002-07-05 15:46:21 +00:00
itojun 0e227d8095 regress test for getaddrinfo/getnameinfo. 2002-07-05 15:42:41 +00:00
tsutsui 0fe49daba1 Add keydescs for swapctrlcaps, and clean up formating. 2002-07-05 14:29:06 +00:00
enami c7d782764a Add an entry for Avlab Technology, Inc. Low Profile PCI 4 Serial (in Japan,
sold by Kuroutoshikou as SERIAL4P-LPPCI.)
2002-07-05 14:10:32 +00:00
scw 8324df7cf0 Sync the ktrsyscall() arguments with -current reality. 2002-07-05 14:05:58 +00:00
scw 63fd77b84b Sync the sendsig() argument list with -current reality. 2002-07-05 14:04:00 +00:00
enami 76899eae10 Regen. 2002-07-05 14:03:33 +00:00
scw 8aecaeac04 Roll our own CWARNFLAGS. There are some things in MI code which the
SuperH version of gcc barfs over.
2002-07-05 14:02:31 +00:00
enami d2235ed345 Add vendor id of Avlab technology, Inc. and product id of Low Profile PCI
4 Serial (but not used actually).
2002-07-05 13:59:14 +00:00
joda d1acc508df add a couple of Analog device names 2002-07-05 13:50:47 +00:00
scw 881a4dcac0 Cast pointers first to uintptr_t before casting to register_t.
On SH-5, sizeof(register_t) is always 8, even if sizeof(void *) is 4
as is the case when compiling for ILP32.
2002-07-05 13:49:26 +00:00
abs eb73becae2 Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +00:00
scw ad8fdcc166 Forgot these in the last commit. 2002-07-05 13:32:58 +00:00
scw 59474a8c82 NetBSD, meet the SH-5 cpu.
SH-5, meet NetBSD.

Let's hope this is the start of a long and fruitful relationship. :-)

This code, funded by Wasabi Systems, adds initial support for the
Hitachi SuperH(tm) SH-5 cpu architecture to NetBSD.

At the present time, NetBSD/evbsh5 only runs on a SH-5 core simulator
which has no simulated devices other than a simple console. However, it
is good enough to get to the "root device: " prompt.

Device driver support for Real SH-5 Hardware is in place, particularly for
supporting the up-coming Cayman evaluation board, and should be quite
easy to get running when the hardware is available.

There is no in-tree toolchain for this port at this time. Gcc-current has
rudimentary SH-5 support but it is known to be buggy. A working toolchain
was obtained from SuperH to facilitate this port. Gcc-current will be
fixed in due course.

The SH-5 architecture is fully 64-bit capable, although NetBSD/evbsh5 has
currently only been tested in 32-bit mode. It is bi-endian, via a boot-
time option and it also has an "SHcompact" mode in which it will execute
SH-[34] user-land instructions.

For more information on the SH-5, see www.superh.com. Suffice to say it
is *not* just another respin of the SH-[34].
2002-07-05 13:31:28 +00:00
abs d38d8c6c75 Regen from GENERIC.in 1.2:
Only difference is that INSTALL now defines VNODE_OP_NOINLINE and MALLOC_NOLINE
2002-07-05 13:27:59 +00:00
abs a98e1ff5cc Ensure INSTALL media has PIPE_SOCKETPAIR, MALLOC_NOINLINE and VNODE_OP_NOINLINE 2002-07-05 13:18:21 +00:00
abs 7be2718ed4 Use MALLOC_NOINLINE (saves 11K on FOURMEG) 2002-07-05 13:06:45 +00:00
abs f20c5099f6 Introduce MALLOC_NOINLINE, which mirrors the effect of DIAGNOSTIC
and similar in making MALLOC/FREE not inline. Saves 11k on acorn26
FOURMEG config.
2002-07-05 13:05:14 +00:00
wiz c065268e41 Nitpicks in last. 2002-07-05 10:46:44 +00:00
gmcgarry 88d8a7dd2f Protect local variables in MALLOC/FREE to avoid shadowing
arguments.  Problem reported by David Laight: david@l8s.co.uk.
2002-07-05 06:54:45 +00:00
nathanw b15d37b9dc Note that these functions must be called with the scheduler lock held. 2002-07-05 04:03:15 +00:00
nathanw fefd2b4a29 Remove ess at isa. 2002-07-05 04:02:14 +00:00
lukem b8e7104984 be consistent about how va_[acm]time is set to the current time
(inspired by how procfs does it)
2002-07-05 03:24:06 +00:00
lukem 20657af5c3 set vap->va_ctime to vap->va_atime (the current time),
rather than vap->va_ctime (which is a no-op).
2002-07-05 02:02:00 +00:00
thorpej 6a5e35f6cc Return 0, not NULL, when we mean 0. 2002-07-05 00:16:26 +00:00
thorpej a08a4aecac Regenerate: Added __sigaction_sigtramp at #340. 2002-07-04 23:34:28 +00:00
thorpej 011d4d5f44 Add kernel support for having userland provide the signal trampoline:
* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.
2002-07-04 23:32:02 +00:00
itojun 44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
lukem 62e9bafd31 use cdev_mouse_init() for wsmux 2002-07-04 23:24:43 +00:00
itojun b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
thorpej 00e59f25b7 Eliminate two unused sigframe members. 2002-07-04 21:33:43 +00:00